Purpose
This page provides information on how to manually activate 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:
- Official documentation for AIP Console:
CAST Component Version
Release | Yes/No |
---|---|
1.12.x | |
1.11.x |
Applicable RDBMS
RDBMS | Yes/No |
---|---|
Oracle Server | N/A |
Microsoft SQL Server | N/A |
CSS3 | N/A |
CSS2 | N/A |
Details
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,
- 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"> - Restart the Console
- Run the packaging, analysis, and snapshot.
The Analysis units will be discovered as expected.
Notes/comments
Related Pages