From 6769d7af94335dd95210e8aa8afa10c3927eb2cb Mon Sep 17 00:00:00 2001
From: brinn <brinn>
Date: Fri, 4 Jan 2008 16:04:53 +0000
Subject: [PATCH] add: ant target and eclipse launch location for local
 integration tests

SVN: 3280
---
 integration-tests/build/build.xml             |  7 ++++++
 .../Launch local integration tests.launch     | 22 +++++++++++++++++++
 2 files changed, 29 insertions(+)
 create mode 100644 integration-tests/resource/eclipse/Launch local integration tests.launch

diff --git a/integration-tests/build/build.xml b/integration-tests/build/build.xml
index f4d448b496b..f9bf65fe7d3 100644
--- a/integration-tests/build/build.xml
+++ b/integration-tests/build/build.xml
@@ -55,6 +55,13 @@
 		</antcall>
 	</target>
 
+	<target name="integration-tests-local" description="Runs integration tests, rebuild everything from wc.">
+		<antcall target="internal-launch">
+			<param name="arg1" value="--all" />
+			<param name="arg2" value="--local-source" />
+		</antcall>
+	</target>
+
 	<!--
 	// Cleans 'install' and 'playground' directories.
 	-->
diff --git a/integration-tests/resource/eclipse/Launch local integration tests.launch b/integration-tests/resource/eclipse/Launch local integration tests.launch
new file mode 100644
index 00000000000..dd5f03c0671
--- /dev/null
+++ b/integration-tests/resource/eclipse/Launch local integration tests.launch	
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntLaunchConfigurationType">
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="true"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/integration-tests/build/build.xml"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
+<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
+<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.5.0_11"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.ui.antsupport.InternalAntRunner"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="integration-tests"/>
+<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_TARGETS" value="integration-tests-local,"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/integration-tests/build/build.xml}"/>
+<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
+</launchConfiguration>
-- 
GitLab