ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Gutierrez <alan-ant-u...@engrm.com>
Subject Re: Import and Macro Warnings
Date Thu, 06 Oct 2005 20:50:54 GMT
* Alan Gutierrez <alan-ant-user@engrm.com> [2005-10-06 15:45]:
> * Alan Gutierrez <alan-ant-user@engrm.com> [2005-10-06 15:22]:
> >     I want to use a set of macros across projects, but when I write
> >     scripts that integrate the builds, I start getting a lot of
> >     warnings, even though the build works fine.
> > 
> >     Duplicated project name in import. Project mix defined first in
> >     /Users/alan/svn/xopen/enfilade/mix/mix.ant.xml and again in
> >     /Users/alan/svn/xopen/xstrategy/mix/mix.ant.xml 
> > 
> >     It's hard to imagine why I'd use the import facility if I can't
> >     share an imported Ant file between projects.
> > 
> >     and
> > 
> >     Trying to override old definition of task sibling-ant
> > 
> >     In this the override doesn't matter because the macro is only
> >     called by the project that's building it's siblings (dependencies) .
> > 
> >     Is there a way to surpress these warnings?
> 
>     I'm looking at the Subversion code and there seems to be an
>     effort to supress the warings with a setIgnoreProject property.
> 
>     I'm not able to trigger this effect, however.

    Figured it out.
    
    Don't add a name attribute to the project if it's a macro file.

--
Alan Gutierrez - alan@engrm.com - http://engrm.com/blogometer/

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


Mime
View raw message