Author: manaRH
Date: 2010-09-02 09:00:26 -0400 (Thu, 02 Sep 2010)
New Revision: 13703
Added:
branches/community/Seam_2_2/examples/spring/build-jboss42.xml
Modified:
branches/community/Seam_2_2/examples/spring/build.xml
branches/community/Seam_2_2/examples/spring/readme.txt
branches/community/Seam_2_2/src/test/ftest/examples/spring/build.xml
Log:
JBSEAM-4573 - added new ant target jboss42 for deploying to JBoss AS 4.2
Added: branches/community/Seam_2_2/examples/spring/build-jboss42.xml
===================================================================
--- branches/community/Seam_2_2/examples/spring/build-jboss42.xml
(rev 0)
+++ branches/community/Seam_2_2/examples/spring/build-jboss42.xml 2010-09-02 13:00:26 UTC
(rev 13703)
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+
+<project name="Spring JBossWar 4.2" default="jbosswar.deploy"
basedir=".">
+
+ <property name="han.lib" value="yes"/>
+
+ <import file="./build-jbosswar.xml"/>
+
+</project>
Property changes on: branches/community/Seam_2_2/examples/spring/build-jboss42.xml
___________________________________________________________________
Name: svn:executable
+ *
Modified: branches/community/Seam_2_2/examples/spring/build.xml
===================================================================
--- branches/community/Seam_2_2/examples/spring/build.xml 2010-09-02 11:32:48 UTC (rev
13702)
+++ branches/community/Seam_2_2/examples/spring/build.xml 2010-09-02 13:00:26 UTC (rev
13703)
@@ -17,6 +17,10 @@
</target>
<target name="all" depends="jbosswar" description="Build
Spring Booking example, for deployment to all supported application servers"/>
+
+ <target name="jboss42" description="Build the Spring example, and
deploy to JBoss 4.2.x.GA">
+ <ant antfile="build-jboss42.xml"/>
+ </target>
</project>
Modified: branches/community/Seam_2_2/examples/spring/readme.txt
===================================================================
--- branches/community/Seam_2_2/examples/spring/readme.txt 2010-09-02 11:32:48 UTC (rev
13702)
+++ branches/community/Seam_2_2/examples/spring/readme.txt 2010-09-02 13:00:26 UTC (rev
13703)
@@ -5,4 +5,6 @@
as a WAR. It is deployed using the command "ant jbosswar" and undeployed using
the command "ant jbosswar.undeploy".
+JBoss AS 4.2 needs additional hibernate libraries, use ant target jboss42 for deploying
to it.
+
Visit
http://localhost:8080/jboss-seam-spring
Modified: branches/community/Seam_2_2/src/test/ftest/examples/spring/build.xml
===================================================================
--- branches/community/Seam_2_2/src/test/ftest/examples/spring/build.xml 2010-09-02
11:32:48 UTC (rev 13702)
+++ branches/community/Seam_2_2/src/test/ftest/examples/spring/build.xml 2010-09-02
13:00:26 UTC (rev 13703)
@@ -22,7 +22,7 @@
-->
<project name="spring.ftest.build" basedir="."
default="build">
<property name="example.name" value="spring" />
- <property name="jboss4.deploy.target" value="jbosswar" />
+ <property name="jboss4.deploy.target" value="jboss42" />
<property name="jboss4.undeploy.target" value="jbosswar.undeploy"
/>
<property name="jboss4.context.path" value="/jboss-seam-spring"
/>