Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Knauer2016-03-28 09:23:29 -0400
committerMarkus Knauer2016-03-28 09:23:29 -0400
commite8bc5b1c92bfca4c9442992edf8a72759c01968e (patch)
tree1bdccc62442b7e026ef2a6f600daf4a1fd31d024 /packages/org.eclipse.epp.package.jee.product/p2.inf
parent59f62e3fb550e5221476a0da4f61f1bc08886be6 (diff)
downloadorg.eclipse.epp.packages-e8bc5b1c92bfca4c9442992edf8a72759c01968e.tar.gz
org.eclipse.epp.packages-e8bc5b1c92bfca4c9442992edf8a72759c01968e.tar.xz
org.eclipse.epp.packages-e8bc5b1c92bfca4c9442992edf8a72759c01968e.zip
Prevent upgrade from old to new EPP package layout
Bug 490515 - Prevent upgrade from old to new EPP package layout https://bugs.eclipse.org/bugs/show_bug.cgi?id=490515 With Eclipse Neon (4.6) all packages changed their structure from a single feature to a product with multiple independent root features. Upgrades from older versions to the new structure would result in an unexpected uninstall of everything below the old main package feature. In order to prevent such upgrades we add an artificial lower limit of the IU to the p2 metadata. Change-Id: I2bc3b7bb559d203e5ceadc1c97b9ec6739effd2c Signed-off-by: Markus Knauer <mknauer@eclipsesource.com>
Diffstat (limited to 'packages/org.eclipse.epp.package.jee.product/p2.inf')
-rw-r--r--packages/org.eclipse.epp.package.jee.product/p2.inf14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/org.eclipse.epp.package.jee.product/p2.inf b/packages/org.eclipse.epp.package.jee.product/p2.inf
index 4714b736..817cef1e 100644
--- a/packages/org.eclipse.epp.package.jee.product/p2.inf
+++ b/packages/org.eclipse.epp.package.jee.product/p2.inf
@@ -9,3 +9,17 @@ properties.1.value = Neon Release of the Eclipse Java EE Developers package.
properties.2.name = org.eclipse.equinox.p2.provider
properties.2.value = Eclipse Packaging Project
+
+# Bug 490515 - Prevent upgrade from old to new EPP package layout
+# https://bugs.eclipse.org/bugs/show_bug.cgi?id=490515
+#
+# With Eclipse Neon (4.6.0) all packages changed their structure from a single
+# feature to a product with multiple independent root features. Upgrades from
+# older versions to the new structure would result in an unexpected uninstall
+# of everything below the old main package feature. In order to prevent such
+# upgrades we add an artificial lower limit of the IU to the p2 metadata.
+
+update.id = epp.package.jee
+update.range = [4.6.0.20160301-1200, $version$)
+update.severity = 0
+update.description = Eclipse package upgrade from versions before Eclipse Neon (4.6) is not possible. See bug 332989.

Back to the top