diff --git a/WHATSNEW b/WHATSNEW index fb4d2e514..0d1fd65b9 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -6,6 +6,14 @@ Changes that could break older environments: * Targets cannot have the empty string as their name any longer. +* ant.jar's manifest does no longer include a Class-Path entry, so it + is no longer possible to run Ant via "java -jar ant.jar" without + manually altering the CLASSPATH. Instead of that a file + ant-bootstrap.jar is included in the etc directory of the binary + distribution, copy this to the lib directory and use + "java -jar ant-bootstrap.jar" instead if you want to run Ant without + the wrapper script (not recommended). + Fixed bugs: ----------- diff --git a/build.xml b/build.xml index e600c4c32..83c9a9e8b 100644 --- a/build.xml +++ b/build.xml @@ -22,6 +22,7 @@ + @@ -737,6 +738,13 @@ + + + + + @@ -764,7 +772,9 @@ - + + + @@ -876,6 +886,9 @@ + + + diff --git a/src/etc/manifest b/src/etc/manifest index 0098f953b..758bc0f0d 100644 --- a/src/etc/manifest +++ b/src/etc/manifest @@ -1,5 +1,4 @@ Manifest-Version: 1.0 Main-Class: org.apache.tools.ant.Main -Class-Path: xml-apis.jar xercesImpl.jar optional.jar xalan.jar diff --git a/src/etc/manifest.bootstrap b/src/etc/manifest.bootstrap new file mode 100644 index 000000000..b663a416a --- /dev/null +++ b/src/etc/manifest.bootstrap @@ -0,0 +1,5 @@ +Manifest-Version: 1.0 +Main-Class: org.apache.tools.ant.Main +Class-Path: ant.jar xml-apis.jar xercesImpl.jar optional.jar xalan.jar + +