sbailliez 2002/06/26 15:31:49 Modified: . Tag: ANT_15_BRANCH build.xml Log: Name denoting a package in a manifest must finish with a forward slash to distinguish it from a filename. I could not find any mention of this in the manifest format: http://java.sun.com/products/jdk/1.2/docs/guide/jar/manifest.html But there is a unclear little mention in the tutorial: http://java.sun.com/docs/books/tutorial/jar/basics/manifest.html Indeed Package.getPackage() does work only with a trailing forward slash. Revision Changes Path No revision No revision 1.304.2.20 +2 -2 jakarta-ant/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-ant/build.xml,v retrieving revision 1.304.2.19 retrieving revision 1.304.2.20 diff -u -r1.304.2.19 -r1.304.2.20 --- build.xml 25 Jun 2002 11:16:03 -0000 1.304.2.19 +++ build.xml 26 Jun 2002 22:31:48 -0000 1.304.2.20 @@ -655,7 +655,7 @@ <metainf dir="${build.dir}" includes="LICENSE.txt"/> <manifest> - <section name="${ant.package}"> + <section name="${ant.package}/"> <attribute name="Extension-name" value="org.apache.tools.ant" /> <attribute name="Specification-Title" @@ -695,7 +695,7 @@ <metainf dir="${build.dir}" includes="LICENSE.txt"/> <manifest> - <section name="${optional.package}"> + <section name="${optional.package}/"> <attribute name="Extension-name" value="org.apache.tools.ant.taskdefs.optional" /> <attribute name="Specification-Title"
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
