J2EE Analysis Unit editor - Source Settings tab
This section provides a detailed description of the specific Source Settings tab in the J2EE Analysis Unit editor.
Java tab
Java File Extensions | This section displays a list of the file extensions that are included in the current file filter for your Java code analysis. Only files that match these file extensions will be taken into account during the analysis. |
Java Files | Use this section to include or exclude specific source files for the Analysis Unit for analysis purposes - these are mainly to be used when you are manually creating your Analysis Unit but can also be used if you are modifying an automatically created Analysis Unit.
If this Analysis Unit is automatically defined, then any auto defined entries will be read only. |
Resources tab
XML
You can find out more about XML file handling in XML Configuration Files Handling (J2EE).
XML File Extensions | This section displays a list of the file extensions that are included in the current file filter for the XML files in your analysis. Only files that match these file extensions will be taken into account during the analysis. |
Also use Project Root Path for XML Files | If you select this option, the project root path (i.e. the location of the .project file for the Analysis Unit) will be used as a source for the XML server files. If you wish to add additional source files use the option described below. |
XML Files | Use this section to include or exclude specific source files for the Analysis Unit for analysis purposes.
If this Analysis Unit is automatically defined, then any auto defined entries will be read only. |
Properties
You can find out more about Properties file handling in Properties Files Handling (J2EE).
Also use Project Root Path for for Property Files | If you select this option, the project root path (i.e. the location of the .project file for the Analysis Unit) will be used as a source for the property files. If you wish to add additional source files use the option described below. |
Property Files | Use this section to include or exclude specific source files for the Analysis Unit for analysis purposes.
If this Analysis Unit is automatically defined, then any auto defined entries will be read only. |
Web Application tab
Web Application Root Path | Indicates the folder that is defined as the web application root folder for the Analysis Unit for analysis purposes. The Web Application Root Path is the path to the folder that contains web content files (*.HTML, *.JSP etc.). This field does not need to be populated (i.e. it is optional). If this Analysis Unit has been automatically defined during the "Set as Current Version", then CAST will attempt to populate this field automatically. You can choose a different location (use Browse) if necessary, however, CAST recommends letting the CAST Management Studio handle this. Note that:
|
Web Application Descriptor | Indicates the J2EE application's Web Application Descriptor. By default, CAST will use the Web Application Root Path set above and append \WEB-INF\web.xml. If this is not correct for your application, you can choose a new Application Descriptor. Note that path resolution for the objects defined inside the selected web.xml file (for example tag libraries) is made using the default location of the web.xml file (\WEB-INF folder). |
Web Server Files (JSP)
Web Server File Extensions | This section displays a list of the file extensions that are included in the current file filter for your source code analysis. Only files that match these file extensions will be included in the analysis. |
Also use Application Root Path for Web Server Files | If you select this option, the Application Root Path defined above will be used as a source for the web server files. If you wish to add additional source files use the option described below. |
Files | Use this section to include or exclude specific source files for the Analysis Unit for analysis purposes.
If this Analysis Unit is automatically defined, then any auto defined entries will be read only. |
Web Client Files
Client File Extensions | This section displays a list of the file extensions that are included in the current file filter for your source code analysis. Only files that match these file extensions will be included in the analysis. |
Also use Application Root Path for Web Client Files | If you select this option, the Application Root Path defined above will be used as a source for the web client files. If you wish to add additional source files use the option described below. |
Files | Use this section to include or exclude specific source files for the Analysis Unit for analysis purposes.
If this Analysis Unit is automatically defined, then any auto defined entries will be read only. |