ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johan Vromans CPWR <johan.vrom...@nl.compuware.com>
Subject Re: Preset execution environment
Date Thu, 08 Apr 2004 07:48:31 GMT
Jan.Materne@rzf.fin-nrw.de wrote:
> 
> $ ant -Dbuildfile=project.xml mytarget
> 
> build.xml:
> -----------
> <project name="common">
>     <import file=="${buildfile}"/>
>     ...
> </project>

This will become quite problematic when the user wants to use an explicit buildfile

    $ ant -f ../mybuildfile.xml mytarget

or even

    $ ant -s mybuildfile.xml mytarget

We want to avoid wrapper scripts (for ant) since we have multiple platforms to 
maintain. For that reason we would like to do it with ant only. A pre-import 
would make that possible.

-- Johan

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


Mime
View raw message