From 63363f91c8fc49f6b46adefab32b1f50c0c7c3ce Mon Sep 17 00:00:00 2001
From: Stefan Bodewig
Unzips a zip- or jarfile.
For JDK 1.1 "last modified time" field is set to current time instead of being carried from zipfile.
+File permissions will not be restored on extracted files.
DEPRECATION: the expand task simply points to the unzip task and it's there for back compatibility reasons.
Jars a set of files.
The basedir attribute is the reference directory from where to jar.
+Note that file permissions will not be stored in the resulting jarfile.
It is possible to refine the set of files that are being jarred. This can be done with the includes, includesfile, excludes, excludesfile and defaultexcludes attributes. With the includes or includesfile attribute you specify the files you want to @@ -3164,6 +3166,7 @@ carried from tarfile.
Creates a zipfile.
The basedir attribute is the reference directory from where to zip.
+Note that file permissions will not be stored in the resulting zipfile.
It is possible to refine the set of files that are being zipped. This can be done with the includes, includesfile, excludes, excludesfile and defaultexcludes attributes. With the includes or includesfile attribute you specify the files you want to diff --git a/src/main/org/apache/tools/ant/types/Path.java b/src/main/org/apache/tools/ant/types/Path.java index 61d9ed876..bde927280 100644 --- a/src/main/org/apache/tools/ant/types/Path.java +++ b/src/main/org/apache/tools/ant/types/Path.java @@ -68,18 +68,18 @@ import java.text.StringCharacterIterator; /** * This object represents a path as used by CLASSPATH or PATH * environment variable. - * + *
*
* <sometask>
- *
+ *
- * <somepath>
- * <pathelement location="/path/to/file.jar" />
- * <pathelement path="/path/to/file2.jar:/path/to/class2;/path/to/class3" />
- * <pathelement location="/path/to/file3.jar" />
- * <pathelement location="/path/to/file4.jar" />
- * </somepath>
+ * <somepath>
+ * <pathelement location="/path/to/file.jar" />
+ * <pathelement path="/path/to/file2.jar:/path/to/class2;/path/to/class3" />
+ * <pathelement location="/path/to/file3.jar" />
+ * <pathelement location="/path/to/file4.jar" />
+ * </somepath>
* </sometask>
*
* The object implemention sometask
must provide a method called
* createSomepath
which returns an instance of Path
.
* Nested path definitions are handled by the Path object and must be labeled