ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject RE: Use properties file and System variables.
Date Thu, 01 May 2003 16:54:04 GMT
Hmm, I would have figured that to be so obvious it
would never work.  :)

-Matt

--- Michael Remijan <Michael.Remijan@solocup.com>
wrote:
> Actually, I figured it out. Put this in the
> build.xml
> 
> 	<property environment="env" />
>     	<property file="ant.properties"/>
> 
> Then put this in the ant.properties file
> 
> 	foo=${env.FOO}
> 
> I've been at a loss with this all morning then
> inpiration hit the moment I clicked the email send
> button.
> 
> Mike
> 
> 
> -----Original Message-----
> From: Matt Benson [mailto:gudnabrsam@yahoo.com]
> Sent: Thursday, May 01, 2003 11:25 AM
> To: Ant Users List
> Subject: Re: Use properties file and System
> variables.
> 
> 
> It probably won't be as clean as you might hope but
> I
> think you could do this with ant-contrib's
> <propertycopy> task.
> 
> -Matt
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

Mime
View raw message