uninstall 3.5 test plugin
diff --git a/org.eclipse.ajdt.releng/buildAll.xml b/org.eclipse.ajdt.releng/buildAll.xml
index 2192f90..7b23516 100644
--- a/org.eclipse.ajdt.releng/buildAll.xml
+++ b/org.eclipse.ajdt.releng/buildAll.xml
@@ -375,6 +375,11 @@
<mkdir dir="${build.dest}/target/test_framework"/>
<unzip src="${builder}/build_bundles/${eclipse.test.framework.version}" dest="${build.dest}/target/test_framework" />
+ <uninstall-bundle-version
+ eclipse.loc="${build.dest}/target/eclipse"
+ updatesite.url="file:${build.dest}/target/test_framework"
+ feature.id="org.eclipse.test" version="3.5.0"/>
+
<install-bundle-version
eclipse.loc="${build.dest}/target/eclipse"
updatesite.url="file:${build.dest}/target/test_framework"
diff --git a/org.eclipse.ajdt.releng/provisioning_support/get-dependencies.xml b/org.eclipse.ajdt.releng/provisioning_support/get-dependencies.xml
index 69e30da..a6a6924 100644
--- a/org.eclipse.ajdt.releng/provisioning_support/get-dependencies.xml
+++ b/org.eclipse.ajdt.releng/provisioning_support/get-dependencies.xml
@@ -10,6 +10,32 @@
Andrew Eisenberg - install-bundle macro
-->
<project name="Download files and provide provisioning for existing eclipse installatins">
+ <macrodef name="uninstall-bundle-version" description="Install a bundle into a given Eclipse">
+ <attribute name="eclipse.loc" />
+ <attribute name="updatesite.url" />
+ <attribute name="feature.id" />
+ <attribute name="version" />
+
+ <sequential>
+ <echo message="Uninstalling @{feature.id} version @{version} into @{eclipse.loc} from @{updatesite.url}" />
+ <java fork="true" failonerror="true"
+ classname="org.eclipse.core.launcher.Main">
+
+ <arg line= "-application org.eclipse.equinox.p2.director" />
+ <arg line= "-metadataRepository @{updatesite.url}" />
+ <arg line= "-artifactRepository @{updatesite.url}" />
+ <arg line= "-uninstallIU @{feature.id}.feature.group/@{version}" />
+ <arg value="-nosplash" />
+
+ <classpath>
+ <fileset dir="@{eclipse.loc}/plugins">
+ <include name="org.eclipse.equinox.launcher_*.jar"/>
+ </fileset>
+ </classpath>
+ </java>
+ </sequential>
+ </macrodef>
+
<macrodef name="install-bundle-version" description="Install a bundle into a given Eclipse">
<attribute name="eclipse.loc" />
<attribute name="updatesite.url" />