ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Louis BOUDART" <jeanlouis.boud...@gmail.com>
Subject Re: EasyAnt <use>/<extends> vs <import>
Date Thu, 13 Nov 2008 10:17:53 GMT
It seems to be related to this test
if (!isInIncludeMode && context.isIgnoringProjectTag()
                && (prefix = getTargetPrefix(context)) != null && !isPhase)
{

But i don't understand why yet :(

Any idea?

2008/11/13 Stefan Bodewig <bodewig@apache.org>

> On 2008-11-13, Jean-Louis BOUDART <jeanlouis.boudart@gmail.com> wrote:
>
> > I'll try to give you details
>
> [snip - removed <import phase since you didn't give the file]
>
> > by typing ant -p i can see
> > org.apache.easyant#build-std-java.compile.iLikeToCompileJavaClasses --> i
> > like to compile java classes :)
> > org.apache.easyant#build-std-java.myPrefix.plop --> foo bar
>
> This is what I get with Ant trunk:
>
> $ ./build.sh -f ../../Temp/u.xml -p
> Buildfile: c:\Temp\u.xml
>
> Main targets:
>
>  compile.iLikeToCompileJavaClasses  i like to compile java classes :)
>  myPrefix.plop                      foo bar
>
> This seems to be what you want, I just don't understand why your
> result may be different.  Could you please do a diff between your
> ImportTask and ProjectHelper2 and Ant's svn trunk?  You must have
> missed/modified some part of trunk that is not related to phases.
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>

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