diff options
author | Martin Oberhuber | 2014-05-17 21:53:07 +0000 |
---|---|---|
committer | Doug Schaefer | 2014-05-26 13:38:09 +0000 |
commit | 251d54056ed6e8114ffd75b98be460fb8ce82f16 (patch) | |
tree | 8a5df51552e6c74dc2558c6eddfea3c9a5e5b697 /core/org.eclipse.cdt.core.win32 | |
parent | 0f6719cc7184360281e3aed236c7b8cb7c4466af (diff) | |
download | org.eclipse.cdt-251d54056ed6e8114ffd75b98be460fb8ce82f16.tar.gz org.eclipse.cdt-251d54056ed6e8114ffd75b98be460fb8ce82f16.tar.xz org.eclipse.cdt-251d54056ed6e8114ffd75b98be460fb8ce82f16.zip |
Bug 303083 - Split out the CDT Spawner into a separate feature
This commit creates a new feature "org.eclipse.cdt.spawner"
which is included by the cdt.platform feature and only holds the
CDT native code fragments along with a new bundle named
"org.eclipse.cdt.core.spawner" as their new fragment host.
This new feature and bundle provide access to the CDT PTY, Spawner,
Windows Registry Accesss and Tasklist capabilities without having to
depend on the full cdt.core bundle.
Nothing changes for existing consumers of the cdt.platform feature, or
cdt.sdk feature (the new feature and bundle are installed and pulled
in automatically). Consumers who only installed the org.eclipse.cdt
bundle in the past will now also need the new spawner bundle.
Change-Id: I3943b35948d1bba4771f715c5e700570aa2ae125
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
Reviewed-on: https://git.eclipse.org/r/27225
Tested-by: Hudson CI
Reviewed-by: Anton Leherbauer <anton.leherbauer@windriver.com>
Tested-by: Anton Leherbauer <anton.leherbauer@windriver.com>
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Diffstat (limited to 'core/org.eclipse.cdt.core.win32')
3 files changed, 7 insertions, 6 deletions
diff --git a/core/org.eclipse.cdt.core.win32/META-INF/MANIFEST.MF b/core/org.eclipse.cdt.core.win32/META-INF/MANIFEST.MF index e1f24800250..23c6c93474c 100644 --- a/core/org.eclipse.cdt.core.win32/META-INF/MANIFEST.MF +++ b/core/org.eclipse.cdt.core.win32/META-INF/MANIFEST.MF @@ -2,9 +2,9 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %fragmentName.win32 Bundle-SymbolicName: org.eclipse.cdt.core.win32; singleton:=true -Bundle-Version: 5.3.0.qualifier +Bundle-Version: 5.4.0.qualifier Bundle-Vendor: %providerName -Fragment-Host: org.eclipse.cdt.core;bundle-version="[5.2.0,6.0.0)" +Fragment-Host: org.eclipse.cdt.core.spawner;bundle-version="[5.7.0,6.0.0)" Bundle-Localization: plugin Bundle-RequiredExecutionEnvironment: J2SE-1.4 Eclipse-PlatformFilter: (osgi.os=win32) diff --git a/core/org.eclipse.cdt.core.win32/pom.xml b/core/org.eclipse.cdt.core.win32/pom.xml index 19a04bd904b..a490eb0c632 100644 --- a/core/org.eclipse.cdt.core.win32/pom.xml +++ b/core/org.eclipse.cdt.core.win32/pom.xml @@ -11,7 +11,7 @@ <relativePath>../../pom.xml</relativePath> </parent> - <version>5.3.0-SNAPSHOT</version> + <version>5.4.0-SNAPSHOT</version> <artifactId>org.eclipse.cdt.core.win32</artifactId> <packaging>eclipse-plugin</packaging> diff --git a/core/org.eclipse.cdt.core.win32/src/org/eclipse/cdt/internal/core/win32/ProcessList.java b/core/org.eclipse.cdt.core.win32/src/org/eclipse/cdt/internal/core/win32/ProcessList.java index e9ba0a98c0f..77946a1ad01 100644 --- a/core/org.eclipse.cdt.core.win32/src/org/eclipse/cdt/internal/core/win32/ProcessList.java +++ b/core/org.eclipse.cdt.core.win32/src/org/eclipse/cdt/internal/core/win32/ProcessList.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2010 QNX Software Systems and others. + * Copyright (c) 2000, 2014 QNX Software Systems and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,6 +7,7 @@ * * Contributors: * QNX Software Systems - Initial API and implementation + * Martin Oberhuber (Wind River) - [303083] Split out the Spawner *******************************************************************************/ package org.eclipse.cdt.internal.core.win32; @@ -18,9 +19,9 @@ import java.io.InputStreamReader; import java.net.URL; import java.util.ArrayList; -import org.eclipse.cdt.core.CCorePlugin; import org.eclipse.cdt.core.IProcessInfo; import org.eclipse.cdt.core.IProcessList; +import org.eclipse.cdt.internal.core.spawner.CSpawnerPlugin; import org.eclipse.cdt.utils.spawner.ProcessFactory; import org.eclipse.core.runtime.FileLocator; import org.eclipse.core.runtime.Path; @@ -42,7 +43,7 @@ public class ProcessList implements IProcessList { Process p = null; String command = null; InputStream in = null; - Bundle bundle = Platform.getBundle(CCorePlugin.PLUGIN_ID); + Bundle bundle = Platform.getBundle(CSpawnerPlugin.PLUGIN_ID); IProcessInfo[] procInfos = NOPROCESS; try { |