AIP Console - Information - How to manually activate the JEE File Discoverer

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:

CAST Component Version


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


Applicable RDBMS
RDBMS
Yes/No
Oracle Server N/A
Microsoft SQL ServerN/A 
CSS3N/A
CSS2N/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,

  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. 

Notes/comments


Related Pages