tidy help build.xml help text AMQ-1513

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@692387 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2008-09-05 08:55:37 +00:00
parent eaea51654d
commit 4114a78b90
1 changed files with 44 additions and 19 deletions

View File

@ -53,16 +53,24 @@
<target name="help">
<echo>
This script requires Ant 1.6 or higher
NOTE: All options should be specified as system properties
on the command line, e.g.:
ant consumer -Durl=tcp://hostname:1234 -Dtopic=true
OR
ant producer -Durl=tcp://hostname:61616 -Dmax=1000
Usage:
--------------------------------------------------------
ant &lt;ant-task> &lt;options>
--------------------------------------------------------
ant consumer &lt;options> - Creates a consumer which waits until a specific number
of messages have been received
Options:
Consumer Options:
url - Used to specify acustom URL for the
broker, e.g., tcp://hostname:1234
topic - A boolean to determine whether to use
@ -85,16 +93,33 @@ NOTE: All options should be specified as system properties
receive-time-out - An integer to specify the time to wait for
message consumption
--------------------------------------------------------
ant -help display ant help screen
ant help display this message
ant clean delete the built directory
ant producer &lt;options&gt; - Creates a producer publishing a number of messages
ant consumer creates a consumer which waits until a specific number of messages have been received
ant producer creates a producer publishing a number of messages
ant embedBroker runs an embedded broker inside Java code
Producer Options:
url - Used to specify acustom URL for the broker,
e.g., tcp://hostname:1234
topic - A boolean to determine whether to use topics
or queues
subject - Used to specify a custom destination name,
e.g. MyDestination
durable - A boolean to specify that you want to create
a durable topic subscriber?
max - The maximum number of messages to wait for
before shutting down
sleepTime - The time to sleep between message consumptions
transacted - A boolean to specify that you want to use
transactions?
verbose - Used to print out more info; the default is true
ant war creates a WAR deployment unit of the ActiveMQ Broker
--------------------------------------------------------
ant -help - Display ant help screen
ant help - Display this message
ant clean - Delete the built directory
ant embedBroker - Runs an embedded broker inside Java code
ant war - Creates a WAR deployment unit of the ActiveMQ Broker
</echo>
</target>