[jboss-cvs] JBoss Messaging SVN: r4181 - in trunk: docs/examples/jms and 1 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue May 13 08:22:16 EDT 2008
Author: ataylor
Date: 2008-05-13 08:22:16 -0400 (Tue, 13 May 2008)
New Revision: 4181
Modified:
trunk/build-messaging.xml
trunk/docs/examples/jms/build.xml
trunk/docs/examples/messaging/build.xml
Log:
changed jbm-configuration file for standalone deployment to use ./data for journals. also added help target for examples.
Modified: trunk/build-messaging.xml
===================================================================
--- trunk/build-messaging.xml 2008-05-13 11:45:07 UTC (rev 4180)
+++ trunk/build-messaging.xml 2008-05-13 12:22:16 UTC (rev 4181)
@@ -482,7 +482,14 @@
<include name="messaging.truststore"/>
</fileset>
</copy>
-
+ <replace file="${build.distro.config.dir}/jbm-configuration.xml">
+ <replacetoken id="token"><![CDATA[${user.home}/jbm-test/data/bindings]]></replacetoken>
+ <replacevalue id="value">../data/bindings</replacevalue>
+ </replace>
+ <replace file="${build.distro.config.dir}/jbm-configuration.xml">
+ <replacetoken id="token"><![CDATA[${user.home}/jbm-test/data/journal]]></replacetoken>
+ <replacevalue id="value">../data/journal</replacevalue>
+ </replace>
<copy todir="${build.distro.bin.dir}">
<fileset dir="${src.bin.dir}">
<include name="run.sh"/>
Modified: trunk/docs/examples/jms/build.xml
===================================================================
--- trunk/docs/examples/jms/build.xml 2008-05-13 11:45:07 UTC (rev 4180)
+++ trunk/docs/examples/jms/build.xml 2008-05-13 12:22:16 UTC (rev 4181)
@@ -32,7 +32,7 @@
<!-- =========================================================================================== -->
-<project default="compile" name="JBoss Messaging JMS Examples">
+<project default="help" name="JBoss Messaging JMS Examples">
<property file="../build.properties"/>
@@ -58,6 +58,16 @@
<pathelement location="${etc.dir}"/>
</path>
+ <target name="help">
+ <echo>*****************************************************************</echo>
+ <echo>* to run examples execute one of the following *</echo>
+ <echo>* ant queueExample *</echo>
+ <echo>* ant topicExample *</echo>
+ <echo>* ant DurSubExample *</echo>
+ <echo>* ant perfListener followed by ant perfSender *</echo>
+ <echo>*****************************************************************</echo>
+ </target>
+
<target name="clean">
<delete dir="${build.dir}"/>
</target>
Modified: trunk/docs/examples/messaging/build.xml
===================================================================
--- trunk/docs/examples/messaging/build.xml 2008-05-13 11:45:07 UTC (rev 4180)
+++ trunk/docs/examples/messaging/build.xml 2008-05-13 12:22:16 UTC (rev 4181)
@@ -32,7 +32,7 @@
<!-- =========================================================================================== -->
-<project default="compile" name="JBoss Messaging Examples">
+<project default="help" name="JBoss Messaging Examples">
<property file="../build.properties"/>
@@ -53,6 +53,15 @@
<pathelement location="${config.dir}"/>
</path>
+ <target name="help">
+ <echo>*****************************************************************</echo>
+ <echo>* to run examples execute one of the following *</echo>
+ <echo>* ant SimpleClient *</echo>
+ <echo>* ant SSLClient (configure server for SSL) *</echo>
+ <echo>* ant SimpleExample (no server needed) *</echo>
+ <echo>*****************************************************************</echo>
+ </target>
+
<target name="clean">
<delete dir="${build.dir}"/>
</target>
@@ -81,7 +90,7 @@
</java>
</target>
- <target name="EmbeddedExample" depends="compile">
+ <target name="SimpleExample" depends="compile">
<java classname="org.jboss.messaging.example.SimpleExample" fork="true">
<classpath refid="runtime.classpath"/>
</java>
More information about the jboss-cvs-commits
mailing list