[seam-commits] Seam SVN: r10307 - branches/community/Seam_2_0/seam-gen/build-scripts.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Apr 6 00:04:47 EDT 2009


Author: dan.j.allen
Date: 2009-04-06 00:04:47 -0400 (Mon, 06 Apr 2009)
New Revision: 10307

Modified:
   branches/community/Seam_2_0/seam-gen/build-scripts/build-war.xml
   branches/community/Seam_2_0/seam-gen/build-scripts/build.xml
Log:
JBSEAM-4082


Modified: branches/community/Seam_2_0/seam-gen/build-scripts/build-war.xml
===================================================================
--- branches/community/Seam_2_0/seam-gen/build-scripts/build-war.xml	2009-04-06 04:01:15 UTC (rev 10306)
+++ branches/community/Seam_2_0/seam-gen/build-scripts/build-war.xml	2009-04-06 04:04:47 UTC (rev 10307)
@@ -27,6 +27,9 @@
     <property name="javac.debug" value="true" />
     <property name="javac.deprecation" value="false" />
     <property name="debug" value="false" />
+    <condition property="is.debug">
+        <istrue value="${debug}"/>
+    </condition>
     
     <fileset id="lib" dir="${lib.dir}">
         <include name="*.jar" />
@@ -182,6 +185,7 @@
             <fileset dir="${lib.dir}">
                 <includesfile name="deployed-jars.list"/>
                 <exclude name="jboss-seam-gen.jar"/>
+                <exclude name="jboss-seam-debug.jar" unless="is.debug"/>
                 <include name="groovy-*.jar" if="groovy.present"/>
             </fileset>
         </copy>

Modified: branches/community/Seam_2_0/seam-gen/build-scripts/build.xml
===================================================================
--- branches/community/Seam_2_0/seam-gen/build-scripts/build.xml	2009-04-06 04:01:15 UTC (rev 10306)
+++ branches/community/Seam_2_0/seam-gen/build-scripts/build.xml	2009-04-06 04:04:47 UTC (rev 10307)
@@ -28,6 +28,9 @@
         <property name="javac.debug" value="true" />
         <property name="javac.deprecation" value="false" />
         <property name="debug" value="false" />
+        <condition property="is.debug" value="true">
+            <istrue value="${debug}"/>
+        </condition>
     
         <!--Properties for validating configuration files -->
         <property name="validate.resources.dir" value="${basedir}/exploded-archives" />
@@ -124,6 +127,7 @@
                         <fileset dir="${lib.dir}">
                                 <includesfile name="deployed-jars-war.list" />
                                 <exclude name="jboss-seam-gen.jar" />
+                                <exclude name="jboss-seam-debug.jar" unless="is.debug"/>
                         </fileset>
                 </copy>
                 <copy todir="${war.dir}/WEB-INF/classes">




More information about the seam-commits mailing list