On this page:
Target audience:
CAST Administrators
Summary: This document provides technical information about the extension called DMT XML Scanner (com.castsoftware.dmtxmlscanner).
Extension ID
com.castsoftware.dmtxmlscanner
Description
The DMT XML Scanner (com.castsoftware.dmtxmlscanner) extension automatically generates information for the Source Code Delivery report that is available in the CAST Delivery Manager Tool. The extension can be downloaded on its own as a standalone extension and is also shipped and automatically installed with CAST 8.3.x where x ≥ 3.
What does it do
The extension will scan any XML file it encounters during a packaging action (scan phase) in the CAST Delivery Manager Tool and attempts to identify a Document Type Definition (DTD) in the XML file(s). If a valid DTD from a known framework is identified, information about the framework will be provided in the Source Code Delivery report that is available in the CAST Delivery Manager Tool:
Framework support
Method | Example | Notes |
---|---|---|
The URL referenced in the DOCTYPE element. | <?xml version="1.0"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" > <hibernate-mapping> | A list of supported frameworks is included in the following file in the extension: %PROGRAMDATA%\CAST\CAST\Extensions\com.castsoftware.dmtxmlscanner.<version>\TOOLS\Plugins\dmtxmlscanner-<version>\framework_doctypes.config It is possible to modify this file in a text editor and add custom frameworks, using the following format: <framework_name>;<version>;<doctype_url> |
The XMLNS attribute of the first node in the file. | <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | A list of supported frameworks is included in the following file in the extension: %PROGRAMDATA%\CAST\CAST\Extensions\com.castsoftware.dmtxmlscanner.<version>\TOOLS\Plugins\dmtxmlscanner-<version>\framework_xmlnamespaces.config It is possible to modify this file in a text editor and add custom frameworks, using the following format: <framework_name>;<version>;<xml_namespace_url> |
The first XML element in the file if it doesn't have any attributes. | <?xml version="1.0" encoding="UTF-8"?> <project> | A list of supported frameworks is included in the following file in the extension: %PROGRAMDATA%\CAST\CAST\Extensions\com.castsoftware.dmtxmlscanner.<version>\TOOLS\Plugins\dmtxmlscanner-<version>\framework_xmlnodes.config It is possible to modify this file in a text editor and add custom frameworks, using the following format: <framework_name>;<version>;<element> |
CAST AIP compatibility
CAST AIP release | Supported |
---|---|
8.3.x where x ≥ 3 | |
8.2.x | |
8.1.x | |
8.0.x | |
7.3.x |
Supported DBMS servers
This extension is compatible with the following DBMS servers:
CAST AIP release | CSS | Oracle | Microsoft |
---|---|---|---|
All supported releases (see above) |
Prerequisites
An installation of any compatible release of CAST AIP (see table above) |
Download and installation instructions
Please see:
The latest release status of this extension can be seen when downloading it from the CAST Extend server.
Configuration
There is nothing to configure - if the extension is installed then it will be used to generate the list of frameworks in the Source Code Delivery report.