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:24:50 GMT
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

--- Michael Remijan <Michael.Remijan@solocup.com>
wrote:
> Hi,
> 
>   I've got what think is a simple question.  Would
> like to use a properties file but I want to define
> my properties by using system variables.  I can do
> this easily enough inside the build.xml with:
> 
> <property environment="env" />
> <property name="foo" value="${env.FOO}" />
> 
> but how do I do this with a properties file?
> 
> 
> --
> Michael Remijan
> Solo Cup Company
> Information Services Dept.
> Internal Phone: 885-2526
> External Phone: (217) 365-2526
>  
> 
> 
>
---------------------------------------------------------------------
> 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