diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index f83fbb10a..4fbc7a2fb 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -112,6 +112,7 @@ Emmanuel Bourg
Eric Barboni
Eric Olsen
Eric Pugh
+Erik Costlow
Erik Hatcher
Erik Langenbach
Erik Meade
diff --git a/contributors.xml b/contributors.xml
index 079cb2dc5..cd422aebf 100644
--- a/contributors.xml
+++ b/contributors.xml
@@ -471,6 +471,10 @@
If the manifest is omitted, a simple one will be supplied by Apache Ant.
The update
parameter controls what happens if the JAR
file already exists. When set to yes
, the JAR file is
@@ -59,6 +58,8 @@ 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.
If the manifest is omitted, a simple one will be supplied by Apache Ant.
+The whenmanifestonly
parameter controls what happens when no
files, apart from the manifest file, or nested services, match.
If skip
, the JAR is not created and a warning is issued.
@@ -73,12 +74,12 @@ attribute of a zipfileset in a Zip task. The one difference is that if the
include an empty one for you.)
Manifests are processed by the Jar task according to the -Jar file specification. +Jar file specification. Note in particular that this may result in manifest lines greater than 72 bytes being wrapped and continued on the next line.
The Jar task checks whether you specified package information according to the - + versioning specification.
Please note that the zip format allows multiple files of the same
@@ -87,6 +88,8 @@ documented as causing various problems for unsuspecting users. If you wish
to avoid this behavior you must set the duplicate
attribute
to a value other than its default, "add"
.
To cryptographically sign your JAR file, use the SignJar task on the JAR that you create from this task.
+index | whether to create an index
+ HREF="http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jar.html#JAR_Index">index
list to speed up classloading. This is a JDK 1.3+ specific
feature. Unless you specify additional jars with nested indexjars elements, only the
@@ -211,7 +214,7 @@ to a value other than its default, "add" .
false.Sun's jar implementation used to skip the META-INF directory and Ant followed that example. The behavior has been changed with - Java + Java 5. In order to avoid problems with Ant generated jars on Java 1.4 or earlier Ant will not include META-INF unless explicitly asked to. @@ -391,8 +394,8 @@ depend on your manifest:
The nested <jar destfile="test.jar" basedir="."> <include name="build"/> <manifest> + <!-- If this is an Applet or Web Start application, include + the proper attributes from http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/index.html --> + <attribute name="Permissions" value="sandbox"/> + <attribute name="Codebase" value="example.com"/> <!-- Who is building this jar? --> <attribute name="Built-By" value="${user.name}"/> <!-- Information about the program itself --> @@ -535,11 +542,13 @@ property ${user.name}. The manifest produced by the above would look like this:diff --git a/manual/Tasks/signjar.html b/manual/Tasks/signjar.html index d73f73f48..0c317f548 100644 --- a/manual/Tasks/signjar.html +++ b/manual/Tasks/signjar.html @@ -26,7 +26,8 @@ |