ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scollins <scoll...@bea.com>
Subject Asking again: How to echo the target
Date Mon, 07 Apr 2003 21:04:26 GMT
If I invoke ant with 'ant build' with the following build file:

<target name="init" >
<echo message="ant was invoked with target  ${target}"/>
</target>


<target name="build" depends="init">
</target>


I would like the echo statement to echo the target with with Ant was invoked.  Namely "build".
How do I do this?   Can't find a built-in property.

Thanks, Steve







Mime
View raw message