ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@m64.com>
Subject RE: env variables from ant
Date Wed, 25 Oct 2000 12:29:26 GMT
Pete,

As others have said, you need to pass environment variables to ant on
the command line. Nevertheless, there are a number of standard system
properties which are available to ant, including the classpath. Try

      <echo message="Classpath is ${java.class.path}"/>

to see the value.

If you run ant -debug (or ant -verbose in ant 1.1) you will see the
various properties being set.

Conor


> -----Original Message-----
> From: Pete O'Donnell [mailto:podonnell@doradosoftware.com]
> Sent: Wednesday, 25 October 2000 9:37
> To: ant-user@jakarta.apache.org
> Subject: env variables from ant
>
>
> how can ant build files access environment / system variables?  (i.e.
> $CLASSPATH)
>
> thanks for any help,
>
> -pete o'donnell
> software developer
> dorado software
> folsom, ca
>
>


Mime
View raw message