ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: bug Hello World tutorial. Integration with JUnit
Date Mon, 10 Oct 2011 09:45:16 GMT
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-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message