Delivery Manager Tool - Source Code Scan - Warning - Duplicate Entry xxx will be skipped
Purpose (problem description)
This page provides solution to WARNING Duplicate entry ‘
This error can be seen in the scan log. To see the log location, refer the section Possible location for logs of the page : Delivery Manager Tool Component DMT
Observed in CAST AIP
| Release | Yes/No |
|---|---|
| 8.0.x | ❌ |
| 7.3.x, x<4 | ✅ |
| 7.2.x | ✅ |
| 7.0.x | ❌ |
Observed on RDBMS
This section is not applicable for this page(DMT)
| RDBMS | Yes/No |
|---|---|
| Oracle Server | NA |
| Microsoft SQL Server | NA |
| CSS2 | NA |
| CSS1 | NA |
Step by Step scenario
Try to package using DMT
Action Plan
The Delivery Manager Tool fails during the scan step with a Duplicate Entry Warning due to duplicate manifest files within a single JAR file (jdbc.jar file in the example above).
The resolution is to edit the JAR file to remove all the duplicates, leaving just one manifest file.
- Use an archiving tool such as 7-zip to examine and edit JAR files, as JAR files are basically archive type files. 7-zip can be obtained from http://www.7-zip.org/
Notes/comments
This issue is fixed in CAST version 7.3.4
Related Pages