Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Knauer2012-07-20 14:47:43 +0000
committerMarkus Knauer2012-07-20 14:47:43 +0000
commitb8c48186db914979d31f67a0660115dc4f2cdbcf (patch)
tree34b8a30b2bf19fde6a438e02786835e7c1095505 /bundles/org.eclipse.rap.ui.views
parente422fbc6ca0ae9357094f2d467d4e69866d19388 (diff)
downloadorg.eclipse.rap-b8c48186db914979d31f67a0660115dc4f2cdbcf.tar.gz
org.eclipse.rap-b8c48186db914979d31f67a0660115dc4f2cdbcf.tar.xz
org.eclipse.rap-b8c48186db914979d31f67a0660115dc4f2cdbcf.zip
Implement negative requirements for RAP Runtime (see bug
* Remove p2.inf from features (i.e. org.eclipse.rap.runtime). * Add p2.inf with specific negative requirement to platform bundles in org.eclipse.rap.jface org.eclipse.rap.jface.databinding org.eclipse.rap.rwt org.eclipse.rap.ui org.eclipse.rap.ui.cheatsheets org.eclipse.rap.ui.forms org.eclipse.rap.ui.views org.eclipse.rap.ui.workbench
Diffstat (limited to 'bundles/org.eclipse.rap.ui.views')
-rw-r--r--bundles/org.eclipse.rap.ui.views/build.properties3
-rw-r--r--bundles/org.eclipse.rap.ui.views/p2.inf6
2 files changed, 8 insertions, 1 deletions
diff --git a/bundles/org.eclipse.rap.ui.views/build.properties b/bundles/org.eclipse.rap.ui.views/build.properties
index e5abe78cfa..4d6181aaa9 100644
--- a/bundles/org.eclipse.rap.ui.views/build.properties
+++ b/bundles/org.eclipse.rap.ui.views/build.properties
@@ -15,6 +15,7 @@ bin.includes = icons/,\
plugin.xml,\
about.html,\
.,\
- META-INF/
+ META-INF/,\
+ p2.inf
src.includes = about.html
source.. = src/
diff --git a/bundles/org.eclipse.rap.ui.views/p2.inf b/bundles/org.eclipse.rap.ui.views/p2.inf
new file mode 100644
index 0000000000..e64031264c
--- /dev/null
+++ b/bundles/org.eclipse.rap.ui.views/p2.inf
@@ -0,0 +1,6 @@
+# Prevent installation if other IU is already installed with a negative requirement.
+requires.0.name = org.eclipse.ui.views
+requires.0.namespace = org.eclipse.equinox.p2.iu
+requires.0.min = 0
+requires.0.max = 0
+

Back to the top