[seam-commits] Seam SVN: r13945 - in branches/community/Seam_2_2/examples/jee5: booking and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue Dec 14 08:53:30 EST 2010


Author: manaRH
Date: 2010-12-14 08:53:30 -0500 (Tue, 14 Dec 2010)
New Revision: 13945

Added:
   branches/community/Seam_2_2/examples/jee5/booking/build-jbossas6.xml
Modified:
   branches/community/Seam_2_2/examples/jee5/readme.txt
Log:
JBSEAM-4535 - added jboss as 6 specific build script - build-jbossas6.xml

Added: branches/community/Seam_2_2/examples/jee5/booking/build-jbossas6.xml
===================================================================
--- branches/community/Seam_2_2/examples/jee5/booking/build-jbossas6.xml	                        (rev 0)
+++ branches/community/Seam_2_2/examples/jee5/booking/build-jbossas6.xml	2010-12-14 13:53:30 UTC (rev 13945)
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+
+<project name="Java EE 5 Booking" default="archive" basedir=".">
+
+    <!-- Naming -->
+    <property name="Name"                   value="Java EE 5 Booking Example (JBoss AS 6)"/>
+    <property name="example.name"           value="jboss-seam-jee5-booking"/>
+
+    <!-- resources -->
+    <property name="resources.dir" value="resources" />
+    <property name="dist.dir" value="dist" />
+    <property name="exploded-archives.dir" value="exploded-archives" />
+       
+    <!-- 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"/>
+	
+	<!-- Hibernate libs are not required for deployment on JBoss AS 6, because they are already in AS jars -->
+	
+    <import file="../../build.xml"/>
+
+</project>
+

Modified: branches/community/Seam_2_2/examples/jee5/readme.txt
===================================================================
--- branches/community/Seam_2_2/examples/jee5/readme.txt	2010-12-14 13:05:04 UTC (rev 13944)
+++ branches/community/Seam_2_2/examples/jee5/readme.txt	2010-12-14 13:53:30 UTC (rev 13945)
@@ -143,3 +143,12 @@
 refer to the Seam reference guide for additional information.
 
 - http://seamframework.org/Documentation
+
+JBoss AS 6
+-----------
+AS 6 has got all Hibernate jars required for example. So there is build-jbossas6.xml script for reducing 
+amount of included jars in EAR and WAR archives.
+Just launch ant -f build-jbossas6.xml and then put dist/jboss-seam-jee5-booking.ear into JBoss AS 6 deploy dir.
+Or you can just run  ant -f build-jbossas6.xml deploy, if you have set up jboss.home in build.properties.
+ 
+



More information about the seam-commits mailing list