diff options
author | Tobias Oberlies | 2015-02-11 17:32:16 +0000 |
---|---|---|
committer | Tobias Oberlies | 2015-02-16 08:29:36 +0000 |
commit | ac896028a4cc69551aa137135fce3c06642016d5 (patch) | |
tree | c771dc79b6fcbb89323e55b09a2a3fd8a65b4cf8 /bundles/org.eclipse.equinox.p2.tests/testData | |
parent | 82f2b6357622391f971295b0ebc8a8d0c2dd1ab6 (diff) | |
download | rt.equinox.p2-ac896028a4cc69551aa137135fce3c06642016d5.tar.gz rt.equinox.p2-ac896028a4cc69551aa137135fce3c06642016d5.tar.xz rt.equinox.p2-ac896028a4cc69551aa137135fce3c06642016d5.zip |
428889 Don't include installMode="root" features in the product IU
- Ignore features marked with installMode="root" when publishing
products. This attribute is currently only supported by Tycho (cf.
bug 427563 for adding p2 support for this) and entails that the
feature must *not* be referenced from the product IU. This is achieved
with the changed implementation of getFeatures().
- This change allows to get rid of separate product file pre-processing
steps in Tycho.
Bug: 428889
Change-Id: Ib7aa666c6746fbf417fa7437a7fa7b6a95ebd51f
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests/testData')
-rw-r--r-- | bundles/org.eclipse.equinox.p2.tests/testData/ProductActionTest/rootFeatures.product | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/testData/ProductActionTest/rootFeatures.product b/bundles/org.eclipse.equinox.p2.tests/testData/ProductActionTest/rootFeatures.product new file mode 100644 index 000000000..9bb6a22ae --- /dev/null +++ b/bundles/org.eclipse.equinox.p2.tests/testData/ProductActionTest/rootFeatures.product @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?pde version="3.5"?> + +<product uid="product.with.root.features" useFeatures="true" includeLaunchers="true"> + + <configIni use="default"> + </configIni> + + <launcherArgs> + <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac> + </launcherArgs> + + <plugins> + </plugins> + + <features> + <feature id="org.eclipse.rcp" version="4.4.0.v20140128" installMode="include"/> + <feature id="org.eclipse.e4.rcp"/> <!-- "include" is the default --> + <feature id="org.eclipse.help" version="2.0.102.v20140128" installMode="root"/> + <feature id="org.eclipse.egit" installMode="root"/> + </features> + +</product> |