[jboss-cvs] jboss-seam/examples/jpa ...
Michael Yuan
michael.yuan at jboss.com
Mon Jan 29 19:00:24 EST 2007
User: myuan
Date: 07/01/29 19:00:24
Modified: examples/jpa build.xml
Log:
WebSphere support
Revision Changes Path
1.9 +56 -0 jboss-seam/examples/jpa/build.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/jpa/build.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- build.xml 7 Dec 2006 21:35:17 -0000 1.8
+++ build.xml 30 Jan 2007 00:00:24 -0000 1.9
@@ -233,6 +233,62 @@
</war>
</target>
+ <target name="websphere" depends="compile">
+
+ <mkdir dir="${build.jars}"/>
+
+ <jar destfile="${build.jars}/${projname}.jar">
+ <fileset dir="${build.classes}">
+ <include name="**/*.class"/>
+ </fileset>
+ <fileset dir="${resources}">
+ <include name="seam.properties" />
+ <include name="import.sql" />
+ </fileset>
+ <metainf dir="${resources}/websphere">
+ <include name="persistence.xml" />
+ </metainf>
+ </jar>
+
+ <war destfile="${build.jars}/${projname}.war"
+ webxml="${resources}/websphere/web.xml">
+ <webinf dir="${resources}">
+ <include name="faces-config.xml" />
+ <include name="pages.xml" />
+ <include name="navigation.xml" />
+ <include name="components.xml" />
+ </webinf>
+ <lib dir="${seamlib}">
+ <include name="jboss-seam.jar" />
+ <include name="jboss-seam-ui.jar" />
+ <include name="jboss-seam-debug.jar" />
+ </lib>
+ <lib dir="${applib}">
+ <include name="ajax4jsf.jar" />
+ <include name="oscache-2.3.2.jar" />
+ </lib>
+ <lib dir="${lib}">
+ <include name="el-api.jar" />
+ <include name="el-ri.jar" />
+ <include name="jsf-facelets.jar" />
+ <include name="myfaces-api-1.1.4.jar" />
+ <include name="myfaces-impl-1.1.4.jar" />
+ <include name="thirdparty-all.jar" />
+ <include name="commons*.jar" />
+ </lib>
+ <lib dir="${hibernatelib}">
+ <include name="*.jar" />
+ </lib>
+ <lib dir="${build.jars}">
+ <include name="${projname}.jar" />
+ </lib>
+ <classes dir="${resources}/websphere">
+ <include name="log4j.xml" />
+ </classes>
+ <fileset dir="${view}"/>
+ </war>
+ </target>
+
<target name="glassfish" depends="compile">
<mkdir dir="${build.jars}"/>
More information about the jboss-cvs-commits
mailing list