ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: -projecthelp
Date Thu, 03 May 2001 21:20:43 GMT
--- "Hayes, Peter" <Peter.Hayes@fmr.com> wrote:

> Is there anyway to suppress the Subtargets when doing ant -projecthelp.

Doesn't look to be (see lines 585-586 in Main.java) -- but if you wanted
to add that, you could change it :) ...

> We use a lot of intermediate subtargets that make the help less than
> useful when it scrolls off the screen.

Or, write a little shell script to run when you want to display only the
main targets:

ant -projecthelp | \
  awk '/^Main targets:/,/^Subtargets:/' | \
  grep -v "^Subtargets:"

(Writing a DOS script for it is left as an exercise for the reader :)

Diane


=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Mime
View raw message