ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <DDevie...@lgc.com>
Subject RE: how to call "ant -projecthelp" from ant target
Date Wed, 09 Feb 2005 21:06:46 GMT
> -----Original Message-----
> From: Michael Pelz Sherman [mailto:mpelzsherman@yahoo.com]
> I'd like to define a (default) ant target that calls "ant
-projecthelp" to
> list the targets & descriptions in my project.

Now you can do just -p. --DD

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

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message