ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24515] New: - Update of jar file causes multiple class path entries
Date Fri, 07 Nov 2003 21:02:41 GMT
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: dev@ant.apache.org
        ReportedBy: clyde.gerber@lawson.com


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message