From 69c85b93170c641eab967398440deba25739ca33 Mon Sep 17 00:00:00 2001
From: Gintas Grigelionis
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.
A common problem is not having the executable on the PATH
code>. 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.
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:
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.
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.