build: adjust test configuration in poms, remove old build scripts
diff --git a/core/tests/org.eclipse.dltk.core.tests/build.properties b/core/tests/org.eclipse.dltk.core.tests/build.properties
index 536d05d..4378578 100644
--- a/core/tests/org.eclipse.dltk.core.tests/build.properties
+++ b/core/tests/org.eclipse.dltk.core.tests/build.properties
@@ -14,5 +14,4 @@
                plugin.xml,\
                workspace/,\
                plugin.properties,\
-               about.html,\
-               test.xml
+               about.html
diff --git a/core/tests/org.eclipse.dltk.core.tests/pom.xml b/core/tests/org.eclipse.dltk.core.tests/pom.xml
index e0cf2e1..c84d1c7 100644
--- a/core/tests/org.eclipse.dltk.core.tests/pom.xml
+++ b/core/tests/org.eclipse.dltk.core.tests/pom.xml
@@ -20,10 +20,8 @@
 				<artifactId>tycho-surefire-plugin</artifactId>
 				<version>${tycho-version}</version>
 				<configuration>
-					<testSuite>org.eclipse.dltk.core.tests</testSuite>
+					<testSuite>${project.artifactId}</testSuite>
 					<testClass>org.eclipse.dltk.core.tests.AllTests</testClass>
-					<failIfNoTests>false</failIfNoTests>
-					<testIgnoreFailure>true</testIgnoreFailure>
 					<dependencies>
 						<dependency>
 							<type>p2-installable-unit</type>
diff --git a/core/tests/org.eclipse.dltk.core.tests/test.xml b/core/tests/org.eclipse.dltk.core.tests/test.xml
deleted file mode 100644
index 9539f2c..0000000
--- a/core/tests/org.eclipse.dltk.core.tests/test.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-<?xml version="1.0"?>
-
-<project name="testsuite" default="run" basedir=".">
-	<!-- The property ${eclipse-home} should be passed into this script -->
-	<!-- Set a meaningful default value for when it is not. -->
-	<property name="eclipse-home" value="${basedir}\..\.." />
-
-	<!-- sets the properties eclipse-home, and library-file -->
-	<property name="plugin-name" value="org.eclipse.dltk.core.tests" />
-	<property name="library-file" value="${eclipse-home}/plugins/org.eclipse.test_3.2.0/library.xml" />
-
-	<property name="workspace" value="${basedir}/${plugin-name}/workspace" />
-
-	<!-- This target holds all initialization code that needs to be done for -->
-	<!-- all tests that are to be run. Initialization for individual tests -->
-	<!-- should be done within the body of the suite target. -->
-	<target name="init">
-		<tstamp />
-		<delete>
-			<fileset dir="${eclipse-home}" includes="org*.xml" />
-		</delete>
-	</target>
-
-	<!-- This target defines the tests that need to be run. -->
-	<target name="suite">
-		<delete dir="${workspace}" quiet="true" />
-		<echo message="fourdman: core-tests internal test.xml 1" />
-		<ant target="core-test" antfile="${library-file}" dir="${eclipse-home}">
-			<property name="data-dir" value="${workspace}" />
-			<property name="plugin-name" value="${plugin-name}" />
-			<property name="classname" value="org.eclipse.dltk.core.tests.AllTests" />
-		</ant>
-	</target>
-
-	<!-- This target holds code to cleanup the testing environment after -->
-	<!-- after all of the tests have been run. You can use this target to -->
-	<!-- delete temporary files that have been created. -->
-	<target name="cleanup">
-		<delete dir="${workspace}" quiet="true" />
-	</target>
-
-	<!-- This target runs the test suite. Any actions that need to happen -->
-	<!-- after all the tests have been run should go here. -->
-	<target name="run" depends="init,suite,cleanup">
-		<ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
-			<property name="includes" value="org*.xml" />
-			<property name="output-file" value="${plugin-name}.xml" />
-		</ant>
-	</target>
-
-</project>
-
-
-
diff --git a/core/tests/org.eclipse.dltk.debug.tests/build.properties b/core/tests/org.eclipse.dltk.debug.tests/build.properties
index 4ced5d6..1284bfa 100644
--- a/core/tests/org.eclipse.dltk.debug.tests/build.properties
+++ b/core/tests/org.eclipse.dltk.debug.tests/build.properties
@@ -13,5 +13,4 @@
                .,\
                workspace/,\
                plugin.properties,\
-               about.html,\
-               test.xml
+               about.html
diff --git a/core/tests/org.eclipse.dltk.debug.tests/pom.xml b/core/tests/org.eclipse.dltk.debug.tests/pom.xml
index 9149631..07f419b 100644
--- a/core/tests/org.eclipse.dltk.debug.tests/pom.xml
+++ b/core/tests/org.eclipse.dltk.debug.tests/pom.xml
@@ -19,10 +19,8 @@
 				<artifactId>tycho-surefire-plugin</artifactId>
 				<version>${tycho-version}</version>
 				<configuration>
-					<testSuite>org.eclipse.dltk.debug.tests</testSuite>
+					<testSuite>${project.artifactId}</testSuite>
 					<testClass>org.eclipse.dltk.debug.tests.AllTests</testClass>
-					<failIfNoTests>false</failIfNoTests>
-					<testIgnoreFailure>true</testIgnoreFailure>
 					<dependencies>
 						<dependency>
 							<type>p2-installable-unit</type>
diff --git a/core/tests/org.eclipse.dltk.debug.tests/test.xml b/core/tests/org.eclipse.dltk.debug.tests/test.xml
deleted file mode 100644
index da5bba6..0000000
--- a/core/tests/org.eclipse.dltk.debug.tests/test.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-<?xml version="1.0"?>
-
-<project name="testsuite" default="run" basedir=".">
-  <!-- The property ${eclipse-home} should be passed into this script -->
-  <!-- Set a meaningful default value for when it is not. -->
-  <property name="eclipse-home" value="${basedir}\..\.."/>
-
-  <!-- sets the properties eclipse-home, and library-file -->
-  <property name="plugin-name" value="org.eclipse.dltk.debug.tests"/>
-  <property name="library-file" value="${eclipse-home}/plugins/org.eclipse.test_3.2.0/library.xml"/>
-            
-  <property name="workspace" value="${basedir}/${plugin-name}"/>
-
-  <!-- This target holds all initialization code that needs to be done for -->
-  <!-- all tests that are to be run. Initialization for individual tests -->
-  <!-- should be done within the body of the suite target. -->
-  <target name="init">
-    <tstamp/>
-    <delete>
-      <fileset dir="${eclipse-home}" includes="org*.xml"/>
-    </delete>
-  </target>
-
-  <!-- This target defines the tests that need to be run. -->
-  <target name="suite">
-    <delete dir="${workspace}" quiet="true"/>
-    
-    <ant target="core-test" antfile="${library-file}" dir="${eclipse-home}">
-      <property name="data-dir" value="${workspace}"/>
-      <property name="plugin-name" value="${plugin-name}"/>
-      <property name="classname" value="org.eclipse.dltk.debug.tests.AllTests"/>
-    </ant>
-  </target>
-    
-  <!-- This target holds code to cleanup the testing environment after -->
-  <!-- after all of the tests have been run. You can use this target to -->
-  <!-- delete temporary files that have been created. -->
-  <target name="cleanup">
-	<delete dir="${workspace}" quiet="true"/>
-  </target>
-
-  <!-- This target runs the test suite. Any actions that need to happen -->
-  <!-- after all the tests have been run should go here. -->
-  <target name="run" depends="init,suite,cleanup">
-    <ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
-      <property name="includes" value="org*.xml"/>
-      <property name="output-file" value="${plugin-name}.xml"/>
-    </ant>
-  </target>
-
-</project>
-
-
-
diff --git a/core/tests/org.eclipse.dltk.debug.ui.tests/test.xml b/core/tests/org.eclipse.dltk.debug.ui.tests/test.xml
deleted file mode 100644
index 20b11a5..0000000
--- a/core/tests/org.eclipse.dltk.debug.ui.tests/test.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0"?>
-
-<project name="testsuite" default="run" basedir=".">
-  <!-- The property ${eclipse-home} should be passed into this script -->
-  <!-- Set a meaningful default value for when it is not. -->
-  <property name="eclipse-home" value="${basedir}\..\.."/>
-
-  <!-- sets the properties eclipse-home, and library-file -->
-  <property name="plugin-name" value="org.eclipse.dltk.debug.ui.tests"/>
-  <property name="library-file" value="${eclipse-home}/plugins/org.eclipse.test_3.2.0/library.xml"/>
-            
-  <property name="workspace" value="${basedir}/${plugin-name}/workspace"/>
-
-  <!-- This target holds all initialization code that needs to be done for -->
-  <!-- all tests that are to be run. Initialization for individual tests -->
-  <!-- should be done within the body of the suite target. -->
-  <target name="init">
-    <tstamp/>
-    <delete>
-      <fileset dir="${eclipse-home}" includes="org*.xml"/>
-    </delete>
-  </target>
-
-  <!-- This target defines the tests that need to be run. -->
-  <target name="suite">
-    <delete dir="${workspace}" quiet="true"/>
-    
-    <ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
-      <property name="data-dir" value="${workspace}"/>
-      <property name="plugin-name" value="${plugin-name}"/>
-      <property name="classname" value="org.eclipse.dltk.ui.tests.AllTests"/>
-    </ant>
-  </target>
-    
-  <!-- This target holds code to cleanup the testing environment after -->
-  <!-- after all of the tests have been run. You can use this target to -->
-  <!-- delete temporary files that have been created. -->
-  <target name="cleanup">
-	<delete dir="${workspace}" quiet="true"/>
-  </target>
-
-  <!-- This target runs the test suite. Any actions that need to happen -->
-  <!-- after all the tests have been run should go here. -->
-  <target name="run" depends="init,suite,cleanup">
-    <ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
-      <property name="includes" value="org*.xml"/>
-      <property name="output-file" value="${plugin-name}.xml"/>
-    </ant>
-  </target>
-
-</project>
-
diff --git a/core/tests/org.eclipse.dltk.formatter.tests/pom.xml b/core/tests/org.eclipse.dltk.formatter.tests/pom.xml
index 3003773..1e40a37 100644
--- a/core/tests/org.eclipse.dltk.formatter.tests/pom.xml
+++ b/core/tests/org.eclipse.dltk.formatter.tests/pom.xml
@@ -21,14 +21,6 @@
 				<configuration>
 					<testSuite>${project.artifactId}</testSuite>
 					<testClass>org.eclipse.dltk.formatter.tests.AllTests</testClass>
-					<failIfNoTests>false</failIfNoTests>
-					<testIgnoreFailure>true</testIgnoreFailure>
-					<dependencies>
-						<dependency>
-							<type>p2-installable-unit</type>
-							<artifactId>org.eclipse.platform.feature.group</artifactId>
-						</dependency>
-					</dependencies>
 				</configuration>
 			</plugin>
 		</plugins>
diff --git a/core/tests/org.eclipse.dltk.ui.tests/build.properties b/core/tests/org.eclipse.dltk.ui.tests/build.properties
index 5d0e3e0..bc0e0e6 100644
--- a/core/tests/org.eclipse.dltk.ui.tests/build.properties
+++ b/core/tests/org.eclipse.dltk.ui.tests/build.properties
@@ -13,8 +13,6 @@
                .,\
                plugin.xml,\
                testresources/,\
-               workspace/,\
                about.html,\
-               test.xml,\
                plugin.properties,\
                workspace/
diff --git a/core/tests/org.eclipse.dltk.ui.tests/pom.xml b/core/tests/org.eclipse.dltk.ui.tests/pom.xml
index cdbf8d7..2920135 100644
--- a/core/tests/org.eclipse.dltk.ui.tests/pom.xml
+++ b/core/tests/org.eclipse.dltk.ui.tests/pom.xml
@@ -20,10 +20,8 @@
 				<artifactId>tycho-surefire-plugin</artifactId>
 				<version>${tycho-version}</version>
 				<configuration>
-					<testSuite>org.eclipse.dltk.ui.tests</testSuite>
+					<testSuite>${project.artifactId}</testSuite>
 					<testClass>org.eclipse.dltk.ui.tests.AllTests</testClass>
-					<failIfNoTests>false</failIfNoTests>
-					<testIgnoreFailure>true</testIgnoreFailure>
 					<useUIHarness>true</useUIHarness>
 					<dependencies>
 						<dependency>
diff --git a/core/tests/org.eclipse.dltk.ui.tests/test.xml b/core/tests/org.eclipse.dltk.ui.tests/test.xml
deleted file mode 100644
index 68ebb41..0000000
--- a/core/tests/org.eclipse.dltk.ui.tests/test.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0"?>
-
-<project name="testsuite" default="run" basedir=".">
-  <!-- The property ${eclipse-home} should be passed into this script -->
-  <!-- Set a meaningful default value for when it is not. -->
-  <property name="eclipse-home" value="${basedir}\..\.."/>
-
-  <!-- sets the properties eclipse-home, and library-file -->
-  <property name="plugin-name" value="org.eclipse.dltk.ui.tests"/>
-  <property name="library-file" value="${eclipse-home}/plugins/org.eclipse.test_3.2.0/library.xml"/>
-            
-  <property name="workspace" value="${basedir}/${plugin-name}/workspace"/>
-
-  <!-- This target holds all initialization code that needs to be done for -->
-  <!-- all tests that are to be run. Initialization for individual tests -->
-  <!-- should be done within the body of the suite target. -->
-  <target name="init">
-    <tstamp/>
-    <delete>
-      <fileset dir="${eclipse-home}" includes="org*.xml"/>
-    </delete>
-  </target>
-
-  <!-- This target defines the tests that need to be run. -->
-  <target name="suite">
-    <delete dir="${workspace}" quiet="true"/>
-    
-    <ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
-      <property name="data-dir" value="${workspace}"/>
-      <property name="plugin-name" value="${plugin-name}"/>
-      <property name="classname" value="org.eclipse.dltk.ui.tests.AllTests"/>
-    </ant>
-  </target>
-    
-  <!-- This target holds code to cleanup the testing environment after -->
-  <!-- after all of the tests have been run. You can use this target to -->
-  <!-- delete temporary files that have been created. -->
-  <target name="cleanup">
-	<delete dir="${workspace}" quiet="true"/>
-  </target>
-
-  <!-- This target runs the test suite. Any actions that need to happen -->
-  <!-- after all the tests have been run should go here. -->
-  <target name="run" depends="init,suite,cleanup">
-    <ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
-      <property name="includes" value="org*.xml"/>
-      <property name="output-file" value="${plugin-name}.xml"/>
-    </ant>
-  </target>
-
-</project>
-
diff --git a/core/tests/org.eclipse.dltk.validators.core.tests/build.properties b/core/tests/org.eclipse.dltk.validators.core.tests/build.properties
index 49c6797..4c3b290 100644
--- a/core/tests/org.eclipse.dltk.validators.core.tests/build.properties
+++ b/core/tests/org.eclipse.dltk.validators.core.tests/build.properties
@@ -13,5 +13,4 @@
                .,\
                plugin.xml,\
                plugin.properties,\
-               about.html,\
-               test.xml
+               about.html
diff --git a/core/tests/org.eclipse.dltk.validators.core.tests/pom.xml b/core/tests/org.eclipse.dltk.validators.core.tests/pom.xml
index f673c7a..aa5bc1d 100644
--- a/core/tests/org.eclipse.dltk.validators.core.tests/pom.xml
+++ b/core/tests/org.eclipse.dltk.validators.core.tests/pom.xml
@@ -20,10 +20,8 @@
 				<artifactId>tycho-surefire-plugin</artifactId>
 				<version>${tycho-version}</version>
 				<configuration>
-					<testSuite>org.eclipse.dltk.validators.core.tests</testSuite>
+					<testSuite>${project.artifactId}</testSuite>
 					<testClass>org.eclipse.dltk.validators.core.tests.AllTests</testClass>
-					<failIfNoTests>false</failIfNoTests>
-					<testIgnoreFailure>true</testIgnoreFailure>
 					<dependencies>
 						<dependency>
 							<type>p2-installable-unit</type>
diff --git a/core/tests/org.eclipse.dltk.validators.core.tests/test.xml b/core/tests/org.eclipse.dltk.validators.core.tests/test.xml
deleted file mode 100644
index 2e6f01b..0000000
--- a/core/tests/org.eclipse.dltk.validators.core.tests/test.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-<?xml version="1.0"?>
-
-<project name="testsuite" default="run" basedir=".">
-	<!-- The property ${eclipse-home} should be passed into this script -->
-	<!-- Set a meaningful default value for when it is not. -->
-	<property name="eclipse-home" value="${basedir}\..\.." />
-
-	<!-- sets the properties eclipse-home, and library-file -->
-	<property name="plugin-name" value="org.eclipse.dltk.validators.core.tests" />
-	<property name="library-file" value="${eclipse-home}/plugins/org.eclipse.test_3.2.0/library.xml" />
-
-	<property name="workspace" value="${basedir}/${plugin-name}/workspace" />
-
-	<!-- This target holds all initialization code that needs to be done for -->
-	<!-- all tests that are to be run. Initialization for individual tests -->
-	<!-- should be done within the body of the suite target. -->
-	<target name="init">
-		<tstamp />
-		<delete>
-			<fileset dir="${eclipse-home}" includes="org*.xml" />
-		</delete>
-	</target>
-
-	<!-- This target defines the tests that need to be run. -->
-	<target name="suite">
-		<delete dir="${workspace}" quiet="true" />
-		<echo message="fourdman: validators core-tests internal test.xml 1" />
-		<ant target="core-test" antfile="${library-file}" dir="${eclipse-home}">
-			<property name="data-dir" value="${workspace}" />
-			<property name="plugin-name" value="${plugin-name}" />
-			<property name="classname" value="org.eclipse.dltk.validators.core.tests.AllTests" />
-		</ant>
-	</target>
-
-	<!-- This target holds code to cleanup the testing environment after -->
-	<!-- after all of the tests have been run. You can use this target to -->
-	<!-- delete temporary files that have been created. -->
-	<target name="cleanup">
-		<delete dir="${workspace}" quiet="true" />
-	</target>
-
-	<!-- This target runs the test suite. Any actions that need to happen -->
-	<!-- after all the tests have been run should go here. -->
-	<target name="run" depends="init,suite,cleanup">
-		<ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
-			<property name="includes" value="org*.xml" />
-			<property name="output-file" value="${plugin-name}.xml" />
-		</ant>
-	</target>
-
-</project>
-
-
-