[seam-commits] Seam SVN: r10345 - branches/community/Seam_2_0/seam-gen.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Wed Apr 8 00:32:01 EDT 2009


Author: dan.j.allen
Date: 2009-04-08 00:32:01 -0400 (Wed, 08 Apr 2009)
New Revision: 10345

Modified:
   branches/community/Seam_2_0/seam-gen/build.xml
Log:
add update-seam target
copy orm.xml


Modified: branches/community/Seam_2_0/seam-gen/build.xml
===================================================================
--- branches/community/Seam_2_0/seam-gen/build.xml	2009-04-08 04:31:25 UTC (rev 10344)
+++ branches/community/Seam_2_0/seam-gen/build.xml	2009-04-08 04:32:01 UTC (rev 10345)
@@ -670,6 +670,7 @@
         </copy>
         <copy todir="${project.home}/resources">
             <fileset dir="${base.dir}/resources/">
+            	<include name="META-INF/orm.xml"/>
             	<include name="META-INF/persistence*-war.xml"/>
             	<include name="WEB-INF/jboss-web.xml"/>
             </fileset>
@@ -703,6 +704,7 @@
             	<include name="META-INF/application.xml"/>
             	<include name="META-INF/jboss-app.xml"/>
             	<include name="META-INF/ejb-jar.xml"/>
+            	<include name="META-INF/orm.xml"/>
             	<include name="META-INF/persistence*.xml"/>
             	<exclude name="META-INF/persistence*-war.xml"/>
             </fileset>
@@ -889,6 +891,16 @@
     	<echo message="NetBeans Users: Open the project in NetBeans"/>
     </target>
 
+    <target name="update-seam" depends="validate-project,copyseam">
+        <echo message="Copying Seam to the ${project.home}/lib directory..." />
+        <copy todir="${project.home}/lib" overwrite="true">
+            <fileset dir="../lib">
+                <include name="jboss-seam.jar"/>
+                <include name="jboss-seam-*.jar"/>
+            </fileset>
+        </copy>
+    </target>
+
     <target name="update-project" depends="validate-project,copy-lib"
         description="Update project dependencies">
         <echo message="Updated project '${project.name}' with the latest Seam jars" />




More information about the seam-commits mailing list