[jboss-svn-commits] JBL Code SVN: r10978 - in labs/jbossrules/trunk/drools-eclipse: drools-eclipse-test and 1 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Sun Apr 15 06:54:47 EDT 2007
Author: mark.proctor at jboss.com
Date: 2007-04-15 06:54:47 -0400 (Sun, 15 Apr 2007)
New Revision: 10978
Modified:
labs/jbossrules/trunk/drools-eclipse/drools-eclipse-test/src/test/java/org/drools/eclipse/editors/DSLAdapterTest.java
labs/jbossrules/trunk/drools-eclipse/drools-eclipse-test/test.xml
labs/jbossrules/trunk/drools-eclipse/pom.xml
Log:
JBRULES-761 Automate the Eclipse build
-Update the pom to not delete .svn
-rename the AllTests xml output to prefix with TEST-
-Added a purposefully failing unit test to see how hudson reacts.
Modified: labs/jbossrules/trunk/drools-eclipse/drools-eclipse-test/src/test/java/org/drools/eclipse/editors/DSLAdapterTest.java
===================================================================
--- labs/jbossrules/trunk/drools-eclipse/drools-eclipse-test/src/test/java/org/drools/eclipse/editors/DSLAdapterTest.java 2007-04-14 19:46:58 UTC (rev 10977)
+++ labs/jbossrules/trunk/drools-eclipse/drools-eclipse-test/src/test/java/org/drools/eclipse/editors/DSLAdapterTest.java 2007-04-15 10:54:47 UTC (rev 10978)
@@ -9,6 +9,9 @@
public class DSLAdapterTest extends TestCase {
public void testFindExpander() {
+ if ( true ) {
+ fail( "fail on purpose" );
+ }
StringBuffer buf = largeString();
Modified: labs/jbossrules/trunk/drools-eclipse/drools-eclipse-test/test.xml
===================================================================
--- labs/jbossrules/trunk/drools-eclipse/drools-eclipse-test/test.xml 2007-04-14 19:46:58 UTC (rev 10977)
+++ labs/jbossrules/trunk/drools-eclipse/drools-eclipse-test/test.xml 2007-04-15 10:54:47 UTC (rev 10978)
@@ -40,5 +40,7 @@
<copy todir="${base}/surefire-reports">
<fileset dir="${eclipse-home}" includes="org*.xml"/>
</copy>
+
+ <rename src="${base}/surefire-reports/org.drools.eclipse.AllTests.xml" dest="${base}/surefire-reports/TEST-org.drools.eclipse.AllTests.xml"/>
</target>
</project>
\ No newline at end of file
Modified: labs/jbossrules/trunk/drools-eclipse/pom.xml
===================================================================
--- labs/jbossrules/trunk/drools-eclipse/pom.xml 2007-04-14 19:46:58 UTC (rev 10977)
+++ labs/jbossrules/trunk/drools-eclipse/pom.xml 2007-04-15 10:54:47 UTC (rev 10978)
@@ -24,7 +24,7 @@
<configuration>
<tasks>
<delete>
- <fileset dir="drools-eclipse-plugin/lib" includes="**/*.jar" />
+ <fileset dir="drools-eclipse-plugin/lib" includes="**/*.jar" excludes="**/.svn" />
</delete>
</tasks>
</configuration>
More information about the jboss-svn-commits
mailing list