[jboss-svn-commits] JBL Code SVN: r10821 - labs/jbossrules/trunk/drools-eclipse.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Sun Apr 8 03:49:03 EDT 2007


Author: pombredanne
Date: 2007-04-08 03:49:03 -0400 (Sun, 08 Apr 2007)
New Revision: 10821

Modified:
   labs/jbossrules/trunk/drools-eclipse/build.properties
   labs/jbossrules/trunk/drools-eclipse/customTargets.xml
Log:
JBRULES-761 Automate the Eclipse build
- do not build update jars but use instead the combination of buidl.properties, manifest netries and feature entris to get the plugin jarred, and the tests unjarred

Modified: labs/jbossrules/trunk/drools-eclipse/build.properties
===================================================================
--- labs/jbossrules/trunk/drools-eclipse/build.properties	2007-04-08 07:46:54 UTC (rev 10820)
+++ labs/jbossrules/trunk/drools-eclipse/build.properties	2007-04-08 07:49:03 UTC (rev 10821)
@@ -71,7 +71,7 @@
 #	macosx, carbon, ppc - antZip
 
 #Set to true if you want the output to be ready for an update jar (no site.xml generated)
-outputUpdateJars = true
+outputUpdateJars = false
 
 #Set to true for Jnlp generation
 #codebase should be a URL that will be used as the root of all relative URLs in the output.

Modified: labs/jbossrules/trunk/drools-eclipse/customTargets.xml
===================================================================
--- labs/jbossrules/trunk/drools-eclipse/customTargets.xml	2007-04-08 07:46:54 UTC (rev 10820)
+++ labs/jbossrules/trunk/drools-eclipse/customTargets.xml	2007-04-08 07:49:03 UTC (rev 10821)
@@ -180,8 +180,11 @@
 	<!-- ===================================================================== -->
 	<!-- Steps to do to test the build results -->
 	<!-- ===================================================================== -->
-  <target name="test" if="runTests">
-  
+  <target name="test" >
+    <!--cleanup -->
+    <delete file="${base}/eclipse/org.drools.eclipse*.xml" />
+    <delete dir="${base}/eclipse/test-workspace"/>
+
     <delete dir="${base}/eclipse/plugins/org.drools.eclipse.test_${jbossRulesVersion}"/>
     <delete file="${base}/eclipse/plugins/org.drools.eclipse_${jbossRulesVersion}.jar" />
   
@@ -189,12 +192,13 @@
            dest="${base}/eclipse"/>
     <unzip src="${buildDirectory}/${buildLabel}/jbossrules-eclipse-test-${jbossRulesVersion}.zip" 
            dest="${base}/eclipse"/>    
-           
+<!-- pom: no need to do that now that the drools eclipse is properly configured 
+          to be jarred in its manifest and build.properties
     <mkdir  dir="${base}/eclipse/plugins/org.drools.eclipse.test_${jbossRulesVersion}" />
     <unzip src="${base}/eclipse/plugins/org.drools.eclipse.test_${jbossRulesVersion}.jar"
            dest="${base}/eclipse/plugins/org.drools.eclipse.test_${jbossRulesVersion}" />           
     <delete file="${base}/eclipse/plugins/org.drools.eclipse.test_${jbossRulesVersion}.jar" />
-    
+-->    
     <ant antfile="${base}/eclipse/plugins/org.drools.eclipse.test_${jbossRulesVersion}/test.xml">        
       <property name="os" value="${baseos}" />
       <property name="ws" value="${basews}" />




More information about the jboss-svn-commits mailing list