From 69c85b93170c641eab967398440deba25739ca33 Mon Sep 17 00:00:00 2001 From: Gintas Grigelionis Date: Sat, 10 Mar 2018 20:42:33 +0100 Subject: [PATCH] Fix a typo and use ampersand as entity --- manual/Tasks/apply.html | 2 +- manual/Tasks/exec.html | 16 ++++++++-------- manual/Tasks/java.html | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/manual/Tasks/apply.html b/manual/Tasks/apply.html index d508c87b4..a6bf5283a 100644 --- a/manual/Tasks/apply.html +++ b/manual/Tasks/apply.html @@ -47,7 +47,7 @@ the input and inputstring attributes.

Running Ant as a background process on Unix(-like) systems

-

If you run Ant as a background process (like ant &) and use +

If you run Ant as a background process (like ant &) and use the <apply> task with spawn set to false, you must provide explicit input to the forked process or Ant will be suspended because it tries to read from the standard input.

diff --git a/manual/Tasks/exec.html b/manual/Tasks/exec.html index 9be18fadc..87e2b3345 100644 --- a/manual/Tasks/exec.html +++ b/manual/Tasks/exec.html @@ -62,13 +62,13 @@ execute the command shell executable cmd using the /c swit </exec> </target> -

A common problem is not having the executable on the PATHcode>. In case you get an -error message Cannot run program "...":CreateProcess error=2. The system cannot -find the path specified. have a look at your PATH variable. Just type the -command directly on the command line and if Windows finds it, Ant should do it too. (Otherwise ask -on the user mailinglist for help.) If Windows can not execute the program, add the directory of the -program to the PATH (set PATH=%PATH%;dirOfProgram) or specify the absolute -path in the executable attribute in your buildfile.

+

A common problem is not having the executable on the PATH. In case you get an error +message Cannot run program "...":CreateProcess error=2. The system cannot find +the path specified. have a look at your PATH variable. Just type the command +directly on the command line and if Windows finds it, Ant should do it too. (Otherwise ask on the +user mailinglist for help.) If Windows can not execute the program, add the directory of the program +to the PATH (set PATH=%PATH%;dirOfProgram) or specify the absolute path in +the executable attribute in your buildfile.

Cygwin Users

The <exec> task will not understand paths such as /bin/sh for @@ -111,7 +111,7 @@ their interpreter specified, i.e., the scripts must start with something like:Running Ant as a background process on Unix(-like) systems -

If you run Ant as a background process (like ant &) and use +

If you run Ant as a background process (like ant &) and use the <exec> task with spawn set to false, you must provide explicit input to the forked process or Ant will be suspended because it tries to read from the standard input.

diff --git a/manual/Tasks/java.html b/manual/Tasks/java.html index 9e59a1747..8c40730a4 100644 --- a/manual/Tasks/java.html +++ b/manual/Tasks/java.html @@ -35,7 +35,7 @@ the input and inputstring attributes.

Running Ant as a background process on Unix(-like) systems

-

If you run Ant as a background process (like ant &) and use +

If you run Ant as a background process (like ant &) and use the <java> task with spawn set to false and fork to true, you must provide explicit input to the forked process or Ant will be suspended because it tries to read from the standard input.