[seam-commits] Seam SVN: r13917 - branches/community/Seam_2_2/examples/metawidget/dvdstore.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Fri Nov 19 10:43:25 EST 2010
Author: manaRH
Date: 2010-11-19 10:43:24 -0500 (Fri, 19 Nov 2010)
New Revision: 13917
Added:
branches/community/Seam_2_2/examples/metawidget/dvdstore/build-jboss6.xml
Modified:
branches/community/Seam_2_2/examples/metawidget/dvdstore/readme.txt
Log:
JBSEAM-4698, JBSEAM-4714 added build script for deployment of metawidget-booking into JBoss AS 6
Added: branches/community/Seam_2_2/examples/metawidget/dvdstore/build-jboss6.xml
===================================================================
--- branches/community/Seam_2_2/examples/metawidget/dvdstore/build-jboss6.xml (rev 0)
+++ branches/community/Seam_2_2/examples/metawidget/dvdstore/build-jboss6.xml 2010-11-19 15:43:24 UTC (rev 13917)
@@ -0,0 +1,88 @@
+<?xml version="1.0"?>
+<project name="Metawidget DVD Store" default="deploy" basedir=".">
+
+ <!-- Naming -->
+ <property name="Name" value="Seam DVD Store Example"/>
+ <property name="example.name" value="seam-metawidget-dvdstore"/>
+ <property name="jboss6" value="yes" />
+
+ <property file="${basedir}/build.properties" />
+
+ <!-- Define location of merged source -->
+ <property name="staging.dir" value="${basedir}/staging"/>
+ <property name="src.java.dir" value="${staging.dir}/src"/>
+ <property name="src.test.dir" value="${src.java.dir}"/>
+ <property name="view.dir" value="${staging.dir}/view"/>
+ <property name="resources.dir" value="${staging.dir}/resources"/>
+ <property name="clean.extra" value="${staging.dir}"/>
+
+ <!-- Libraries to include -->
+ <property name="seam.ui.lib" value="yes"/>
+ <property name="seam.debug.lib" value="yes"/>
+ <property name="facelets.lib" value="yes"/>
+ <property name="jbpm.lib" value="yes"/>
+ <property name="search.lib" value="yes"/>
+ <property name="urlrewrite.lib" value="yes"/>
+ <property name="metawidget-ear.lib" value="yes"/>
+
+ <!-- Datasource -->
+ <!--<property name="example.ds" value="seam-metawidget-dvdstore-ds.xml"/>-->
+ <property name="example.ds" value="jboss-seam-dvdstore-ds.xml"/>
+
+ <target name="init" depends="stage, gethsearch3.3">
+ <antcall target="SeamExample.init"/>
+ <path id="build.classpath.extras">
+ <fileset dir="${lib.search.dir}">
+ <include name="*.jar"/>
+ </fileset>
+ </path>
+ </target>
+
+ <target name="stage">
+
+ <!-- Copy the original Seam booking example -->
+ <copy todir="${staging.dir}">
+ <fileset includes="**" dir="${seam.dir}/examples/dvdstore/jboss6/src" />
+ </copy>
+ <copy todir="${staging.dir}">
+ <fileset dir="${seam.dir}/examples/dvdstore">
+ <include name="src/**"/>
+ <exclude name="src/com/jboss/dvd/seam/FullTextSearchAction.java" />
+ <include name="view/**"/>
+ <include name="resources/**"/>
+ </fileset>
+ </copy>
+
+ <!-- Copy metawidget example overrides -->
+ <copy todir="${staging.dir}" overwrite="true">
+ <fileset dir=".">
+ <include name="src/**"/>
+ <include name="view/**"/>
+ <include name="resources/**"/>
+ </fileset>
+ </copy>
+
+ <!--<move file="${resources.dir}/jboss-seam-dvdstore-ds.xml" tofile="${resources.dir}/${example.ds}"/>-->
+ </target>
+
+ <import file="${basedir}/../../build.xml"/>
+
+ <!-- Enable the following overrides if you want to use your own JAR metawidget JAR files -->
+ <!-- Don't forget to set <property name="metawidget-ear.lib" value="no" above -->
+ <!--
+ <path id="build.classpath.extras">
+ <fileset dir="${basedir}/..">
+ <include name="metawidget.jar"/>
+ </fileset>
+ </path>
+
+ <fileset id="ear.lib.extras" dir="${basedir}/..">
+ <include name="metawidget-backend.jar"/>
+ </fileset>
+
+ <fileset id="war.lib.extras" dir="${basedir}/..">
+ <include name="metawidget-frontend.jar"/>
+ </fileset>
+ -->
+
+</project>
Property changes on: branches/community/Seam_2_2/examples/metawidget/dvdstore/build-jboss6.xml
___________________________________________________________________
Name: svn:executable
+ *
Modified: branches/community/Seam_2_2/examples/metawidget/dvdstore/readme.txt
===================================================================
--- branches/community/Seam_2_2/examples/metawidget/dvdstore/readme.txt 2010-11-18 17:54:26 UTC (rev 13916)
+++ branches/community/Seam_2_2/examples/metawidget/dvdstore/readme.txt 2010-11-19 15:43:24 UTC (rev 13917)
@@ -22,3 +22,8 @@
Access the application at http://localhost:8080/seam-metawidget-dvdstore
For further Metawidget documentation see http://metawidget.org/documentation.html.
+
+Notice: Deployment into JBoss AS 6 requires to use Hibernate-Search 3.3 and this
+can be done through launching
+
+ ant -f build-jboss6.xml
More information about the seam-commits
mailing list