$ ant
Buildfile: build.xml
identify:
[echo] ###########################################################################
[echo] # Running the MDB example #
[echo] ###########################################################################
[echo] The queue: testQueue
[echo] The client jar: ../../../output/lib/jboss-messaging-client.jar
sanity-check:
init:
[mkdir] Created dir: C:\java\messaging\docs\examples\mdb\output\classes\META-INF
[mkdir] Created dir: C:\java\messaging\docs\examples\mdb\output\lib\META-INF
[mkdir] Created dir: C:\java\messaging\docs\examples\common\output\classes
compile:
[javac] Compiling 5 source files to C:\java\messaging\docs\examples\common\output\classes
[javac] Compiling 2 source files to C:\java\messaging\docs\examples\mdb\output\classes
jar:
[copy] Copying 2 files to C:\java\messaging\docs\examples\mdb\output\classes\META-INF
[jar] Building jar: C:\java\messaging\docs\examples\mdb\output\lib\mdb-example.jar
deploy:
[copy] Copying 1 file to C:\jboss-4.2.0.GA\server\messaging\deploy
sleep:
[echo] Sleeping for 5 seconds ...
run:
send:
[java] Queue /queue/testQueue exists
[java] The Hello! message was successfully sent to the testQueue queue
[java] Received message: !olleH
[java] The example connected to JBoss Messaging version 1.4.1.GA (1.4)
[java]
[java] #####################
[java] ### SUCCESS! ###
[java] #####################
undeploy:
[delete] Deleting: C:\jboss-4.2.0.GA\server\messaging\deploy\mdb-example.jar
BUILD SUCCESSFUL
Total time: 10 seconds
|