Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulian Honnen2020-02-20 10:06:45 +0000
committerJulian Honnen2020-03-10 08:21:20 +0000
commit0529f88e4b453557231d44041baa147bb85bc50d (patch)
treebd279f5f9c7b0d28e79eb7ef17da55977b732f70
parent7087526a0ced403f855212644a5dab39df69d863 (diff)
downloadeclipse.pde.ui-0529f88e4b453557231d44041baa147bb85bc50d.tar.gz
eclipse.pde.ui-0529f88e4b453557231d44041baa147bb85bc50d.tar.xz
eclipse.pde.ui-0529f88e4b453557231d44041baa147bb85bc50d.zip
Bug 560623 - initialize pde.version attribute
Initialize attribute to avoid need for migration. Change-Id: Iacbe6490ee2d3cd37706e3bb2c8e0ac22b505667 Signed-off-by: Julian Honnen <julian.honnen@vector.com>
-rw-r--r--ui/org.eclipse.pde.ui/META-INF/MANIFEST.MF2
-rw-r--r--ui/org.eclipse.pde.ui/pom.xml2
-rw-r--r--ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/launcher/LaunchAction.java6
3 files changed, 8 insertions, 2 deletions
diff --git a/ui/org.eclipse.pde.ui/META-INF/MANIFEST.MF b/ui/org.eclipse.pde.ui/META-INF/MANIFEST.MF
index a18782d2fc..2ecadaaf4c 100644
--- a/ui/org.eclipse.pde.ui/META-INF/MANIFEST.MF
+++ b/ui/org.eclipse.pde.ui/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %name
Bundle-SymbolicName: org.eclipse.pde.ui; singleton:=true
-Bundle-Version: 3.11.300.qualifier
+Bundle-Version: 3.11.400.qualifier
Bundle-Activator: org.eclipse.pde.internal.ui.PDEPlugin
Bundle-Vendor: %provider-name
Bundle-Localization: plugin
diff --git a/ui/org.eclipse.pde.ui/pom.xml b/ui/org.eclipse.pde.ui/pom.xml
index e0e646ed79..901d8b057b 100644
--- a/ui/org.eclipse.pde.ui/pom.xml
+++ b/ui/org.eclipse.pde.ui/pom.xml
@@ -19,6 +19,6 @@
</parent>
<groupId>org.eclipse.pde</groupId>
<artifactId>org.eclipse.pde.ui</artifactId>
- <version>3.11.300-SNAPSHOT</version>
+ <version>3.11.400-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>
diff --git a/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/launcher/LaunchAction.java b/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/launcher/LaunchAction.java
index 80066d7165..a70b9df189 100644
--- a/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/launcher/LaunchAction.java
+++ b/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/launcher/LaunchAction.java
@@ -96,6 +96,12 @@ public class LaunchAction extends Action {
private ILaunchConfiguration refreshConfiguration(ILaunchConfigurationWorkingCopy wc) throws CoreException {
wc.setAttribute(IPDELauncherConstants.PRODUCT, fProduct.getProductId());
wc.setAttribute(IPDELauncherConstants.APPLICATION, fProduct.getApplication());
+
+ if (TargetPlatformHelper.usesNewApplicationModel())
+ wc.setAttribute(IPDEConstants.LAUNCHER_PDE_VERSION, "3.3"); //$NON-NLS-1$
+ else if (TargetPlatformHelper.getTargetVersion() >= 3.2)
+ wc.setAttribute(IPDEConstants.LAUNCHER_PDE_VERSION, "3.2a"); //$NON-NLS-1$
+
String os = Platform.getOS();
String arch = Platform.getOSArch();
wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_VM_ARGUMENTS, getVMArguments(os, arch));

Back to the top