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=4683>. 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=4683 The jar task doesn't accept multiple Class-Path Headers Summary: The jar task doesn't accept multiple Class-Path Headers Product: Ant Version: 1.4.1 Platform: PC URL: http://java.sun.com/docs/books/tutorial/ext/basics/downl oad.html OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] With the following contents of ClientClassPath.txt: --------------- Manifest-Version: 1.0 Class-Path: HSDServerAPI.jar HSDServerRMI.jar Class-Path: jaxp.jar jcchartK.jar jcfield450K.jar Class-Path: jcpagelayoutK.jar jctableK.jar jhall.jar --------------- The following jar Task: --------------- <jar jarfile="${dist}/HSDClient.jar" manifest="${deploy}/ClientClassPath.txt"> <fileset dir="${build}" includes="**\crosstrak\client\**"/> <fileset dir="${src}" includes="**\crosstrak\client\*.properties"/> </jar> --------------- I get the following error: --------------- jar-client: [jar] Manifest is invalid: The attribute "Class-Path" may not occur more than once in the same section BUILD FAILED ...\build.xml:160: Invalid Manifest: ...\deploy\ClientClassPath.txt --------------- However sun's java tutorial (see URL above) states that this is valid. "... You can also specify multiple extension URLs by using more than one Class- Path header in the manifest. For example: Class-Path: area.jar Class-Path: servlet.jar " -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
