Hi Stefan. Thanks for your reply. I tell what the problem was. It's explained in the second link. Sorry for not be too verbose. I don't understand why you can't update there. So does the (bug) tutorial run fine with Ant latest version? I'm running Ant version 1.8.0
On Mon, Oct 10, 2011 at 6:45 AM, Stefan Bodewig <bode...@apache.org> wrote: > 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 > >