DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24515>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24515

Update of jar file causes multiple class path entries

           Summary: Update of jar file causes multiple class path entries
           Product: Ant
           Version: 1.5.3
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When a jar file is updated with the jar task and a manifest is provided that 
contains a Class-Path attribute, the Class-Path attribute will be duplicated.  
For example the following task, when run initially to create the jar and the 
run again with an updated file:

<jar
        basedir="foo"
        includes="com/**/*.class"
        jarfile="test.jar"
        update="true"
>
        <manifest>
                <attribute name="Class-Path" value="baz.jar"/>
                <attribute name="Specification-Title" value="xx"/>
        </manifest>
</jar>

will result in a manifest that contains three identical Class-Path attributes.  
Some jdk's report a warning on this manifest.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to