ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suu Quan" <sq...@wwc.com>
Subject newbie: how to echo the value of a variable
Date Fri, 18 May 2001 21:33:27 GMT
Warning: my very first build.xml file.
ran into something unknown (to me) already. No reference manual to look at.

<?xml version="1.0"?>
<project name="stp" basedir="." default="startUP">
        <property environment="env"/>
<target name="startUP">
        <echo>
${env.PATH}
        </echo>
</target>
</project>

when it ran, it displays "${env.PATH}", not the value of the environment
variable PATH.

tia


Mime
View raw message