[seam-commits] Seam SVN: r13622 - in branches/community/Seam_2_2/examples: blog and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Aug 20 07:39:49 EDT 2010


Author: manaRH
Date: 2010-08-20 07:39:48 -0400 (Fri, 20 Aug 2010)
New Revision: 13622

Added:
   branches/community/Seam_2_2/examples/blog/build-jboss42.xml
Modified:
   branches/community/Seam_2_2/examples/blog/build.xml
   branches/community/Seam_2_2/examples/blog/readme.txt
   branches/community/Seam_2_2/examples/build.xml
Log:
JBSEAM-4569 added jboss42 ant target

Added: branches/community/Seam_2_2/examples/blog/build-jboss42.xml
===================================================================
--- branches/community/Seam_2_2/examples/blog/build-jboss42.xml	                        (rev 0)
+++ branches/community/Seam_2_2/examples/blog/build-jboss42.xml	2010-08-20 11:39:48 UTC (rev 13622)
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+
+<project name="Blog" default="deploy" basedir=".">
+
+	<property name="han.lib"       value="yes"/>
+	
+    <import file="../build.xml"/>
+    
+</project>


Property changes on: branches/community/Seam_2_2/examples/blog/build-jboss42.xml
___________________________________________________________________
Name: svn:executable
   + *

Modified: branches/community/Seam_2_2/examples/blog/build.xml
===================================================================
--- branches/community/Seam_2_2/examples/blog/build.xml	2010-08-20 10:50:41 UTC (rev 13621)
+++ branches/community/Seam_2_2/examples/blog/build.xml	2010-08-20 11:39:48 UTC (rev 13622)
@@ -16,8 +16,11 @@
 	<!-- Datasource -->
 	<property name="example.ds"              value="blog-ds.xml"/>
 
-	<property name="clean.extra" value="${basedir}/blogindexes" />
+	<property name="clean.extra" value="${basedir}/blogindexes" />	
 	
+	<target name="jboss42" description="Build the Groovy Booking example artifacts, and deploy to JBoss 4.2.x.GA">
+		<ant antfile="build-jboss42.xml"/>
+	</target>
+	
     <import file="../build.xml"/>
-    
 </project>

Modified: branches/community/Seam_2_2/examples/blog/readme.txt
===================================================================
--- branches/community/Seam_2_2/examples/blog/readme.txt	2010-08-20 10:50:41 UTC (rev 13621)
+++ branches/community/Seam_2_2/examples/blog/readme.txt	2010-08-20 11:39:48 UTC (rev 13622)
@@ -6,4 +6,6 @@
 
 This example runs on JBoss AS as an EAR or Tomcat with JBoss Embedded as a WAR.
 
+JBoss AS 4.2 needs additional hibernate libraries, use ant target jboss42 for deploying to it.
+
 example.name=blog

Modified: branches/community/Seam_2_2/examples/build.xml
===================================================================
--- branches/community/Seam_2_2/examples/build.xml	2010-08-20 10:50:41 UTC (rev 13621)
+++ branches/community/Seam_2_2/examples/build.xml	2010-08-20 11:39:48 UTC (rev 13622)
@@ -291,7 +291,7 @@
 		<include name="cglib-nodep.jar" if="spring.lib" />
 	</fileset>
 
-	<fileset id="hibernate-annotations.jar" dir="${lib.dir}">
+	<fileset id="hibernate-deps" dir="${lib.dir}">
 		<include name="hibernate-core.jar" if="han.lib" />
 		<include name="hibernate-annotations.jar" if="han.lib" />
 		<include name="hibernate-commons-annotations.jar" if="han.lib" />
@@ -811,6 +811,7 @@
 			<fileset refid="metawidget-backend.jar" />
 			<fileset refid="jboss-common-core.jar" />
 			<fileset refid="openid.jar" />
+			<fileset refid="hibernate-deps" />
 			<mapper type="flatten" />
 		</copy>
 	</target>
@@ -1056,7 +1057,7 @@
 			<fileset refid="drools.jar" />
 			<fileset refid="cache.jar" />
 			<fileset refid="jbpm.jar" />
-			<fileset refid="hibernate-annotations.jar" />
+			<fileset refid="hibernate-deps" />
 			<fileset refid="spring.jar" />
 			<fileset refid="gwt.jar" />
 			<fileset refid="jboss-el.jar" />



More information about the seam-commits mailing list