Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2007-09-13 19:27:50 +0000
committerThomas Watson2007-09-13 19:27:50 +0000
commite79e3c06bd1b2ab805d099444a02ddca2cc92de0 (patch)
treeaabd5c001ed3ce8cd8453592ce7f8a8c8c382267 /bundles/org.eclipse.osgi.tests/bundles_src/frag.multiple.exports
parent4589300179358c774d7dac03df423e42288c1e61 (diff)
downloadrt.equinox.framework-e79e3c06bd1b2ab805d099444a02ddca2cc92de0.tar.gz
rt.equinox.framework-e79e3c06bd1b2ab805d099444a02ddca2cc92de0.tar.xz
rt.equinox.framework-e79e3c06bd1b2ab805d099444a02ddca2cc92de0.zip
Bug 201425 [osgi R4.1] Fragments should be able to export duplicate packages
Diffstat (limited to 'bundles/org.eclipse.osgi.tests/bundles_src/frag.multiple.exports')
-rw-r--r--bundles/org.eclipse.osgi.tests/bundles_src/frag.multiple.exports/META-INF/MANIFEST.MF15
-rw-r--r--bundles/org.eclipse.osgi.tests/bundles_src/frag.multiple.exports/host/multiple/exports/PrivateClass1.java15
-rw-r--r--bundles/org.eclipse.osgi.tests/bundles_src/frag.multiple.exports/host/multiple/exports/PrivateClass2.java15
3 files changed, 45 insertions, 0 deletions
diff --git a/bundles/org.eclipse.osgi.tests/bundles_src/frag.multiple.exports/META-INF/MANIFEST.MF b/bundles/org.eclipse.osgi.tests/bundles_src/frag.multiple.exports/META-INF/MANIFEST.MF
new file mode 100644
index 000000000..cab82b92a
--- /dev/null
+++ b/bundles/org.eclipse.osgi.tests/bundles_src/frag.multiple.exports/META-INF/MANIFEST.MF
@@ -0,0 +1,15 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: frag.multiple.exports
+Bundle-SymbolicName: frag.multiple.exports
+Bundle-Version: 1.0.0
+Fragment-Host: host.multiple.exports
+Export-Package: host.multiple.exports; mandatory:="scope"; scope="private",
+ host.multiple.exports.onlyone;
+ version=1.0.0;
+ include:="Public*";
+ exclude:="PublicExclude*";
+ uses:="host.multiple.exports";
+ mantatory:="test1";
+ test1=value;
+ test2=value
diff --git a/bundles/org.eclipse.osgi.tests/bundles_src/frag.multiple.exports/host/multiple/exports/PrivateClass1.java b/bundles/org.eclipse.osgi.tests/bundles_src/frag.multiple.exports/host/multiple/exports/PrivateClass1.java
new file mode 100644
index 000000000..8011da731
--- /dev/null
+++ b/bundles/org.eclipse.osgi.tests/bundles_src/frag.multiple.exports/host/multiple/exports/PrivateClass1.java
@@ -0,0 +1,15 @@
+/*******************************************************************************
+ * Copyright (c) 2007 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
+ *******************************************************************************/
+package host.multiple.exports;
+
+public class PrivateClass1 {
+ // nothing
+}
diff --git a/bundles/org.eclipse.osgi.tests/bundles_src/frag.multiple.exports/host/multiple/exports/PrivateClass2.java b/bundles/org.eclipse.osgi.tests/bundles_src/frag.multiple.exports/host/multiple/exports/PrivateClass2.java
new file mode 100644
index 000000000..286d0e09d
--- /dev/null
+++ b/bundles/org.eclipse.osgi.tests/bundles_src/frag.multiple.exports/host/multiple/exports/PrivateClass2.java
@@ -0,0 +1,15 @@
+/*******************************************************************************
+ * Copyright (c) 2007 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
+ *******************************************************************************/
+package host.multiple.exports;
+
+public class PrivateClass2 {
+ // nothing
+}

Back to the top