[jboss-svn-commits] JBL Code SVN: r10798 - labs/jbossrules/trunk/drools-eclipse/drools-eclipse-test/src/test/java/org/drools/eclipse.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Apr 6 03:52:44 EDT 2007


Author: pombredanne
Date: 2007-04-06 03:52:44 -0400 (Fri, 06 Apr 2007)
New Revision: 10798

Modified:
   labs/jbossrules/trunk/drools-eclipse/drools-eclipse-test/src/test/java/org/drools/eclipse/AllTestsUtil.java
Log:
JBRULES-761 Automate the Eclipse build
-a quick fix to the test suite collector code so that the right plugin id is referenced. Hard coded for now.


Modified: labs/jbossrules/trunk/drools-eclipse/drools-eclipse-test/src/test/java/org/drools/eclipse/AllTestsUtil.java
===================================================================
--- labs/jbossrules/trunk/drools-eclipse/drools-eclipse-test/src/test/java/org/drools/eclipse/AllTestsUtil.java	2007-04-06 06:08:46 UTC (rev 10797)
+++ labs/jbossrules/trunk/drools-eclipse/drools-eclipse-test/src/test/java/org/drools/eclipse/AllTestsUtil.java	2007-04-06 07:52:44 UTC (rev 10798)
@@ -104,8 +104,13 @@
 	 * to the name of the package that the AllTests class is in for ease of
 	 * management but may be trivially changed if required.
 	 */
-	public static final String PLUGIN_NAME = AllTests.class.getPackage()
-			.getName();
+	
+	//PO: this is wrong. we need to use the PLUGIN_ID of the host, not that of the 
+	// fragment
+//	public static final String PLUGIN_NAME = AllTests.class.getPackage()
+//	.getName();
+	public static final String PLUGIN_NAME = "org.drools.eclipse";
+	
 	/**
 	 * Add the tests reported by collector to the list of tests to run
 	 * @param collector the test collector to run




More information about the jboss-svn-commits mailing list