On 2011-10-09, Leandro Coutinho wrote:

> http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html

It would have helped if you told us what the problem was 8-)

The build file created during the tutorial relies on some old behavior
of Ant that elements with ids where available to be used with the
classpathref-attribute (and similar constructs) even if they lived in
targets that were not executed.  This behavior has been removed and
we've failed to adapt the tutorial.

This is fixed by extracting the <path> definition with id "application"
from inside the java task to a top-level-element (a sibbling of the path
with id "classpath").

The tutorial has been fixed in svn but the "wrong" version is still
available on the website as we show the manual of the latest release
there.  The fixed version is here:
<http://svn.apache.org/repos/asf/ant/core/trunk/manual/tutorial-HelloWorldWithAnt.html>

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to