Can't find in the documentation how I can echo out the name of a target.

<target name="all">
   <echo message=${nameOfCurrentTarget}/>
</target>

Should print "all".


I want to do this because I intend to do the following:

   <target name="all" depends="build">
      <antcall target="buildtask">
        <param name="target" value="${target.name}"/>
      </antcall>
   </target>

BTW:  is there a good pattern someone can point me to that uses a master 
buildfile that invokes sub-buildfiles?
Or sub-buildfiles are generated automatically by ANT or XML?

I have the new OpenSource Tools book for XP.
Thanks, Steve

-- 
Steve Collins
(720) 528-6148
[EMAIL PROTECTED]
[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to