diff --git a/docs/manual/CoreTasks/exec.html b/docs/manual/CoreTasks/exec.html index 071656a8e..88bd86670 100644 --- a/docs/manual/CoreTasks/exec.html +++ b/docs/manual/CoreTasks/exec.html @@ -12,6 +12,13 @@
Executes a system command. When the os attribute is specified, then the command is only executed when Ant is run on one of the specified operating systems.
+ +In general the <exec> task will not userstand paths such as /bin/sh for +the executable parameter. This is because the Java VM in which Ant is running is a +Windows executable and is not aware of Cygwin conventions. +
+- Windows 95 and Windows 98 Note: + Windows 95, Windows 98 & Windows ME Note: | |
On these systems, the script used to launch Ant will have
-problems if ANT_HOME is a long filename. This is due to
+problems if ANT_HOME is a long filename (i.e. a filename which is not
+of the format known as "8.3"). This is due to
limitations in the OS's handling of the "for"
batch-file statement. It is recommended, therefore, that Ant be
-installed in a short path, such as C:\Ant.
+installed in a short, 8.3 path, such as C:\Ant.
+ |
+|
+ |
+ On these systems you will also need to configure more environment
+ space to cater for the environment variables used in the Ant lauch script.
+ To do this, you will need to add or update the following line in
+ the
|
Before you can run ant there is some additional set up you will need to do:
diff --git a/docs/manual/running.html b/docs/manual/running.html index 4886ad3bc..4292fe9e3 100644 --- a/docs/manual/running.html +++ b/docs/manual/running.html @@ -160,6 +160,18 @@ set): to find, even if the file is calledbuild.xml
.
+The Unix launch script that come with Ant works correctly with Cygwin. You +should not have any problems launching Ant form the Cygwin shell. It is important +to note however, that once Ant is runing it is part of the JDK which operates as +a native Windows application. The JDK is not a Cygwin executable, and it therefore +has no knowledge of the Cygwin paths, etc. In particular when using the <exec> +task, executable names such as "/bin/sh" will not work, even though these +work from the Cygwin shell from which Ant was launched. You can use an executable +name such as "sh" and rely on that command being available in the Windows +path. +
+If you have installed Ant in the do-it-yourself way, Ant can be started with:
diff --git a/docs/manual/runninglist.html b/docs/manual/runninglist.html index 62fbf5295..e9ad3ec27 100644 --- a/docs/manual/runninglist.html +++ b/docs/manual/runninglist.html @@ -15,6 +15,7 @@ Options