ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Solofnenko <A.Solofne...@mdl.com>
Subject RE: Access to Environment Variables other than ANT_HOME of CLASSP ATH
Date Wed, 19 Mar 2003 22:10:23 GMT
But <property environment> is not very useful, because it is case sensitive
and many environment variables have different case on Windows and on Unix.

- Alexey.

--
{ http://trelony.cjb.net/ } Alexey N. Solofnenko
Pleasant Hill, CA (GMT-8 usually)


-----Original Message-----
From: Sebastien Blanc [mailto:Sebastien.Blanc@alcatel.com] 
Sent: Wednesday, March 19, 2003 2:06 PM
To: Ant Users List
Subject: Re: Access to Environment Variables other than ANT_HOME of
CLASSPATH

<property environment="ejbenv" />

 <fileset dir="${ejbenv.JAVA_HOME}/jre/lib">
         <include name="rt.jar" />
</fileset>

checkout the environment> in doc.
seb.

James Sinnamon wrote:

> Can environment variables be accessed from within a build.xml file?
>
> The FAQs mentioned  ANT_HOME and CLASSPATH, but these seemed
> to only be used for the purposes of getting ant to run.
>
> TIA
>
> Best regards,
>
> James
>
> --
> James Sinnamon
> sinnamon@bigpond.net.au or sinnamon@cs.anu.edu.au
> ph 0412 319669, 02 62842708(h), 02 61258182(w)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org


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

Mime
View raw message