Browse Source

re-generate FAQ

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@688065 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 17 years ago
parent
commit
254ff1913e
1 changed files with 24 additions and 4 deletions
  1. +24
    -4
      docs/faq.html

+ 24
- 4
docs/faq.html View File

@@ -383,6 +383,10 @@
<code>&lt;exec&gt;</code> causes other tasks to hang
or leads to strange behaviour of <code>&lt;input&gt;</code>
tasks.
</a></li>
<li><a href="#javac-stackoverflow">
<code>&lt;javac&gt;</code> causes a
StackOverflowError
</a></li>
<li><a href="#170-requires-junit">
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.</p>
<p>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
<code>&lt;input&gt;</code> tasks requiring additional inputs
if they come after an <code>&lt;exec&gt;</code> task.</p>
process
being <a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=34461">suspended
when a build forking new process is run as a background
process</a> on Unix-like systems or
<code>&lt;input&gt;</code>
tasks <a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=41024">requiring
additional inputs</a> if they come after
an <code>&lt;exec&gt;</code> task.</p>
<p>Fortunately there is a workaround for this, always specify
<code>inputstring=""</code> for
any <code>&lt;exec&gt;</code> task (or one of its sibblings)
if you know the forked process doesn't consume any
input.</p>
<p class="faq">
<a name="javac-stackoverflow"></a>
<code>&lt;javac&gt;</code> causes a
StackOverflowError
</p>
<p>For some Java source files it is possible
that <a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=45370">causes
a StackOverlowError</a> is thrown inside Sun's javac
compiler. As far as we can tell this is not triggered by a
bug in Ant.</p>
<p>It is possible to work around this problem by setting
<code>&lt;javac&gt;</code>'s fork attribute to true.</p>
<p class="faq">
<a name="170-requires-junit"></a>
Ant 1.7.0 doesn't build from sources without
JUnit


Loading…
Cancel
Save