From 17b08e6f010823253eaf0e7bda075f6b59984ed7 Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Mon, 7 Feb 2005 23:42:21 +0000 Subject: [PATCH] minor doc updates git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277615 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTasks/conditions.html | 3 ++- docs/manual/CoreTasks/exec.html | 28 ++++++++++++--------------- docs/manual/CoreTasks/unzip.html | 6 ++---- 3 files changed, 16 insertions(+), 21 deletions(-) diff --git a/docs/manual/CoreTasks/conditions.html b/docs/manual/CoreTasks/conditions.html index bb1fd1c96..436de5457 100644 --- a/docs/manual/CoreTasks/conditions.html +++ b/docs/manual/CoreTasks/conditions.html @@ -340,7 +340,8 @@ that is "true","yes", or "on"

If the name of the signature is passed, the file is checked for presence of that particular signature; otherwise the file is checked for the - existence of any signature + existence of any signature. It does not perform rigorous + signature validation; it only looks for the presence of a signature.

This condition was added in Apache Ant 1.7. diff --git a/docs/manual/CoreTasks/exec.html b/docs/manual/CoreTasks/exec.html index 13f9573a7..3ea613b92 100644 --- a/docs/manual/CoreTasks/exec.html +++ b/docs/manual/CoreTasks/exec.html @@ -1,4 +1,4 @@ -html> + @@ -236,7 +236,7 @@ or the task will fail as follows: searchpath - When this attribute is true nested, then + When this attribute is true, then system path environment variables will be searched when resolving the location of the executable. since Ant 1.6.3 @@ -312,10 +312,11 @@ is set to false. You can use that to run a program if it exists, bu otherwise do nothing.

What do those error codes mean? Well, they are OS dependent. On Windows -boxes you have to look in include\error.h in your windows compiler or wine files; -error code 2 means 'no such program', which usually means it is not on the path. -Any time you see such an error from any ant task, it is usually not an ant bug, -but some configuration problem on your machine. +boxes you have to look at + +the documentation; error code 2 means 'no such program', which usually means +it is not on the path. Any time you see such an error from any Ant task, it is +usually not an Ant bug, but some configuration problem on your machine.

Examples

@@ -335,7 +336,7 @@ but some configuration problem on your machine.
 system command.

-<property name="browser" location="C:/Programme/Internet Explorer/iexplore.exe"/>
+<property name="browser" location="C:/Program Files/Internet Explorer/iexplore.exe"/>
 <property name="file" location="ant/docs/manual/index.html"/>
 
 <exec executable="${browser}" spawn="true">
@@ -343,7 +344,7 @@ system command.

</exec>

Starts the ${browser} with the specified ${file} and end the -ant process. The browser will let be open.

+Ant process. The browser will remain.

 <exec executable="cat">
@@ -367,14 +368,9 @@ in a property of the same name.  Similarly, error output is sent to
 a file and a property, both named "redirector.err".
 
 
-

Note: Although it may work for you to specify arguments using -a simple arg-element and separate them by spaces it may fail if you switch to -a newer version of the JDK. JDK < 1.2 will pass these as separate arguments -to the program you are calling, JDK >= 1.2 will pass them as a single -argument and cause most calls to fail.

-

Note2: If you are using Ant on Windows and a new DOS-Window pops up -for every command which is executed this may be a problem of the JDK you are using. -This problem may occur with all JDK's < 1.2.

+

Note: do not try to specify arguments using +a simple arg-element and separate them by spaces. This results in +only a single argument containing the entire string.

Timeouts: If a timeout is specified, when it is reached the sub process is killed and a message printed to the log. The return diff --git a/docs/manual/CoreTasks/unzip.html b/docs/manual/CoreTasks/unzip.html index 8f9bbfe9a..cc85f2868 100644 --- a/docs/manual/CoreTasks/unzip.html +++ b/docs/manual/CoreTasks/unzip.html @@ -9,9 +9,7 @@

Unjar/Untar/Unwar/Unzip

Description

-

Unzips a zip-, war-, tar- or jarfile.

-

For JDK 1.1 "last modified time" field is set to current time instead of being -carried from the archive file.

+

Unzips a zip-, war-, or jar file.

PatternSets are used to select files to extract from the archive. If no patternset is used, all files are extracted.

@@ -116,7 +114,7 @@ to perform unarchival upon.


-

Copyright © 2000-2004 The Apache Software Foundation. All rights +

Copyright © 2000-2005 The Apache Software Foundation. All rights Reserved.