From 63363f91c8fc49f6b46adefab32b1f50c0c7c3ce Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Thu, 3 Aug 2000 09:00:39 +0000 Subject: [PATCH] Some documentation patches. Submitted by: Barrie Treloar , Jesse Glick git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267876 13f79535-47bb-0310-9956-ffa450edef68 --- docs/index.html | 3 +++ src/main/org/apache/tools/ant/types/Path.java | 16 ++++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/docs/index.html b/docs/index.html index 1d64bdeb6..dd16c719e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1158,6 +1158,7 @@ systems.

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.

Parameters

@@ -1589,6 +1590,7 @@ subdir is a directory).

Description

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.

Description

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