ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Novotny <jdnovo...@lbl.gov>
Subject passing OS path variables to Ant
Date Mon, 26 Aug 2002 10:23:01 GMT

Hi,

    I'm trying to pass PATH variables like TOMCAT_HOME and JAVA_HOME, 
etc to my build.xml script. Currently, I have a Perl wrapper script that 
gets these variables and sets them by invoking Ant like:
"java -classpath $CLASSPATH org.apache.tools.ant.Main 
-Dtomcat.home=$TOMCAT_HOME"

It would be much better if the build.xml script could get these vars for 
me. Any ideas?

    Thanks, Jason


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message