ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leandro Coutinho <lescoutinh...@gmail.com>
Subject Re: bug Hello World tutorial. Integration with JUnit
Date Mon, 10 Oct 2011 11:12:54 GMT
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 <bodewig@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-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message