On this page: Target audience: CAST Administrators |
Summary: Information and Release Notes about the JEE Manifest Discoverer 1.0.x for the CAST Delivery Manager Tool. This extension is a file system discoverer. |
This discoverer detects projects based on the presence of "MANIFEST.MF" files.
This extension should be used when the java project files such as .project or pom.xml are not delivered with the source code (without these files, the discoverers provided "out of the box" in the CAST Delivery Manager Tool cannot detect java projects) but there is a "MANIFEST.MF" file present under a META-INF folder.
When the extension is installed, you can choose to activate it or not in each package you create in the CAST Delivery Manager Tool. To do so, click the Package Configuration tab and define the type of projects to discover in the package (refer to the Extension interface paragraph below).
What does the extension identify - i.e. what does it consider as a "project" and therefore an Analysis Unit in the CAST Management Studio? |
A project is created for each parent of META-INF/MANIFEST.MF.
As such, given the following folder structure:
root -folder1 --folder2 ---lib ----file.jar ---META-INF ----MANIFEST.MF ---src ----com -----demo ------class1.java ---test ----com -----demo ------test1.java |
A project "folder2" will be created with a root path of folder1/folder2/META-INF/MANIFEST.MF.
This project references the various java source folders:
If jar files are found inside the project root path, they are added in the references of the project:
Note that even if the extension is activated, NO MANIFEST based project will be identified when the following conditions are true:
|
When upgrading from CAST AIP 7.0.x to a compatible version (see section below), the java projects already discovered in CAST AIP 7.0.x and all previous configuration changes made in the CAST Management Studio will be preserved.
In order to respect this requirement and the project renaming conventions from v7.0.xx, the extension will remove any character from the project name that is not included in the following character set:
01234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.!:/ù^é~#´{[|è_çà@]=}+°$£*µ%§ñõìùòîôûê€ |
CAST AIP release | Supported |
---|---|
8.2.x | |
8.1.x | |
8.0.x | |
7.3.x |
The following table lists all bugs fixed in JEE Manifest Discoverer 1.0.1:
R&D ID | Call ID | Summary |
---|---|---|
DISJMAN-6 | - | Packaging in DMT delivery tool is going on and on even after 2 hours and logs are stuck. |
The following table lists all bugs fixed in JEE Manifest Discoverer 1.0.2:
R&D ID | Call ID | Summary |
---|---|---|
DISJMAN-7 | 2236 | DMT Packaging fails with : Java Heap Space issue |
The following table lists all bugs fixed in JEE Manifest Discoverer 1.0.3:
R&D ID | Call ID | Summary |
---|---|---|
DISJMAN-8 | 3715 | DMT packaging fails | Java.lang.StringIndexOutOfBoundsException:String index out of range: -1 |
The following table lists all bugs fixed in JEE Manifest Discoverer 1.0.4:
R&D ID | Call ID | Summary |
---|---|---|
DISJMAN-26 | 6167 | Analysis Unit doesn't contain the Java Source Folder path in the configuration with DMT extension J2EE Manifest Discovered |
Please see:
|
The following screen shots show the differences in the product when the extension is installed:
Note: please ensure that you exclude projects that correspond to the same source code. |
When you use the CAST Delivery Manager Tool to package the source code, please ensure that you tick the following option in the CAST Delivery Manager Tool to activate the extension:
Note that:
|
Also note that when a MANIFEST project is identified, it will be marked as "ignored" in the Package Content tab once the packaging action is complete (this means that no corresponding Analysis Unit will be created):
To ensure that the project is marked as "selected" in the Package Content tab once the packaging action is complete (therefore also ensuring the automatic creation of an Analysis Unit), please ensure that you untick the "Exclude all empty projects" option in the Package Configuration tab before you run the package action: