--- "Hayes, Peter" <[EMAIL PROTECTED]> 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


=====
([EMAIL PROTECTED])



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

Reply via email to