include PDE into target platform to work around the eternal launch times

Launching the Vex plug-in tests in the IDE requires the plug-in
org.eclipse.pde.junit.runtime. If the JUnitLaunchConfigurationDelegate
cannot find this plug-in in the target platform, it searches in the p2
cache. This can take very long (> 10 minutes) if you have the plug-ins
of several installations in the p2 cache.

To avoid this long launch times, we add the PDE to the target platform.

Change-Id: Ib5dbceccc0c2ed151b2dfa32897785a3eff4f4c6
Signed-off-by: Florian Thienel <florian@thienel.org>
diff --git a/org.eclipse.vex.releng/Vex.launch b/org.eclipse.vex.releng/Vex.launch
index 4ac95bb..c9c380d 100644
--- a/org.eclipse.vex.releng/Vex.launch
+++ b/org.eclipse.vex.releng/Vex.launch
@@ -6,7 +6,7 @@
 <booleanAttribute key="automaticValidate" value="false"/>
 <stringAttribute key="bootstrap" value=""/>
 <stringAttribute key="checked" value="[NONE]"/>
-<booleanAttribute key="clearConfig" value="false"/>
+<booleanAttribute key="clearConfig" value="true"/>
 <booleanAttribute key="clearws" value="false"/>
 <booleanAttribute key="clearwslog" value="false"/>
 <stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/Vex"/>
@@ -17,7 +17,7 @@
 <stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
 <stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -console"/>
 <stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
-<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dosgi.checkConfiguration=false"/>
+<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-verbose:gc"/>
 <stringAttribute key="pde.version" value="3.3"/>
 <stringAttribute key="product" value="org.eclipse.platform.ide"/>
 <stringAttribute key="selected_target_plugins" value="org.eclipse.emf.ecore.change*2.5.0.v200906151043@default:default,org.eclipse.team.core*3.5.1.r35x_20100113-0800@default:default,org.eclipse.team.ui*3.5.0.I20090430-0408@default:default,org.eclipse.core.databinding.property*1.2.0.M20090819-0800@default:default,org.eclipse.update.configurator*3.3.0.v20090312@3:true,org.eclipse.wst.dtd.core*1.1.300.v200904181727@default:default,org.eclipse.ant.core*3.2.101.v20091110_r352@default:default,javax.xml*1.3.4.v201005080400@default:default,org.eclipse.osgi*3.5.2.R35x_v20100126@-1:true,org.eclipse.equinox.preferences*3.2.301.R35x_v20091117@default:default,org.eclipse.equinox.p2.core*1.0.101.R35x_v20090819@default:default,org.eclipse.wst.common.emfworkbench.integration*1.1.301.v200908101600@default:default,org.eclipse.wst.common.uriresolver*1.1.301.v200805140415@default:default,org.eclipse.compare.core*3.5.0.I20090430-0408@default:default,org.eclipse.ui.navigator*3.4.2.M20100120-0800@default:default,javax.activation*1.1.0.v201005080500@default:default,org.eclipse.update.ui*3.2.201.R35x_v20090813@default:default,javax.servlet*2.5.0.v200910301333@default:default,org.eclipse.jface*3.5.2.M20100120-0800@default:default,org.eclipse.ltk.ui.refactoring*3.4.101.r352_v20100209@default:default,org.eclipse.equinox.app*1.2.1.R35x_v20091203@default:default,org.eclipse.wst.common.core*1.1.201.v200806010600@default:default,org.eclipse.core.jobs*3.4.100.v20090429-1800@default:default,org.eclipse.help*3.4.1.v20090805_35x@default:default,org.eclipse.jface.text*3.5.2.r352_v20091118-0800@default:default,org.eclipse.core.variables*3.2.200.v20090521@default:default,org.eclipse.update.core*3.2.300.v20090525@default:default,org.eclipse.ltk.core.refactoring*3.5.0.v20090513-2000@default:default,org.eclipse.equinox.transforms.hook@default:false,org.eclipse.ui.intro*3.3.2.v20100111_35x@default:default,org.slf4j.api@default:default,org.eclipse.wst.common.environment*1.0.301.v200908101600@default:default,org.eclipse.equinox.concurrent*1.0.1.R35x_v20100209@default:default,org.eclipse.core.net.win32.x86_64*1.0.0.I20090306-1030@default:false,org.eclipse.ui.views*3.4.1.M20090826-0800@default:default,org.eclipse.emf.ecore*2.5.0.v200906151043@default:default,org.apache.xerces*2.9.0.v200909240008@default:default,org.eclipse.jface.databinding*1.3.1.M20090826-0800@default:default,org.eclipse.wst.common.emf*1.1.301.v200908181930@default:default,org.eclipse.core.commands*3.5.0.I20090525-2000@default:default,org.eclipse.ui.navigator.resources*3.4.1.M20090826-0800@default:default,com.ibm.icu*4.0.1.v20090822@default:default,org.eclipse.emf.common*2.5.0.v200906151043@default:default,org.eclipse.equinox.http.jetty*2.0.0.v20090520-1800@default:default,org.eclipse.ui.cheatsheets*3.3.200.v20090526@default:default,org.eclipse.swt.win32.win32.x86_64*3.5.2.v3557f@default:false,org.eclipse.jem.util*2.0.201.v201001252130@default:default,org.eclipse.core.net*1.2.1.r35x_20090812-1200@default:default,org.eclipse.core.runtime.compatibility*3.2.0.v20090413@default:default,org.eclipse.ui.ide*3.5.2.M20100113-0800@default:default,org.eclipse.ecf*3.0.0.v20090831-1906@default:default,org.eclipse.text*3.5.0.v20090513-2000@default:default,ch.qos.logback.core@default:default,org.eclipse.equinox.security*1.0.100.v20090520-1800@default:default,org.eclipse.emf.edit*2.5.0.v200906151043@default:default,org.eclipse.equinox.p2.metadata*1.0.101.R35x_v20100112@default:default,javax.mail.glassfish@default:default,org.eclipse.debug.core*3.5.1.v20091103_r352@default:default,ch.qos.logback.classic@default:default,org.eclipse.ui.console*3.4.0.v20090513@default:default,org.apache.xml.serializer*2.7.1.v200902170519@default:default,org.eclipse.platform*3.3.202.v201002111343@default:default,org.eclipse.ui.forms*3.4.1.v20090714_35x@default:default,org.eclipse.search*3.5.1.r351_v20090708-0800@default:default,org.eclipse.ecf.provider.filetransfer*3.0.1.v20090831-1906@default:default,org.eclipse.equinox.p2.jarprocessor*1.0.100.v20090520-1905@default:default,org.apache.ant*1.7.1.v20090120-1145@default:default,org.eclipse.ecf.provider.filetransfer.ssl*1.0.0.v20090831-1906@default:false,org.eclipse.osgi.services*3.2.0.v20090520-1800@default:default,org.w3c.css.sac*1.3.1.v200903091627@default:default,org.mortbay.jetty.util*6.1.15.v200905182336@default:default,ch.qos.logback.slf4j@default:false,org.eclipse.ecf.identity*3.0.0.v20090831-1906@default:default,org.eclipse.equinox.p2.metadata.repository*1.0.101.R35x_v20090812@default:default,org.eclipse.ui.editors*3.5.0.v20090527-2000@default:default,org.eclipse.ecf.ssl*1.0.0.v20090831-1906@default:false,org.eclipse.core.filesystem*1.2.1.R35x_v20091203-1235@default:default,org.mortbay.jetty.server*6.1.15.v200905151201@default:default,org.eclipse.ui.workbench.texteditor*3.5.1.r352_v20100105@default:default,org.eclipse.update.core.win32*3.2.100.v20080107@default:false,org.eclipse.wst.common.project.facet.core*1.4.1.v200911141735@default:default,org.eclipse.compare*3.5.2.r35x_20100113-0800@default:default,org.eclipse.ui.views.properties.tabbed*3.5.0.I20090429-1800@default:default,org.eclipse.equinox.registry*3.4.100.v20090520-1800@default:default,org.eclipse.debug.ui*3.5.2.v20091028_r352@default:default,org.eclipse.help.base*3.4.0.v201002111343@default:default,org.eclipse.ui.intro.universal*3.2.300.v20090526@default:default,org.eclipse.wst.common.frameworks*1.1.300.v200904160730@default:default,org.eclipse.core.runtime*3.5.0.v20090525@default:true,org.eclipse.osgi.util*3.2.0.v20090520-1800@default:default,org.eclipse.core.runtime.compatibility.registry*3.2.200.v20090429-1800@default:false,org.eclipse.ecf.filetransfer*3.0.0.v20090831-1906@default:default,org.eclipse.equinox.http.servlet*1.0.200.v20090520-1800@default:default,org.eclipse.core.resources*3.5.2.R35x_v20091203-1235@default:default,org.apache.commons.logging*1.0.4.v200904062259@default:default,org.eclipse.wst.sse.core*1.1.402.v201001251516@default:default,org.apache.jasper*5.5.17.v200903231320@default:default,org.eclipse.wst.xml.ui*1.1.2.v201001222130@default:default,org.eclipse.core.databinding*1.2.0.M20090819-0800@default:default,org.eclipse.wst.validation*1.2.104.v200911120201@default:default,org.junit*3.8.2.v20090203-1005@default:default,org.apache.commons.el*1.0.0.v200806031608@default:default,org.eclipse.equinox.p2.repository*1.0.1.v20090901-1041@default:default,org.eclipse.ui.ide.application*1.0.101.M20090826-0800@default:default,org.eclipse.emf.ecore.edit*2.5.0.v200906151043@default:default,org.eclipse.help.ui*3.4.1.v20090819_35x@default:default,org.eclipse.equinox.p2.engine*1.0.102.R35x_v20091117@default:default,org.eclipse.core.runtime.compatibility.auth*3.2.100.v20090413@default:default,org.eclipse.wst.common.ui*1.1.402.v200901262305@default:default,org.eclipse.ui.workbench*3.5.2.M20100113-0800@default:default,org.eclipse.core.contenttype*3.4.1.R35x_v20090826-0451@default:default,org.apache.xml.resolver*1.2.0.v200902170519@default:default,javax.servlet.jsp@default:default,org.eclipse.core.resources.compatibility*3.4.1.R35x_v20100113-0530@default:false,org.eclipse.core.filesystem.win32.x86_64*1.1.0.v20090316-0910@default:false,org.eclipse.wst.sse.ui*1.1.102.v200910200227@default:default,org.eclipse.emf.ecore.xmi*2.5.0.v200906151043@default:default,org.apache.lucene.analysis*1.9.1.v20080530-1600@default:default,org.eclipse.swt*3.5.2.v3557f@default:default,org.eclipse.ui.win32*3.2.100.v20090429-1800@default:false,org.eclipse.wst.xml.core*1.1.402.v201001222130@default:default,org.eclipse.equinox.p2.artifact.repository*1.0.101.R35x_v20090721@default:default,org.eclipse.ui*3.5.2.M20100120-0800@default:default,org.eclipse.equinox.common*3.5.1.R35x_v20090807-1100@2:true,org.apache.lucene*1.9.1.v20080530-1600@default:default,org.eclipse.core.expressions*3.4.101.R35x_v20100209@default:default,org.eclipse.core.databinding.observable*1.2.0.M20090902-0800@default:default,org.eclipse.core.filebuffers*3.5.0.v20090526-2000@default:default"/>
diff --git a/org.eclipse.vex.releng/Vex.setup b/org.eclipse.vex.releng/Vex.setup
index 24bafde..dd36256 100644
--- a/org.eclipse.vex.releng/Vex.setup
+++ b/org.eclipse.vex.releng/Vex.setup
@@ -101,6 +101,8 @@
         <requirement
             name="org.eclipse.jdt.feature.group"/>
         <requirement
+            name="org.eclipse.pde.feature.group"/>
+        <requirement
             name="org.eclipse.wst.xml_ui.feature.feature.group"/>
         <requirement
             name="org.eclipse.vex.feature.feature.group"/>
diff --git a/org.eclipse.vex.releng/kepler.target b/org.eclipse.vex.releng/kepler.target
index 10ab722..2258ff5 100644
--- a/org.eclipse.vex.releng/kepler.target
+++ b/org.eclipse.vex.releng/kepler.target
@@ -1,19 +1,20 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>

-<?pde version="3.8"?><target name="Vex (based on Kepler)" sequenceNumber="31">

+<?pde version="3.8"?><target name="Vex (based on Kepler)" sequenceNumber="32">

 <locations>

 <location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">

 <unit id="org.eclipse.platform.ide" version="4.3.0.I20130605-2000"/>

 <repository location="http://download.eclipse.org/eclipse/updates/4.3"/>

 </location>

 <location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">

-<unit id="org.eclipse.jdt.feature.group" version="3.9.0.v20130605-2000"/>

-<unit id="org.eclipse.wst.xml_ui.feature.feature.group" version="3.5.0.v201301022000-7H7IFisDxumVt037ridXmVSgs8DdRZKtSyS6PL"/>

-<repository location="http://download.eclipse.org/releases/kepler"/>

-</location>

-<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">

 <unit id="org.apache.batik.css" version="1.7.0.v201011041433"/>

 <repository location="http://download.eclipse.org/modeling/emf/cdo/orbit/latest-R"/>

 </location>

+<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">

+<unit id="org.eclipse.wst.xml_ui.feature.feature.group" version="3.5.2.v201401062113-7H7IFizDxumVu0K6bjdPjXRkoz0FiUYMnSyT9PL"/>

+<unit id="org.eclipse.pde.feature.group" version="3.9.1.v20140221-1700"/>

+<unit id="org.eclipse.jdt.feature.group" version="3.9.2.v20140221-1700"/>

+<repository location="http://download.eclipse.org/releases/kepler"/>

+</location>

 </locations>

 <targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>

 </target>

diff --git a/org.eclipse.vex.releng/luna.target b/org.eclipse.vex.releng/luna.target
index d7c93f7..0b8d471 100644
--- a/org.eclipse.vex.releng/luna.target
+++ b/org.eclipse.vex.releng/luna.target
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>

-<?pde version="3.8"?><target name="Vex (based on Luna)" sequenceNumber="34">

+<?pde version="3.8"?><target name="Vex (based on Luna)" sequenceNumber="35">

 <locations>

 <location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">

 <unit id="org.apache.batik.css" version="1.7.0.v201011041433"/>

@@ -10,8 +10,9 @@
 <repository location="http://download.eclipse.org/eclipse/updates/4.4"/>

 </location>

 <location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">

-<unit id="org.eclipse.jdt.feature.group" version="3.10.0.v20140606-1536"/>

-<unit id="org.eclipse.wst.xml_ui.feature.feature.group" version="3.6.0.v201405062148-7H7NFm0DxumWv9-7bhgNooiVMQ_TBruLpRz012TF"/>

+<unit id="org.eclipse.jdt.feature.group" version="3.10.1.v20150204-1700"/>

+<unit id="org.eclipse.pde.feature.group" version="3.10.1.v20150204-1700"/>

+<unit id="org.eclipse.wst.xml_ui.feature.feature.group" version="3.6.3.v201501292352"/>

 <repository location="http://download.eclipse.org/releases/luna"/>

 </location>

 </locations>

diff --git a/org.eclipse.vex.releng/mars.target b/org.eclipse.vex.releng/mars.target
index f966706..663b75b 100644
--- a/org.eclipse.vex.releng/mars.target
+++ b/org.eclipse.vex.releng/mars.target
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<?pde version="3.8"?><target name="Vex (based on Mars)" sequenceNumber="37">
+<?pde version="3.8"?><target name="Vex (based on Mars)" sequenceNumber="38">
 <locations>
 <location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
 <unit id="org.apache.batik.css" version="1.7.0.v201011041433"/>
@@ -10,8 +10,9 @@
 <repository location="http://download.eclipse.org/eclipse/updates/4.5"/>
 </location>
 <location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
-<unit id="org.eclipse.wst.xml_ui.feature.feature.group" version="3.7.0.v201505141512"/>
-<unit id="org.eclipse.jdt.feature.group" version="3.11.0.v20150603-2000"/>
+<unit id="org.eclipse.wst.xml_ui.feature.feature.group" version="3.7.1.v201508271605"/>
+<unit id="org.eclipse.jdt.feature.group" version="3.11.1.v20150904-0015"/>
+<unit id="org.eclipse.pde.feature.group" version="3.11.1.v20150904-0345"/>
 <repository location="http://download.eclipse.org/releases/mars"/>
 </location>
 </locations>