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
|