ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject additional ant option: -p:<pattern> | -projecthelp:<pattern>
Date Wed, 10 Sep 2003 12:27:04 GMT
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


Mime
View raw message