Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Oberlies2012-09-24 14:13:54 +0000
committerTobias Oberlies2012-09-24 15:02:23 +0000
commitcc8b91d87312276d763ef82591c9cda5ea1c0418 (patch)
tree57c27e0540f1abc2bece1d98f157ce8532b31447 /bundles/org.eclipse.equinox.p2.tests/testData
parent1ab5536d572eec552f3105d08e1deef1f3f5aea7 (diff)
downloadrt.equinox.p2-cc8b91d87312276d763ef82591c9cda5ea1c0418.tar.gz
rt.equinox.p2-cc8b91d87312276d763ef82591c9cda5ea1c0418.tar.xz
rt.equinox.p2-cc8b91d87312276d763ef82591c9cda5ea1c0418.zip
388566 Publish osgi.ee capabilities of a.jre IUs
- Read org.osgi.framework.system.capabilities from profile files and publish osgi.ee generic capabilities as capabilities of the "a.jre" IUs in the p2 namespace "osgi.ee" Bug: 388566 JREAction: Publish osgi.ee capabilities in 'a.jre' IUs
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests/testData')
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/testData/JREActionTest/invalidOsgiEE/ee-capability-syntax-test.profile18
1 files changed, 18 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/testData/JREActionTest/invalidOsgiEE/ee-capability-syntax-test.profile b/bundles/org.eclipse.equinox.p2.tests/testData/JREActionTest/invalidOsgiEE/ee-capability-syntax-test.profile
new file mode 100644
index 000000000..9662e3a65
--- /dev/null
+++ b/bundles/org.eclipse.equinox.p2.tests/testData/JREActionTest/invalidOsgiEE/ee-capability-syntax-test.profile
@@ -0,0 +1,18 @@
+###############################################################################
+# Copyright (c) 2012 SAP AG 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:
+# SAP AG - initial API and implementation
+###############################################################################
+
+# the first entry has a valid syntax (there are two value components), but the second value component "other.namespace" is ignored
+org.osgi.framework.system.capabilities = \
+ osgi.ee; other.namespace; version:List<Version>="1.0"; osgi.ee="JavaSE",\
+ osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.a.invalidversion",\
+ osgi.ee; osgi.ee="OSGi/Minimum",\
+ osgi.ee; version:List<Version>="2.0,2.1"
+osgi.java.profile.name = EECapabilitySyntaxTest

Back to the top