You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/11/07 22:02:41 UTC
DO NOT REPLY [Bug 24515] New: -
Update of jar file causes multiple class path entries
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