causes other tasks to hang or leads to strange behaviour of tasks
March 20th, 2009
Applies to:
Ant
Description:
Occurs while using Apache Ant.
Cause:
You have used
tasks.
Applies to:
Ant
Description:
Occurs while using Apache Ant.
Cause:
You have used
tasks.
JAVA-Tools lrm-00118: syntax error at '=' at the end of input
When Ant forks a new process for example by using the, or tasks, it will also start a new thread reading from standard input and sending everything that it has read to that process. task. task (or one of its sibblings) if you know the forked process doesn’t consume any input.
Unfortunately Ant has no way to know whether the forked process is ever going to read any input, so it will start such a thread even if the process doesn’t need one.
This behaviour leads to strange side effects like the Ant process being suspended when a build forking new process is run as a background process on Unix-like systems or
tasks requiring additional inputs if they come after an
Fortunately there is a workaround for this, always specify inputstring=”" for any