diff --git a/docs/manual/CoreTasks/jar.html b/docs/manual/CoreTasks/jar.html index dc0a42c0a..29af2e9ea 100644 --- a/docs/manual/CoreTasks/jar.html +++ b/docs/manual/CoreTasks/jar.html @@ -43,11 +43,11 @@ note that ZIP files store file modification times with a granularity of two seconds. If a file is less than two seconds newer than the entry in the archive, Ant will not consider it newer.

-

The whenmanifestonly parameter controls what happens when no +

The whenmanifestonly parameter controls what happens when no files, apart from the manifest file, match. If skip, the JAR is not created and a warning is issued. If fail, the JAR is not created and the build is halted with an error. -If create, (default) an empty JAR file (only containing a manifest) +If create, (default) an empty JAR file (only containing a manifest) is created.

(The Jar task is a shortcut for specifying the manifest file of a JAR file. @@ -230,9 +230,9 @@ If both an inline manifest and an external file are both specified, the manifests are merged.

-

When using inline manifests, the Jar task will check whether the manifest -contents have changed (i.e. the manifest as specified is different in any way -from the manifest that exists in the Jar, if it exists. +

When using inline manifests, the Jar task will check whether the manifest +contents have changed (i.e. the manifest as specified is different in any way +from the manifest that exists in the Jar, if it exists. If the manifest values have changed the jar will be updated or rebuilt, as appropriate.

@@ -314,9 +314,9 @@ produced by the above would look like this:

Manifest-Version: 1.0
 Built-By: conor
-Created-By: Apache Ant 1.5alpha
+Created-By: Apache Ant 1.6.5
 
-Name: common/class1.class
+Name: common/MyClass.class
 Sealed: false

@@ -325,4 +325,3 @@ Reserved.

-