You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Ja...@rzf.fin-nrw.de on 2003/09/10 14:27:04 UTC

additional ant option: -p: | -projecthelp:

Whith larger buildfiles you´ll get a lot of output if you choose
-projecthelp, especially if you work with included buildfiles
(e.g. check.xml).

I´ve implemented a small "filter". You can write "-p:filter" and only
targets are listed with a "filter" in their names.

Should I commit that?


Jan




>ant -h
ant [options] [target [target2 [target3] ...]]
Options:
  -help, -h                 print this message
  -projecthelp[:<pattern>]  print project help information
    -p                      filtered by <pattern>
  -version                  print the version information and exit
  ...
----------------------------------------------------------------------------
-------


>ant -p
Buildfile: build.xml

Main targets:

 allclean              --> cleans up everything
 bootstrap             --> creates a bootstrap build
 ...
 test                  --> run JUnit tests
 test-jar              --> creates the Apache Ant Test Utilties jar
 test-javadocs         --> creates the API documentation for test utilities
Default target: main
----------------------------------------------------------------------------
-------
>ant -p:test
Buildfile: build.xml

Targets containing 'test' :
Main targets:

 interactive-tests     --> runs interactive tests
 run-single-test       --> runs the single unit test defined in the testcase
property
 run-single-test-only  --> runs the single unit test defined in the testcase
property
 test                  --> run JUnit tests
 test-jar              --> creates the Apache Ant Test Utilties jar
 test-javadocs         --> creates the API documentation for test utilities

Default target: main
----------------------------------------------------------------------------
-------
>ant -p:test -v
Apache Ant version 1.6alpha compiled on September 10 2003
...
Targets containing 'test' :
Main targets:

 interactive-tests     --> runs interactive tests
 run-single-test       --> runs the single unit test defined in the testcase
property
 run-single-test-only  --> runs the single unit test defined in the testcase
property
 test                  --> run JUnit tests
 test-jar              --> creates the Apache Ant Test Utilties jar
 test-javadocs         --> creates the API documentation for test utilities

Other targets:

 compile-tests
 run-tests

Default target: main

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