[jboss-cvs] jboss-seam/examples/hibernate2 ...
Michael Yuan
michael.yuan at jboss.com
Tue Jun 12 01:59:15 EDT 2007
User: myuan
Date: 07/06/12 01:59:15
Modified: examples/hibernate2 build.xml
Log:
forgot to check in some changes to the build.xml file
Revision Changes Path
1.14 +57 -13 jboss-seam/examples/hibernate2/build.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/hibernate2/build.xml,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- build.xml 8 Jun 2007 04:20:15 -0000 1.13
+++ build.xml 12 Jun 2007 05:59:15 -0000 1.14
@@ -41,6 +41,49 @@
</javac>
</target>
+ <!-- Hibernate and Seam POJO on JBoss AS 4.2.0-->
+ <target name="jboss" 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" />
+ <include name="hibernate.cfg.xml" />
+ </fileset>
+ </jar>
+
+ <war destfile="${build.jars}/${projname}.war"
+ webxml="${resources}/web.xml">
+ <webinf dir="${resources}">
+ <include name="faces-config.xml" />
+ <include name="pages.xml" />
+ <include name="jboss-web.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="${lib}">
+ <include name="ajax4jsf*.jar" />
+ <include name="oscache-2.3.2.jar" />
+ <include name="jboss-el.jar" />
+ <include name="jsf-facelets.jar" />
+ <include name="commons*.jar" />
+ </lib>
+ <lib dir="${build.jars}">
+ <include name="${projname}.jar" />
+ </lib>
+ <fileset dir="${view}"/>
+ </war>
+ </target>
+
<!--
Works for JBoss 4.0.5 by default
@@ -51,7 +94,7 @@
in jbossweb*/META-INF/jboss-service.xml, the commons logging lib in thirdparty-all.jar
will throw errors
-->
- <target name="jboss" depends="compile">
+ <target name="jboss405" depends="compile">
<mkdir dir="${build.jars}"/>
@@ -140,11 +183,11 @@
<lib dir="${lib}">
<include name="ajax4jsf*.jar" />
<include name="oscache*.jar" />
- <include name="el-api.jar" />
- <include name="el-ri.jar" />
+ <include name="jboss-el.jar" />
+ <include name="jboss-el-api.jar" />
<include name="jsf-facelets.jar" />
- <include name="myfaces-api-1.1.4.jar" />
- <include name="myfaces-impl-1.1.4.jar" />
+ <include name="jsf-api.jar" />
+ <include name="jsf-impl.jar" />
<include name="thirdparty-all.jar" />
<include name="commons*.jar" />
</lib>
@@ -194,19 +237,20 @@
<include name="jboss-seam-ui.jar" />
<include name="jboss-seam-debug.jar" />
</lib>
- <!--
- <lib dir="${applib}/mc">
- <include name="*.jar" />
+ <!-- WebLogic requires this since when the Sun listener starts up,
+ it looks for Sun implementations for JSP files. -->
+ <lib dir="${applib}">
+ <include name="el-api.jar" />
+ <include name="el-ri.jar" />
</lib>
- -->
<lib dir="${lib}">
<include name="ajax4jsf*.jar" />
<include name="oscache*.jar" />
- <include name="el-api.jar" />
- <include name="el-ri.jar" />
+ <include name="jboss-el.jar" />
+ <include name="jboss-el-api.jar" />
<include name="jsf-facelets.jar" />
- <include name="myfaces-api-1.1.4.jar" />
- <include name="myfaces-impl-1.1.4.jar" />
+ <include name="jsf-api.jar" />
+ <include name="jsf-impl.jar" />
<include name="thirdparty-all.jar" />
<include name="commons*.jar" />
</lib>
More information about the jboss-cvs-commits
mailing list