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=24702>. 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=24702 Jar task update creates duplicate Class-Path Summary: Jar task update creates duplicate Class-Path Product: Ant Version: 1.5.4 Platform: All OS/Version: Linux Status: NEW Severity: Major Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I use the following files: build.xml <project default="build"> <target name="build"> <touch file="dummy.txt"/> <jar jarfile="test.jar" manifest="manifest.mf" update="yes"> <fileset dir="${basedir}" includes="dummy.txt"/> </jar> </target> </project> manifest.mf Class-Path: xxx.jar dummy.txt can be any file when i run first time the script new test.jar is created and manifest is correct. Manifest-Version: 1.0 Ant-Version: Apache Ant 1.5.4 Created-By: 1.4.2_02-b03 (Sun Microsystems Inc.) Class-Path: xxx.jar when i run it again (without deleting the test.jar) the manifest is changed to: Manifest-Version: 1.0 Ant-Version: Apache Ant 1.5.4 Created-By: 1.4.2_02-b03 (Sun Microsystems Inc.) Class-Path: xxx.jar Class-Path: xxx.jar Class-Path: xxx.jar in my opinion the Class-Path should not be duplicated and the update functionality is buggy. I also tested it on Windows 2000, ant 1.5.3, sun-jdk 1.4.2-b28 and the result is the same. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]