ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: Preset execution environment
Date Tue, 20 Apr 2004 15:29:22 GMT
--- Johan Vromans CPWR
<johan.vromans@nl.compuware.com> wrote:
> I cloned ProjectHelper2.java and modified it to
> perform the 'floating import' 
> when it completes parsing the top-level build file
> (just before running the top 
> level's implicit target). The modified ProjectHelper
> can be selected with the 
> org.apache.tools.ant.ProjectHelper property, and an
> additional property controls 
> the name of the pre-import file. No changes to ant
> necessary, just one 
> additional class.

What if you wanted >1 pre-import file?  Maybe a
path-like string could be handled...

> 
> The greatest advantage is that for production I need
> only change a couple of 
> ant.sh / ant.bat scripts, instead of 100s of
> individual build.xml files.
> 

Why must you modify the scripts?  You should be able
to specify extra properties in the ANT_OPTS
environment variable.

-Matt


	
		
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25
http://photos.yahoo.com/ph/print_splash

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


Mime
View raw message