[seam-commits] Seam SVN: r7858 - trunk/examples/jpa and 1 other directory.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue Apr 8 05:47:00 EDT 2008
Author: pete.muir at jboss.org
Date: 2008-04-08 05:47:00 -0400 (Tue, 08 Apr 2008)
New Revision: 7858
Added:
branches/Seam_2_0/examples/jpa/build-jboss-embedded.xml
trunk/examples/jpa/build-jboss-embedded.xml
Modified:
branches/Seam_2_0/examples/jpa/build.xml
branches/Seam_2_0/examples/jpa/readme.txt
trunk/examples/jpa/build.xml
trunk/examples/jpa/readme.txt
Log:
JBSEAM-2828
Added: branches/Seam_2_0/examples/jpa/build-jboss-embedded.xml
===================================================================
--- branches/Seam_2_0/examples/jpa/build-jboss-embedded.xml (rev 0)
+++ branches/Seam_2_0/examples/jpa/build-jboss-embedded.xml 2008-04-08 09:47:00 UTC (rev 7858)
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+
+<project name="JPA Booking" default="jbosswar.archive" basedir=".">
+
+ <!-- Naming -->
+ <property name="Name" value="The JPA Example for JBoss Embedded in Tomcat"/>
+ <property name="example.name" value="jboss-seam-jpa"/>
+
+ <!-- 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/jpa/build-jboss-embedded.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: branches/Seam_2_0/examples/jpa/build.xml
===================================================================
--- branches/Seam_2_0/examples/jpa/build.xml 2008-04-08 09:02:36 UTC (rev 7857)
+++ branches/Seam_2_0/examples/jpa/build.xml 2008-04-08 09:47:00 UTC (rev 7858)
@@ -5,6 +5,10 @@
<target name="jboss" description="Build the JPA 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="Undeploy JPA example from JBoss AS">
<ant antfile="build-jboss.xml" target="jbosswar.undeploy"/>
Modified: branches/Seam_2_0/examples/jpa/readme.txt
===================================================================
--- branches/Seam_2_0/examples/jpa/readme.txt 2008-04-08 09:02:36 UTC (rev 7857)
+++ branches/Seam_2_0/examples/jpa/readme.txt 2008-04-08 09:47:00 UTC (rev 7858)
@@ -47,17 +47,17 @@
* Start the application
* Access it at http://localhost:9080/context_root/index.html
-Tomcat with JBoss Embedded(the build is the same as JBoss 4.2.0 GA WAR):
+Tomcat with JBoss Embedded:
* Install Tomcat
* Install JBoss Embedded
- * ant jboss
- * Deploy dist-jboss/jboss-seam-jpa.war
+ * ant jboss-embedded
+ * Deploy dist-jboss-embedded/jboss-seam-jpa.war
* Start Tomcat
* Access the app at http://localhost:8080/jboss-seam-jpa/
Tomcat (5.5 or 6) without JBoss Embedded:
* Install Tomcat
- * Copy the lib/hsqldb.jar into $TOMCAT_HOME/common/lib (Tomcat 5.5) or $TOMCAT_HOME/lib (Tomcat 6)
+ * Copy the seam-gen/lib/hsqldb.jar into $TOMCAT_HOME/common/lib (Tomcat 5.5) or $TOMCAT_HOME/lib (Tomcat 6)
* ant tomcat55 or ant tomcat6
* Deploy dist-jboss/jboss-seam-jpa.war
* Start Tomcat
Added: trunk/examples/jpa/build-jboss-embedded.xml
===================================================================
--- trunk/examples/jpa/build-jboss-embedded.xml (rev 0)
+++ trunk/examples/jpa/build-jboss-embedded.xml 2008-04-08 09:47:00 UTC (rev 7858)
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+
+<project name="JPA Booking" default="jbosswar.archive" basedir=".">
+
+ <!-- Naming -->
+ <property name="Name" value="The JPA Example for JBoss Embedded in Tomcat"/>
+ <property name="example.name" value="jboss-seam-jpa"/>
+
+ <!-- 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/jpa/build-jboss-embedded.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/examples/jpa/build.xml
===================================================================
--- trunk/examples/jpa/build.xml 2008-04-08 09:02:36 UTC (rev 7857)
+++ trunk/examples/jpa/build.xml 2008-04-08 09:47:00 UTC (rev 7858)
@@ -5,6 +5,10 @@
<target name="jboss" description="Build the JPA 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="Undeploy JPA example from JBoss AS">
<ant antfile="build-jboss.xml" target="jbosswar.undeploy"/>
Modified: trunk/examples/jpa/readme.txt
===================================================================
--- trunk/examples/jpa/readme.txt 2008-04-08 09:02:36 UTC (rev 7857)
+++ trunk/examples/jpa/readme.txt 2008-04-08 09:47:00 UTC (rev 7858)
@@ -47,17 +47,17 @@
* Start the application
* Access it at http://localhost:9080/context_root/index.html
-Tomcat with JBoss Embedded(the build is the same as JBoss 4.2.0 GA WAR):
+Tomcat with JBoss Embedded:
* Install Tomcat
* Install JBoss Embedded
- * ant jboss
- * Deploy dist-jboss/jboss-seam-jpa.war
+ * ant jboss-embedded
+ * Deploy dist-jboss-embedded/jboss-seam-jpa.war
* Start Tomcat
* Access the app at http://localhost:8080/jboss-seam-jpa/
Tomcat (5.5 or 6) without JBoss Embedded:
* Install Tomcat
- * Copy the lib/hsqldb.jar into $TOMCAT_HOME/common/lib (Tomcat 5.5) or $TOMCAT_HOME/lib (Tomcat 6)
+ * Copy the seam-gen/lib/hsqldb.jar into $TOMCAT_HOME/common/lib (Tomcat 5.5) or $TOMCAT_HOME/lib (Tomcat 6)
* ant tomcat55 or ant tomcat6
* Deploy dist-jboss/jboss-seam-jpa.war
* Start Tomcat
More information about the seam-commits
mailing list