You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by ajax chelsea <aj...@gmail.com> on 2005/12/31 10:12:54 UTC
Which command line parameter could get all targets' name in build.xml ?
hi all:
anybody could give any suggestions ?
ant [options] [target [target2 [target3] ...]]
Options:
-help, -h print this message
-projecthelp, -p print project help information
-version print the version information and exit
-diagnostics print information that might be helpful to
diagnose or report problems.
-quiet, -q be extra quiet
-verbose, -v be extra verbose
-debug, -d print debugging information
-emacs, -e produce logging information without adornments
-lib <path> specifies a path to search for jars and classes
-logfile <file> use given file for log
-l <file> ''
-logger <classname> the class which is to perform logging
-listener <classname> add an instance of class as a project listener
-noinput do not allow interactive input
-buildfile <file> use given buildfile
-file <file> ''
-f <file> ''
-D<property>=<value> use value for given property
-keep-going, -k execute all targets that do not depend
on failed target(s)
-propertyfile <name> load all properties from file with -D
properties taking precedence
-inputhandler <class> the class which will handle input requests
-find <file> (s)earch for buildfile towards the root of
-s <file> the filesystem and use it
-nice number A niceness value for the main thread:
1 (lowest) to 10 (highest); 5 is the default
Re: Which command line parameter could get all targets' name in build.xml ?
Posted by ajax chelsea <aj...@gmail.com>.
Got it ! Thanks for all helps
2006/1/3, Yves Martin <yv...@elca.ch>:
>
> Wascally Wabbit <wa...@earthling.net> writes:
>
> > ant -projecthelp gives list of public targets for build.xml in current
> > directory. (Use -f to name alternative build script.)
>
> You may also use ant -v -projecthelp
> to get all targets (public and internal)
>
> Regards,
> --
> Yves Martin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
Re: Which command line parameter could get all targets' name in
build.xml ?
Posted by Yves Martin <yv...@elca.ch>.
Wascally Wabbit <wa...@earthling.net> writes:
> ant -projecthelp gives list of public targets for build.xml in current
> directory. (Use -f to name alternative build script.)
You may also use ant -v -projecthelp
to get all targets (public and internal)
Regards,
--
Yves Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Which command line parameter could get all targets' name
in build.xml ?
Posted by Wascally Wabbit <wa...@earthling.net>.
ant -projecthelp gives list of public targets for build.xml in current
directory. (Use -f to name alternative build script.)
At 04:12 AM 12/31/2005, you wrote:
>hi all:
> anybody could give any suggestions ?
>
>
>ant [options] [target [target2 [target3] ...]]
>Options:
> -help, -h print this message
> -projecthelp, -p print project help information
> -version print the version information and exit
> -diagnostics print information that might be helpful to
> diagnose or report problems.
> -quiet, -q be extra quiet
> -verbose, -v be extra verbose
> -debug, -d print debugging information
> -emacs, -e produce logging information without adornments
> -lib <path> specifies a path to search for jars and classes
> -logfile <file> use given file for log
> -l <file> ''
> -logger <classname> the class which is to perform logging
> -listener <classname> add an instance of class as a project listener
> -noinput do not allow interactive input
> -buildfile <file> use given buildfile
> -file <file> ''
> -f <file> ''
> -D<property>=<value> use value for given property
> -keep-going, -k execute all targets that do not depend
> on failed target(s)
> -propertyfile <name> load all properties from file with -D
> properties taking precedence
> -inputhandler <class> the class which will handle input requests
> -find <file> (s)earch for buildfile towards the root of
> -s <file> the filesystem and use it
> -nice number A niceness value for the main thread:
> 1 (lowest) to 10 (highest); 5 is the default
The Wabbit
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Which command line parameter could get all targets' name in build.xml ?
Posted by Rhino <rh...@sympatico.ca>.
My only suggestion is that you clarify your question. I have no idea what
you are asking.
For what it's worth, you can list all the targets you like in your command
line and all of them are associated with the option(s) you specify. For
example, if you do this:
ant -v -d -f prep1.xml init compile bundle
you are invoking a build file named 'prep1.xml' and executing the targets
named init, compile and bundle; the verbose and debug options apply to all
of the targets you are executing.
Rhino
----- Original Message -----
From: "ajax chelsea" <aj...@gmail.com>
To: "Ant Users List" <us...@ant.apache.org>
Sent: Saturday, December 31, 2005 4:12 AM
Subject: Which command line parameter could get all targets' name in
build.xml ?
hi all:
anybody could give any suggestions ?
ant [options] [target [target2 [target3] ...]]
Options:
-help, -h print this message
-projecthelp, -p print project help information
-version print the version information and exit
-diagnostics print information that might be helpful to
diagnose or report problems.
-quiet, -q be extra quiet
-verbose, -v be extra verbose
-debug, -d print debugging information
-emacs, -e produce logging information without adornments
-lib <path> specifies a path to search for jars and classes
-logfile <file> use given file for log
-l <file> ''
-logger <classname> the class which is to perform logging
-listener <classname> add an instance of class as a project listener
-noinput do not allow interactive input
-buildfile <file> use given buildfile
-file <file> ''
-f <file> ''
-D<property>=<value> use value for given property
-keep-going, -k execute all targets that do not depend
on failed target(s)
-propertyfile <name> load all properties from file with -D
properties taking precedence
-inputhandler <class> the class which will handle input requests
-find <file> (s)earch for buildfile towards the root of
-s <file> the filesystem and use it
-nice number A niceness value for the main thread:
1 (lowest) to 10 (highest); 5 is the default
--------------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date: 29/12/2005
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date: 29/12/2005
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org