ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shatzer, Larry" <Larry.Shat...@Spirent.com>
Subject RE: Default target = projecthelp?
Date Thu, 06 Nov 2003 18:50:15 GMT
Make your default target this (untested)

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

see bug # 14941 for more information.

http://issues.apache.org/bugzilla/show_bug.cgi?id=14941


> -----Original Message-----
> From: Anderson, Robert H - MWT [mailto:Anderson.Robert@menlolog.com]
> Sent: Thursday, November 06, 2003 10:44 AM
> To: 'user@ant.apache.org'
> Subject: Default target = projecthelp?
> 
> 
> Is it possible to set the default target of a build file to 
> be -projecthelp?
> In other words, I want the following to be equal....
> 
> $ ant -projecthelp
> $ ant
> 
> Thanks,
> 
> Robert Anderson
> Sr. Web Administrator
> Menlo Logistics
> (503) 450-2880 desk
> (503) 781-4726 cell
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

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


Mime
View raw message