[jboss-svn-commits] JBL Code SVN: r30748 - in labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route: 05_Database and 1 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Dec 17 22:45:12 EST 2009
Author: tcunning
Date: 2009-12-17 22:45:12 -0500 (Thu, 17 Dec 2009)
New Revision: 30748
Added:
labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/template/
labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/template/manager.bat
labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/template/manager.sh
labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/template/server.bat
labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/template/server.sh
Removed:
labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/hsqldb.jar
labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/manager.bat
labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/manager.sh
labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.bat
labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.sh
Modified:
labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/README.html
labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/build.xml
Log:
JBESB-3014
Remove the hsqldb.jar from huge-split-enrich-transform, and add token
replacement and a replace target so that we can resolve the directory
in which hsqldb.jar resides in the server in the scripts.
Deleted: labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/hsqldb.jar
===================================================================
(Binary files differ)
Deleted: labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/manager.bat
===================================================================
--- labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/manager.bat 2009-12-18 03:27:30 UTC (rev 30747)
+++ labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/manager.bat 2009-12-18 03:45:12 UTC (rev 30748)
@@ -1,2 +0,0 @@
-"%JAVA_HOME%/bin/java" -classpath hsqldb.jar org.hsqldb.util.DatabaseManager
-
Deleted: labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/manager.sh
===================================================================
--- labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/manager.sh 2009-12-18 03:27:30 UTC (rev 30747)
+++ labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/manager.sh 2009-12-18 03:45:12 UTC (rev 30748)
@@ -1 +0,0 @@
-java -cp hsqldb.jar org.hsqldb.util.DatabaseManager
Deleted: labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.bat
===================================================================
--- labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.bat 2009-12-18 03:27:30 UTC (rev 30747)
+++ labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.bat 2009-12-18 03:45:12 UTC (rev 30748)
@@ -1 +0,0 @@
-"%JAVA_HOME%/bin/java" -classpath hsqldb.jar org.hsqldb.Server -database db
Deleted: labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.sh
===================================================================
--- labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.sh 2009-12-18 03:27:30 UTC (rev 30747)
+++ labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/05_Database/server.sh 2009-12-18 03:45:12 UTC (rev 30748)
@@ -1 +0,0 @@
-java -classpath hsqldb.jar org.hsqldb.Server -database db
Modified: labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/README.html
===================================================================
--- labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/README.html 2009-12-18 03:27:30 UTC (rev 30747)
+++ labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/README.html 2009-12-18 03:45:12 UTC (rev 30748)
@@ -128,7 +128,7 @@
<li>Open 6 command shell windows in the root folder of this quickstart.</li>
<li>In one of the command shell windows, start your JBoss ESB/Application Server instance.</li>
<li>In one of the command shell windows, type "ant deploy-jms-dests" to deploy the JMS Queues.</li>
- <li>In one of the command shell windows, change directory into the "05_Database" folder and
+ <li>In one of the command shell windows, type "ant replace", and then change directory into the "05_Database" folder and
type "server.bat" or "server.sh", depending on your OS.</li>
<li>In the remaining command shell windows, type the following commands in seperate windows:
<ul>
@@ -703,4 +703,4 @@
</div>
</body>
-</html>
\ No newline at end of file
+</html>
Modified: labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/build.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/build.xml 2009-12-18 03:27:30 UTC (rev 30747)
+++ labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/build.xml 2009-12-18 03:45:12 UTC (rev 30748)
@@ -16,6 +16,15 @@
<echo message="This target is not used by this Quickstart. Please read the 'README.html' file." />
</target>
+ <target name="replace" depends="compile">
+ <copy todir="${basedir}/05_Database" overwrite="true">
+ <fileset dir="${basedir}/template"/>
+ <filterset>
+ <filter token="hsqldb.dir" value="${org.jboss.esb.server.home}/server/${org.jboss.esb.server.config}/lib"/>
+ </filterset>
+ </copy>
+ </target>
+
<target name="01_split_enrich_transform_route" depends="compile,compile_high_price_model" description="run split_transform_route Service">
<echo>Split Enrich Transform Route Service:</echo>
<java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">
@@ -95,13 +104,13 @@
</target>
<target name="select" description="Select the orders from the database">
- <sql print="true" driver="org.hsqldb.jdbcDriver" url="jdbc:hsqldb:hsql://localhost:9002" userid="sa" autocommit="true" password="" classpath="05_Database/hsqldb.jar">
+ <sql print="true" driver="org.hsqldb.jdbcDriver" url="jdbc:hsqldb:hsql://localhost:9002" userid="sa" autocommit="true" password="" classpath="${org.jboss.esb.server.home}/server/${org.jboss.esb.server.config}/lib/hsqldb.jar">
<transaction>select * from orders</transaction>
</sql>
</target>
<target name="delete" description="Delete the orders in the database">
- <sql print="true" driver="org.hsqldb.jdbcDriver" url="jdbc:hsqldb:hsql://localhost:9002" userid="sa" autocommit="true" password="" classpath="05_Database/hsqldb.jar">
+ <sql print="true" driver="org.hsqldb.jdbcDriver" url="jdbc:hsqldb:hsql://localhost:9002" userid="sa" autocommit="true" password="" classpath="${org.jboss.esb.server.home}/server/${org.jboss.esb.server.config}/lib/hsqldb.jar">
<transaction>delete from orders</transaction>
</sql>
</target>
Added: labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/template/manager.bat
===================================================================
--- labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/template/manager.bat (rev 0)
+++ labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/template/manager.bat 2009-12-18 03:45:12 UTC (rev 30748)
@@ -0,0 +1,2 @@
+"%JAVA_HOME%/bin/java" -classpath @hsqldb.dir@\hsqldb.jar org.hsqldb.util.DatabaseManager
+
Added: labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/template/manager.sh
===================================================================
--- labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/template/manager.sh (rev 0)
+++ labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/template/manager.sh 2009-12-18 03:45:12 UTC (rev 30748)
@@ -0,0 +1 @@
+java -cp @hsqldb.dir@/hsqldb.jar org.hsqldb.util.DatabaseManager
Added: labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/template/server.bat
===================================================================
--- labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/template/server.bat (rev 0)
+++ labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/template/server.bat 2009-12-18 03:45:12 UTC (rev 30748)
@@ -0,0 +1 @@
+"%JAVA_HOME%/bin/java" -classpath @hsqldb.dir@\hsqldb.jar org.hsqldb.Server -database db
Added: labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/template/server.sh
===================================================================
--- labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/template/server.sh (rev 0)
+++ labs/jbossesb/branches/JBESB_4_7_CP/product/samples/quickstarts/huge-split-enrich-transform-route/template/server.sh 2009-12-18 03:45:12 UTC (rev 30748)
@@ -0,0 +1 @@
+java -classpath @hsqldb.dir@/hsqldb.jar org.hsqldb.Server -database db
More information about the jboss-svn-commits
mailing list