[seam-commits] Seam SVN: r7859 - trunk/examples/hibernate and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue Apr 8 05:53:37 EDT 2008


Author: pete.muir at jboss.org
Date: 2008-04-08 05:53:37 -0400 (Tue, 08 Apr 2008)
New Revision: 7859

Added:
   branches/Seam_2_0/examples/hibernate/build-jboss-embedded.xml
   trunk/examples/hibernate/build-jboss-embedded.xml
Modified:
   branches/Seam_2_0/examples/hibernate/build.xml
   branches/Seam_2_0/examples/hibernate/readme.txt
   trunk/examples/hibernate/build.xml
   trunk/examples/hibernate/readme.txt
Log:
JBSEAM-2829

Added: branches/Seam_2_0/examples/hibernate/build-jboss-embedded.xml
===================================================================
--- branches/Seam_2_0/examples/hibernate/build-jboss-embedded.xml	                        (rev 0)
+++ branches/Seam_2_0/examples/hibernate/build-jboss-embedded.xml	2008-04-08 09:53:37 UTC (rev 7859)
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+
+<project name="Hibernate Booking" default="jbosswar.archive" basedir=".">
+
+    <!-- Naming -->
+    <property name="Name"                   value="The Hibernate Example for JBoss Embedded in Tomcat"/>
+    <property name="example.name"           value="jboss-seam-hibernate"/>
+
+    <!-- resources -->
+    <property name="resources.dir" value="resources-jboss" />
+	<property name="dist.dir" value="dist-jboss-embedded" />
+	<property name="exploded-archives.dir" value="exploded-archives-jboss-embedded" />
+       
+    <!-- Libraries to include -->
+    <property name="seam.ui.lib"    value="true"/>
+    <property name="seam.debug.lib" value="true"/>
+    <property name="facelets.lib"   value="true"/>
+    <property name="richfaces.lib"  value="true"/>
+
+    <import file="../build.xml"/>
+	
+	<fileset id="war.lib.extras" dir="${seam.dir}">
+		<include name="lib/jsf-api.jar" />
+		<include name="lib/jsf-impl.jar" />
+		<include name="lib/jstl.jar" />
+	</fileset>
+
+</project>
+


Property changes on: branches/Seam_2_0/examples/hibernate/build-jboss-embedded.xml
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Modified: branches/Seam_2_0/examples/hibernate/build.xml
===================================================================
--- branches/Seam_2_0/examples/hibernate/build.xml	2008-04-08 09:47:00 UTC (rev 7858)
+++ branches/Seam_2_0/examples/hibernate/build.xml	2008-04-08 09:53:37 UTC (rev 7859)
@@ -5,10 +5,14 @@
    <target name="jboss" description="Build the Hibernate Booking example artifacts, and deploy to JBoss 4.2.0.GA">
      	<ant antfile="build-jboss.xml"/>
    </target>
+   
+   <target name="jboss-embedded" description="Build the JPA artifacts, and deploy to JBoss Embedded in Tomcat">
+      <ant antfile="build-jboss-embedded.xml"/>
+   </target>
 	
-	<target name="jboss.undeploy" description="Build the Hibernate Booking example artifacts, and deploy to JBoss 4.2.0.GA">
-	     <ant antfile="build-jboss.xml" target="jbosswar.undeploy"/>
-	</target>
+   <target name="jboss.undeploy" description="Build the Hibernate Booking example artifacts, and deploy to JBoss 4.2.0.GA">
+        <ant antfile="build-jboss.xml" target="jbosswar.undeploy"/>
+   </target>
 
    <target name="jboss405" description="Build the Hibernate Booking example artifacts, suitable for deployment to JBoss 4.0.5.GA">
      	<ant antfile="build-jboss405.xml"/>

Modified: branches/Seam_2_0/examples/hibernate/readme.txt
===================================================================
--- branches/Seam_2_0/examples/hibernate/readme.txt	2008-04-08 09:47:00 UTC (rev 7858)
+++ branches/Seam_2_0/examples/hibernate/readme.txt	2008-04-08 09:53:37 UTC (rev 7859)
@@ -45,11 +45,11 @@
   * Start Tomcat
   * Access the app at http://localhost:8080/jboss-seam-hibernate/
 
-Tomcat with embeddable JBoss (the build is the same as JBoss 4.2.0 GA WAR):
+Tomcat with embeddable JBoss:
   * Install Tomcat
   * Install Embeddable JBoss
-  * ant jboss
-  * Deploy dist-jboss/jboss-seam-hibernate.war
+  * ant jboss-embedded
+  * Deploy dist-jboss-embedded/jboss-seam-hibernate.war
   * Start Tomcat
   * Access the app at http://localhost:8080/jboss-seam-hibernate/
 

Added: trunk/examples/hibernate/build-jboss-embedded.xml
===================================================================
--- trunk/examples/hibernate/build-jboss-embedded.xml	                        (rev 0)
+++ trunk/examples/hibernate/build-jboss-embedded.xml	2008-04-08 09:53:37 UTC (rev 7859)
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+
+<project name="Hibernate Booking" default="jbosswar.archive" basedir=".">
+
+    <!-- Naming -->
+    <property name="Name"                   value="The Hibernate Example for JBoss Embedded in Tomcat"/>
+    <property name="example.name"           value="jboss-seam-hibernate"/>
+
+    <!-- resources -->
+    <property name="resources.dir" value="resources-jboss" />
+	<property name="dist.dir" value="dist-jboss-embedded" />
+	<property name="exploded-archives.dir" value="exploded-archives-jboss-embedded" />
+       
+    <!-- Libraries to include -->
+    <property name="seam.ui.lib"    value="true"/>
+    <property name="seam.debug.lib" value="true"/>
+    <property name="facelets.lib"   value="true"/>
+    <property name="richfaces.lib"  value="true"/>
+
+    <import file="../build.xml"/>
+	
+	<fileset id="war.lib.extras" dir="${seam.dir}">
+		<include name="lib/jsf-api.jar" />
+		<include name="lib/jsf-impl.jar" />
+		<include name="lib/jstl.jar" />
+	</fileset>
+
+</project>
+


Property changes on: trunk/examples/hibernate/build-jboss-embedded.xml
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Modified: trunk/examples/hibernate/build.xml
===================================================================
--- trunk/examples/hibernate/build.xml	2008-04-08 09:47:00 UTC (rev 7858)
+++ trunk/examples/hibernate/build.xml	2008-04-08 09:53:37 UTC (rev 7859)
@@ -5,10 +5,14 @@
    <target name="jboss" description="Build the Hibernate Booking example artifacts, and deploy to JBoss 4.2.0.GA">
      	<ant antfile="build-jboss.xml"/>
    </target>
+   
+   <target name="jboss-embedded" description="Build the JPA artifacts, and deploy to JBoss Embedded in Tomcat">
+      <ant antfile="build-jboss-embedded.xml"/>
+   </target>
 	
-	<target name="jboss.undeploy" description="Build the Hibernate Booking example artifacts, and deploy to JBoss 4.2.0.GA">
-	     <ant antfile="build-jboss.xml" target="jbosswar.undeploy"/>
-	</target>
+   <target name="jboss.undeploy" description="Build the Hibernate Booking example artifacts, and deploy to JBoss 4.2.0.GA">
+        <ant antfile="build-jboss.xml" target="jbosswar.undeploy"/>
+   </target>
 
    <target name="jboss405" description="Build the Hibernate Booking example artifacts, suitable for deployment to JBoss 4.0.5.GA">
      	<ant antfile="build-jboss405.xml"/>

Modified: trunk/examples/hibernate/readme.txt
===================================================================
--- trunk/examples/hibernate/readme.txt	2008-04-08 09:47:00 UTC (rev 7858)
+++ trunk/examples/hibernate/readme.txt	2008-04-08 09:53:37 UTC (rev 7859)
@@ -45,11 +45,11 @@
   * Start Tomcat
   * Access the app at http://localhost:8080/jboss-seam-hibernate/
 
-Tomcat with embeddable JBoss (the build is the same as JBoss 4.2.0 GA WAR):
+Tomcat with embeddable JBoss:
   * Install Tomcat
   * Install Embeddable JBoss
-  * ant jboss
-  * Deploy dist-jboss/jboss-seam-hibernate.war
+  * ant jboss-embedded
+  * Deploy dist-jboss-embedded/jboss-seam-hibernate.war
   * Start Tomcat
   * Access the app at http://localhost:8080/jboss-seam-hibernate/
 




More information about the seam-commits mailing list