diff --git a/docs/faq.html b/docs/faq.html index b52d42735..4ca8174c8 100644 --- a/docs/faq.html +++ b/docs/faq.html @@ -383,6 +383,10 @@ <exec> causes other tasks to hang or leads to strange behaviour of <input> tasks. + +
  • + <javac> causes a + StackOverflowError
  • Ant 1.7.0 doesn't build from sources without @@ -1719,16 +1723,32 @@ public void buildFinished(BuildEvent e) { 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 - <input> tasks requiring additional inputs - if they come after an <exec> task.

    + process + being
    suspended + when a build forking new process is run as a background + process on Unix-like systems or + <input> + tasks requiring + additional inputs if they come after + an <exec> task.

    Fortunately there is a workaround for this, always specify inputstring="" for any <exec> task (or one of its sibblings) if you know the forked process doesn't consume any input.

    + + <javac> causes a + StackOverflowError +

    +

    For some Java source files it is possible + that causes + a StackOverlowError is thrown inside Sun's javac + compiler. As far as we can tell this is not triggered by a + bug in Ant.

    +

    It is possible to work around this problem by setting + <javac>'s fork attribute to true.

    +

    Ant 1.7.0 doesn't build from sources without JUnit