ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Blanchet Samuel" <>
Subject environment variable
Date Fri, 05 Sep 2003 14:10:12 GMT
I've a prob with the environment variables.
I would like to set a lot of environment variables to use them in different process.
My script is below.
the pb is that I'm not able to use the differents environment variables (PNG_HOME, ORACLE_HOME,...)
in the second  prog : TEST2.BAT.
<exec executable="test.bat" newenvironment="false">
 <env key="PNG_HOME" value="${PNG_HOME}"/>
 <env key="ORACLE_HOME" value="${ORACLE_HOME}"/>
 <env key="ORACLE_SID" value="${ORACLE_SID}"/>
 <env key="SCHEMA" value="${SCHEMA}"/>
 <env key="PASSWD" value="${PASSWD}"/>
 <env key="NLS_LANG" value="${NLS_LANG}"/>
 <env key="NG_PORT" value="${NG_PORT}"/>
 <env key="MAX_USERS" value="${MAX_USERS}"/>
 <env key="TRACE" value="${TRACE}"/>
 <env key="COBOLREP" value="${COBOLREP}"/>
 <env key="COBOLREPBIS" value="${COBOLREPBIS}"/>
 <env key="JAVA_HOME" value="${JAVA_HOME}"/>
 <env key="ANT_HOME" value="${ANT_HOME}"/>
<exec executable="test2.bat"/>
Could you help me ?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message