CAST Console - How to manually activate the JEE File Discoverer

This page provides information about manually activating the JEE file discoverer when you do not have a .pom file/.project file present in your source code.

For more information on the AIP Console, refer to:

 

 

Release
Yes/No
1.12.x (tick)
1.11.x (tick)

 

 

 

RDBMS
Yes/No
Oracle Server  N/A
Microsoft SQL Server N/A 
CSS3 N/A
CSS2 N/A 

 

 

This is a limitation in AIP Console. if you do not have a .pom/.project file in your source code, you have to manually activate the JEE file discoverer to analyze the source code.

In order to activate manually, the jeefilediscoverer in Console for a specific node,

  1. Modify the 
    C:\Users\”<The User You Use to Install AIP Console>”\CAST\AipNode /data/code-scanner-config.xml file 
    Sometimes the file “code-scanner-config.xml file “ is located under “C:\<AIP Console Installation folder>\AipNode\data”

    Add the line 
    <discoverer extensionId="com.castsoftware.dmtjeefilediscoverer" dmtId="dmtjeefilediscoverer"
                        fileExtensions=".java" label="Java files per package folder"/>

    in the section:
    <package packageType="delivery.SourceFilesPackage" extractorType="dmtdevfolderextractor.SourceFolderExtractor"> 
  2. Restart the Console
  3. Run the packaging, analysis, and snapshot.

The Analysis units will be discovered as expected. 

 

 

 

 

 

 

Have more questions? Submit a request

Comments

Powered by Zendesk