RE: How to get the value of a system's environment variable

2006-02-12 Thread Issam Aib
Thanks Jeffrey, > -Original Message- > From: Jeffrey E Care [mailto:[EMAIL PROTECTED] > Sent: February 12, 2006 4:57 PM > To: Ant Users List > Subject: Re: How to get the value of a system's environment variable > > Read the manual for the task. > > &g

RE: How to get the value of a system's environment variable

2006-02-12 Thread Issam Aib
Well, I found the answer on the web: You can access environment variables within Ant using: This provides all environment variables as Ant properties prefixed by "env.". For example, CLASSPATH would be accessible in Ant as ${env.CLASSPATH}. Help Source: http://www.java-tips.org/content/view/7

Re: How to get the value of a system's environment variable

2006-02-12 Thread Jeffrey E Care
Read the manual for the task. > I would like to get the value of some system environment variables, > such as TOMCAT_HOME, PATH, CVSROOT, etc, as a property inside my ant script.