Thanks, that worked like a charm! :-)

"Murray, Mike" <[EMAIL PROTECTED]> wrote:

<project name="Tools" default="help">

   <target name="help">
      <java classname="org.apache.tools.ant.Main">
         <arg value="-buildfile"/>
         <arg value="${ant.file}"/>
         <arg value="-projecthelp"/>
      </java>
   </target>


-----Original Message-----
From: Michael Pelz Sherman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 09, 2005 3:04 PM
To: user@ant.apache.org
Subject: how to call "ant -projecthelp" from ant target

Hi,

I'd like to define a (default) ant target that calls "ant -projecthelp" to list 
the targets & descriptions in my project.

I'm having trouble doing this. Can anyone provide the solution?

Many Thanks!

- Michael

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


Reply via email to