ant-user mailing list archives

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

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

Doesn't look to be (see lines 585-586 in -- 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 :)



Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices

View raw message