[jboss-svn-commits] JBL Code SVN: r37497 - in labs/jbossesb/branches/JBESB_4_10_CP/product/samples/quickstarts/helloworld_hibernate_action: src/org/jboss/soa/esb/samples/quickstart/hibernateaction and 1 other directory.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Sun Oct 2 23:37:44 EDT 2011


Author: tcunning
Date: 2011-10-02 23:37:43 -0400 (Sun, 02 Oct 2011)
New Revision: 37497

Modified:
   labs/jbossesb/branches/JBESB_4_10_CP/product/samples/quickstarts/helloworld_hibernate_action/build.xml
   labs/jbossesb/branches/JBESB_4_10_CP/product/samples/quickstarts/helloworld_hibernate_action/readme.txt
   labs/jbossesb/branches/JBESB_4_10_CP/product/samples/quickstarts/helloworld_hibernate_action/src/org/jboss/soa/esb/samples/quickstart/hibernateaction/SessionFactorySingleton.java
Log:
JBESB-3694
Remove references to .ear deployment, which was removed from this QS.


Modified: labs/jbossesb/branches/JBESB_4_10_CP/product/samples/quickstarts/helloworld_hibernate_action/build.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_10_CP/product/samples/quickstarts/helloworld_hibernate_action/build.xml	2011-09-29 13:33:38 UTC (rev 37496)
+++ labs/jbossesb/branches/JBESB_4_10_CP/product/samples/quickstarts/helloworld_hibernate_action/build.xml	2011-10-03 03:37:43 UTC (rev 37497)
@@ -19,7 +19,7 @@
 	<target name="package-deployment">
 	</target>
 
-	<target name="deploy" depends="build-ear">
+	<target name="deploy" depends="build-archives">
 		<copy file="${build.dir}/esbhibernate-helloworld.jar"
 			todir="${org.jboss.esb.server.home}/server/${org.jboss.esb.server.config}/lib"/>
 		<copy file="${build.dir}/${ant.project.name}.esb"
@@ -38,7 +38,7 @@
                         todir="build/classes/org/jboss/soa/esb/samples/quickstart/hibernateaction"/>	
 	</target>
 
-	<target name="build-ear" depends="compile, config, package-deployment">
+	<target name="build-archives" depends="compile, config, package-deployment">
 		<jar destfile="${build.dir}/esbhibernate-helloworld.jar">
 			<fileset dir="${build.dir}/classes">
 				<exclude name="**/MyAction.class"/>
@@ -64,8 +64,6 @@
 			</fileset>
 		</war>
 
-		<!-- We build the .esb in a custom manner because
-		 	we are packaging it within an .ear -->
 		<mkdir dir="${build.dir}/META-INF"/>
 		<copy file="jboss-esb.xml" todir="${build.dir}/META-INF"/>
 		<copy file="deployment.xml" todir="${build.dir}/META-INF"/>

Modified: labs/jbossesb/branches/JBESB_4_10_CP/product/samples/quickstarts/helloworld_hibernate_action/readme.txt
===================================================================
--- labs/jbossesb/branches/JBESB_4_10_CP/product/samples/quickstarts/helloworld_hibernate_action/readme.txt	2011-09-29 13:33:38 UTC (rev 37496)
+++ labs/jbossesb/branches/JBESB_4_10_CP/product/samples/quickstarts/helloworld_hibernate_action/readme.txt	2011-10-03 03:37:43 UTC (rev 37497)
@@ -2,7 +2,7 @@
 =========
   This is a demonstration of a Hibernate listener. This test is configured 
   to use an hsqldb database (see jboss-esb.xml).  This 
-  quickstart builds an ear containing both an .esb and a .war.  The .war
+  quickstart builds both an .esb and a .war.  The .war
   has a series of .jsps which demonstrate insert/delete/load/update.   
 
   If you browse the .war and insert items, you can see the Hibernate entities

Modified: labs/jbossesb/branches/JBESB_4_10_CP/product/samples/quickstarts/helloworld_hibernate_action/src/org/jboss/soa/esb/samples/quickstart/hibernateaction/SessionFactorySingleton.java
===================================================================
--- labs/jbossesb/branches/JBESB_4_10_CP/product/samples/quickstarts/helloworld_hibernate_action/src/org/jboss/soa/esb/samples/quickstart/hibernateaction/SessionFactorySingleton.java	2011-09-29 13:33:38 UTC (rev 37496)
+++ labs/jbossesb/branches/JBESB_4_10_CP/product/samples/quickstarts/helloworld_hibernate_action/src/org/jboss/soa/esb/samples/quickstart/hibernateaction/SessionFactorySingleton.java	2011-10-03 03:37:43 UTC (rev 37497)
@@ -65,8 +65,8 @@
 	 * same SessionFactory object that is initialized by the ESB Hibernate
 	 * Listener because hibernate events can only be intercepted on the 
 	 * SessionFactory that the interceptor is set on.    By grabbing
-	 * the SessionFactory out of JNDI, we guarantee that we do that, even
-	 * in the case of a .ear redeploy.
+	 * the SessionFactory out of JNDI, we guarantee that we do that
+	 * in the case of a redeploy.
 	 */
 	private static synchronized void init() {
 		try {



More information about the jboss-svn-commits mailing list