what the echo should be is :

       <echo message="${env.PATH}">

-----Original Message-----
From: Suu Quan [mailto:squan@wwc.com]
Sent: Friday, May 18, 2001 2:33 PM
To: ant-user@jakarta.apache.org
Subject: newbie: how to echo the value of a variable

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">

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