Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Khouzam2016-12-05 17:55:10 +0000
committerMarc Khouzam2017-01-25 20:14:03 +0000
commit8d0a0717e2930efc7bd15d83894120869aea6ae8 (patch)
tree992ab439f8a1122771b1bfcae194eb33325c905d /lrparser/org.eclipse.cdt.core.lrparser.feature
parentb332cdaf75dcc5c2d6347e988af31f3ec07bf9c3 (diff)
downloadorg.eclipse.cdt-8d0a0717e2930efc7bd15d83894120869aea6ae8.tar.gz
org.eclipse.cdt-8d0a0717e2930efc7bd15d83894120869aea6ae8.tar.xz
org.eclipse.cdt-8d0a0717e2930efc7bd15d83894120869aea6ae8.zip
Auto-generate source features using tycho.
This commit removes explicit source features and has tycho create them automatically, along with all other source features that were not previously defined. The logic to auto-generate is in the root pom.xml For all pre-existing source feature, the name presented to the user has been changed to use the default name used by Tycho, which is "Developer Resources". This will provide a more standard user-experience with respect to other source features built by Tycho. Existing SDK features are kept for backwards compatibility. All the names of the auto-generated source features that replace an existing source feature have stayed the same except for the 'testsrunner' feature; for that one name change, a p2.inf file is added to allow upgrading from the old named feature to the new named feature. Change-Id: Ie632e798c93898fd828f88df4983fc43e2749d22
Diffstat (limited to 'lrparser/org.eclipse.cdt.core.lrparser.feature')
-rw-r--r--lrparser/org.eclipse.cdt.core.lrparser.feature/sourceTemplateFeature/feature.properties33
-rw-r--r--lrparser/org.eclipse.cdt.core.lrparser.feature/sourceTemplateFeature/p2.inf1
2 files changed, 1 insertions, 33 deletions
diff --git a/lrparser/org.eclipse.cdt.core.lrparser.feature/sourceTemplateFeature/feature.properties b/lrparser/org.eclipse.cdt.core.lrparser.feature/sourceTemplateFeature/feature.properties
deleted file mode 100644
index 861bd04215b..00000000000
--- a/lrparser/org.eclipse.cdt.core.lrparser.feature/sourceTemplateFeature/feature.properties
+++ /dev/null
@@ -1,33 +0,0 @@
-###############################################################################
-# Copyright (c) 2006, 2010 IBM Corporation 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
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-# feature.properties
-# contains externalized strings for feature.xml
-# "%foo" in feature.xml corresponds to the key "foo" in this file
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# This file should be translated.
-
-# "featureName" property - name of the feature
-featureName=C/C++ C99 LR Parser Source
-
-# "providerName" property - name of the company that provides the feature
-providerName=Eclipse CDT
-
-# "description" property - description of the feature
-description=Parser and language support for the C99 variant of the C programming language. Source code.
-
-# copyright
-copyright=\
-Copyright (c) 2006, 2011 IBM Corporation and others.\n\
-All rights reserved. This program and the accompanying materials\n\
-are made available under the terms of the Eclipse Public License v1.0\n\
-which accompanies this distribution, and is available at\n\
-http://www.eclipse.org/legal/epl-v10.html
-
diff --git a/lrparser/org.eclipse.cdt.core.lrparser.feature/sourceTemplateFeature/p2.inf b/lrparser/org.eclipse.cdt.core.lrparser.feature/sourceTemplateFeature/p2.inf
new file mode 100644
index 00000000000..b96f60ebe47
--- /dev/null
+++ b/lrparser/org.eclipse.cdt.core.lrparser.feature/sourceTemplateFeature/p2.inf
@@ -0,0 +1 @@
+update.matchExp=providedCapabilities.exists(pc | pc.namespace == 'org.eclipse.equinox.p2.iu' && (pc.name == 'org.eclipse.cdt.core.lrparser.source.feature.group' || pc.name == 'org.eclipse.cdt.core.lrparser.feature.source.feature.group'))

Back to the top