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
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>
-rw-r--r--packages/org.eclipse.epp.package.android.feature/p2.inf14
-rw-r--r--packages/org.eclipse.epp.package.android.product/p2.inf14
-rw-r--r--packages/org.eclipse.epp.package.committers.feature/p2.inf14
-rw-r--r--packages/org.eclipse.epp.package.committers.product/p2.inf14
-rw-r--r--packages/org.eclipse.epp.package.cpp.feature/p2.inf14
-rw-r--r--packages/org.eclipse.epp.package.cpp.product/p2.inf14
-rw-r--r--packages/org.eclipse.epp.package.dsl.feature/p2.inf14
-rw-r--r--packages/org.eclipse.epp.package.dsl.product/p2.inf14
-rw-r--r--packages/org.eclipse.epp.package.java.feature/p2.inf14
-rw-r--r--packages/org.eclipse.epp.package.java.product/p2.inf14
-rw-r--r--packages/org.eclipse.epp.package.javascript.feature/p2.inf14
-rw-r--r--packages/org.eclipse.epp.package.javascript.product/p2.inf14
-rw-r--r--packages/org.eclipse.epp.package.jee.feature/p2.inf14
-rw-r--r--packages/org.eclipse.epp.package.jee.product/p2.inf14
-rw-r--r--packages/org.eclipse.epp.package.modeling.feature/p2.inf14
-rw-r--r--packages/org.eclipse.epp.package.modeling.product/p2.inf14
-rw-r--r--packages/org.eclipse.epp.package.parallel.feature/p2.inf14
-rw-r--r--packages/org.eclipse.epp.package.parallel.product/p2.inf14
-rw-r--r--packages/org.eclipse.epp.package.php.feature/p2.inf14
-rw-r--r--packages/org.eclipse.epp.package.php.product/p2.inf14
-rw-r--r--packages/org.eclipse.epp.package.rcp.feature/p2.inf16
-rw-r--r--packages/org.eclipse.epp.package.rcp.product/p2.inf16
-rw-r--r--packages/org.eclipse.epp.package.reporting.feature/p2.inf14
-rw-r--r--packages/org.eclipse.epp.package.reporting.product/p2.inf14
-rw-r--r--packages/org.eclipse.epp.package.scout.feature/p2.inf14
-rw-r--r--packages/org.eclipse.epp.package.scout.product/p2.inf14
-rw-r--r--packages/org.eclipse.epp.package.testing.feature/p2.inf14
-rw-r--r--packages/org.eclipse.epp.package.testing.product/p2.inf14
28 files changed, 396 insertions, 0 deletions
diff --git a/packages/org.eclipse.epp.package.android.feature/p2.inf b/packages/org.eclipse.epp.package.android.feature/p2.inf
index db72e641..d598095a 100644
--- a/packages/org.eclipse.epp.package.android.feature/p2.inf
+++ b/packages/org.eclipse.epp.package.android.feature/p2.inf
@@ -5,3 +5,17 @@ org.eclipse.pde.build.append.startlevels=false
requires.1.namespace=org.eclipse.equinox.p2.iu
requires.1.name=org.eclipse.platform.ide
requires.1.greedy=true
+
+# 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 = org.eclipse.epp.package.android.feature.feature.group
+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.
diff --git a/packages/org.eclipse.epp.package.android.product/p2.inf b/packages/org.eclipse.epp.package.android.product/p2.inf
index 57b6c808..974536da 100644
--- a/packages/org.eclipse.epp.package.android.product/p2.inf
+++ b/packages/org.eclipse.epp.package.android.product/p2.inf
@@ -9,3 +9,17 @@ properties.1.value = Neon Release of the Eclipse Android 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.android
+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.
diff --git a/packages/org.eclipse.epp.package.committers.feature/p2.inf b/packages/org.eclipse.epp.package.committers.feature/p2.inf
index db72e641..78f4f610 100644
--- a/packages/org.eclipse.epp.package.committers.feature/p2.inf
+++ b/packages/org.eclipse.epp.package.committers.feature/p2.inf
@@ -5,3 +5,17 @@ org.eclipse.pde.build.append.startlevels=false
requires.1.namespace=org.eclipse.equinox.p2.iu
requires.1.name=org.eclipse.platform.ide
requires.1.greedy=true
+
+# 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 = org.eclipse.epp.package.committers.feature.feature.group
+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.
diff --git a/packages/org.eclipse.epp.package.committers.product/p2.inf b/packages/org.eclipse.epp.package.committers.product/p2.inf
index 68edc45f..5547decb 100644
--- a/packages/org.eclipse.epp.package.committers.product/p2.inf
+++ b/packages/org.eclipse.epp.package.committers.product/p2.inf
@@ -9,3 +9,17 @@ properties.1.value = Neon Release of the Eclipse Committers 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.committers
+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.
diff --git a/packages/org.eclipse.epp.package.cpp.feature/p2.inf b/packages/org.eclipse.epp.package.cpp.feature/p2.inf
index 3c698fe0..44c503a6 100644
--- a/packages/org.eclipse.epp.package.cpp.feature/p2.inf
+++ b/packages/org.eclipse.epp.package.cpp.feature/p2.inf
@@ -80,3 +80,17 @@ requires.16.optional=true
requires.17.namespace=org.eclipse.equinox.p2.iu
requires.17.name=org.eclipse.tracecompass.lttng2.ust.feature.group
requires.17.optional=true
+
+# 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 = org.eclipse.epp.package.cpp.feature.feature.group
+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.
diff --git a/packages/org.eclipse.epp.package.cpp.product/p2.inf b/packages/org.eclipse.epp.package.cpp.product/p2.inf
index 1dc5b774..dc8f5877 100644
--- a/packages/org.eclipse.epp.package.cpp.product/p2.inf
+++ b/packages/org.eclipse.epp.package.cpp.product/p2.inf
@@ -9,3 +9,17 @@ properties.1.value = Neon Release of the Eclipse C/C++ Developers Developers pac
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.cpp
+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.
diff --git a/packages/org.eclipse.epp.package.dsl.feature/p2.inf b/packages/org.eclipse.epp.package.dsl.feature/p2.inf
index db72e641..565e19c0 100644
--- a/packages/org.eclipse.epp.package.dsl.feature/p2.inf
+++ b/packages/org.eclipse.epp.package.dsl.feature/p2.inf
@@ -5,3 +5,17 @@ org.eclipse.pde.build.append.startlevels=false
requires.1.namespace=org.eclipse.equinox.p2.iu
requires.1.name=org.eclipse.platform.ide
requires.1.greedy=true
+
+# 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 = org.eclipse.epp.package.dsl.feature.feature.group
+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.
diff --git a/packages/org.eclipse.epp.package.dsl.product/p2.inf b/packages/org.eclipse.epp.package.dsl.product/p2.inf
index b60dff57..41e21c38 100644
--- a/packages/org.eclipse.epp.package.dsl.product/p2.inf
+++ b/packages/org.eclipse.epp.package.dsl.product/p2.inf
@@ -9,3 +9,17 @@ properties.1.value = Neon Release of the Eclipse DSL Tools 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.dsl
+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.
diff --git a/packages/org.eclipse.epp.package.java.feature/p2.inf b/packages/org.eclipse.epp.package.java.feature/p2.inf
index db72e641..e3da61ba 100644
--- a/packages/org.eclipse.epp.package.java.feature/p2.inf
+++ b/packages/org.eclipse.epp.package.java.feature/p2.inf
@@ -5,3 +5,17 @@ org.eclipse.pde.build.append.startlevels=false
requires.1.namespace=org.eclipse.equinox.p2.iu
requires.1.name=org.eclipse.platform.ide
requires.1.greedy=true
+
+# 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 = org.eclipse.epp.package.java.feature.feature.group
+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.
diff --git a/packages/org.eclipse.epp.package.java.product/p2.inf b/packages/org.eclipse.epp.package.java.product/p2.inf
index 6ec00992..6116ede9 100644
--- a/packages/org.eclipse.epp.package.java.product/p2.inf
+++ b/packages/org.eclipse.epp.package.java.product/p2.inf
@@ -9,3 +9,17 @@ properties.1.value = Neon Release of the Eclipse Java 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.java
+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.
diff --git a/packages/org.eclipse.epp.package.javascript.feature/p2.inf b/packages/org.eclipse.epp.package.javascript.feature/p2.inf
index db72e641..ac715dfe 100644
--- a/packages/org.eclipse.epp.package.javascript.feature/p2.inf
+++ b/packages/org.eclipse.epp.package.javascript.feature/p2.inf
@@ -5,3 +5,17 @@ org.eclipse.pde.build.append.startlevels=false
requires.1.namespace=org.eclipse.equinox.p2.iu
requires.1.name=org.eclipse.platform.ide
requires.1.greedy=true
+
+# 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 = org.eclipse.epp.package.javascript.feature.feature.group
+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.
diff --git a/packages/org.eclipse.epp.package.javascript.product/p2.inf b/packages/org.eclipse.epp.package.javascript.product/p2.inf
index 5fb0bbe3..1f5988e4 100644
--- a/packages/org.eclipse.epp.package.javascript.product/p2.inf
+++ b/packages/org.eclipse.epp.package.javascript.product/p2.inf
@@ -9,3 +9,17 @@ properties.1.value = Neon Release of the Eclipse JavaScript and Web Developers p
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.javascript
+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.
diff --git a/packages/org.eclipse.epp.package.jee.feature/p2.inf b/packages/org.eclipse.epp.package.jee.feature/p2.inf
index 0094a36c..b3fe6a53 100644
--- a/packages/org.eclipse.epp.package.jee.feature/p2.inf
+++ b/packages/org.eclipse.epp.package.jee.feature/p2.inf
@@ -6,6 +6,20 @@ requires.1.namespace=org.eclipse.equinox.p2.iu
requires.1.name=org.eclipse.platform.ide
requires.1.greedy=true
+# 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 = org.eclipse.epp.package.jee.feature.feature.group
+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.
+
instructions.configure=\
org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(type:0,location:http${#58}//download.eclipse.org/webtools/repository/neon,name:The Eclipse Web Tools Platform (WTP) software repository);\
org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(type:1,location:http${#58}//download.eclipse.org/webtools/repository/neon,name:The Eclipse Web Tools Platform (WTP) software repository);
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.
diff --git a/packages/org.eclipse.epp.package.modeling.feature/p2.inf b/packages/org.eclipse.epp.package.modeling.feature/p2.inf
index 0f1be63b..239ceafe 100644
--- a/packages/org.eclipse.epp.package.modeling.feature/p2.inf
+++ b/packages/org.eclipse.epp.package.modeling.feature/p2.inf
@@ -6,6 +6,20 @@ requires.1.namespace=org.eclipse.equinox.p2.iu
requires.1.name=org.eclipse.platform.ide
requires.1.greedy=true
+# 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 = org.eclipse.epp.package.modeling.feature.feature.group
+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.
+
instructions.configure=\
org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(type:0,location:http${#58}//www.eclipse.org/modeling/amalgam/downloads/package/modeling/neon/,name:Modeling Package Updates for Eclipse Neon);\
org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(type:1,location:http${#58}//www.eclipse.org/modeling/amalgam/downloads/package/modeling/neon/,name:Modeling Package Updates for Eclipse Neon);
diff --git a/packages/org.eclipse.epp.package.modeling.product/p2.inf b/packages/org.eclipse.epp.package.modeling.product/p2.inf
index c92ea1e0..d673ca93 100644
--- a/packages/org.eclipse.epp.package.modeling.product/p2.inf
+++ b/packages/org.eclipse.epp.package.modeling.product/p2.inf
@@ -9,3 +9,17 @@ properties.1.value = Neon Release of the Eclipse Modeling Tools 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.modeling
+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.
diff --git a/packages/org.eclipse.epp.package.parallel.feature/p2.inf b/packages/org.eclipse.epp.package.parallel.feature/p2.inf
index 85124e38..a648838a 100644
--- a/packages/org.eclipse.epp.package.parallel.feature/p2.inf
+++ b/packages/org.eclipse.epp.package.parallel.feature/p2.inf
@@ -24,3 +24,17 @@ org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(type:1,location:http${#5
instructions.unconfigure=\
org.eclipse.equinox.p2.touchpoint.eclipse.removeRepository(type:0,location:http${#58}//download.eclipse.org/tools/ptp/updates/neon);\
org.eclipse.equinox.p2.touchpoint.eclipse.removeRepository(type:1,location:http${#58}//download.eclipse.org/tools/ptp/updates/neon);
+
+# 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 = org.eclipse.epp.package.parallel.feature.feature.group
+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.
diff --git a/packages/org.eclipse.epp.package.parallel.product/p2.inf b/packages/org.eclipse.epp.package.parallel.product/p2.inf
index 0983ba44..574fc67e 100644
--- a/packages/org.eclipse.epp.package.parallel.product/p2.inf
+++ b/packages/org.eclipse.epp.package.parallel.product/p2.inf
@@ -9,3 +9,17 @@ properties.1.value = Neon Release of the Eclipse Parallel Application Developers
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.parallel
+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.
diff --git a/packages/org.eclipse.epp.package.php.feature/p2.inf b/packages/org.eclipse.epp.package.php.feature/p2.inf
index db72e641..77562003 100644
--- a/packages/org.eclipse.epp.package.php.feature/p2.inf
+++ b/packages/org.eclipse.epp.package.php.feature/p2.inf
@@ -5,3 +5,17 @@ org.eclipse.pde.build.append.startlevels=false
requires.1.namespace=org.eclipse.equinox.p2.iu
requires.1.name=org.eclipse.platform.ide
requires.1.greedy=true
+
+# 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 = org.eclipse.epp.package.php.feature.feature.group
+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.
diff --git a/packages/org.eclipse.epp.package.php.product/p2.inf b/packages/org.eclipse.epp.package.php.product/p2.inf
index 6ec62300..a2c481d7 100644
--- a/packages/org.eclipse.epp.package.php.product/p2.inf
+++ b/packages/org.eclipse.epp.package.php.product/p2.inf
@@ -9,3 +9,17 @@ properties.1.value = Neon Release of the Eclipse PHP 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.php
+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.
diff --git a/packages/org.eclipse.epp.package.rcp.feature/p2.inf b/packages/org.eclipse.epp.package.rcp.feature/p2.inf
index db72e641..03f6ef5a 100644
--- a/packages/org.eclipse.epp.package.rcp.feature/p2.inf
+++ b/packages/org.eclipse.epp.package.rcp.feature/p2.inf
@@ -5,3 +5,19 @@ org.eclipse.pde.build.append.startlevels=false
requires.1.namespace=org.eclipse.equinox.p2.iu
requires.1.name=org.eclipse.platform.ide
requires.1.greedy=true
+
+# 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.
+#
+# RCP/RAP package had been changed in Eclipse Mars (4.5)
+
+update.id = org.eclipse.epp.package.rcp.feature.feature.group
+update.range = [4.5, $version$)
+update.severity = 0
+update.description = Eclipse package upgrade from versions before Eclipse Mars (4.5) is not possible. See bug 332989.
diff --git a/packages/org.eclipse.epp.package.rcp.product/p2.inf b/packages/org.eclipse.epp.package.rcp.product/p2.inf
index 3b5ce9e7..ef2f1f08 100644
--- a/packages/org.eclipse.epp.package.rcp.product/p2.inf
+++ b/packages/org.eclipse.epp.package.rcp.product/p2.inf
@@ -9,3 +9,19 @@ properties.1.value = Neon Release of the Eclipse RCP/RAP 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.
+#
+# RCP/RAP package had been changed in Eclipse Mars (4.5)
+
+update.id = org.eclipse.epp.package.rcp.feature.feature.group
+update.range = [4.5, $version$)
+update.severity = 0
+update.description = Eclipse package upgrade from versions before Eclipse Mars (4.5) is not possible. See bug 332989.
diff --git a/packages/org.eclipse.epp.package.reporting.feature/p2.inf b/packages/org.eclipse.epp.package.reporting.feature/p2.inf
index db72e641..a60aecf1 100644
--- a/packages/org.eclipse.epp.package.reporting.feature/p2.inf
+++ b/packages/org.eclipse.epp.package.reporting.feature/p2.inf
@@ -5,3 +5,17 @@ org.eclipse.pde.build.append.startlevels=false
requires.1.namespace=org.eclipse.equinox.p2.iu
requires.1.name=org.eclipse.platform.ide
requires.1.greedy=true
+
+# 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 = org.eclipse.epp.package.reporting.feature.feature.group
+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.
diff --git a/packages/org.eclipse.epp.package.reporting.product/p2.inf b/packages/org.eclipse.epp.package.reporting.product/p2.inf
index ee597b20..71fd3eb4 100644
--- a/packages/org.eclipse.epp.package.reporting.product/p2.inf
+++ b/packages/org.eclipse.epp.package.reporting.product/p2.inf
@@ -9,3 +9,17 @@ properties.1.value = Neon Release of the Eclipse Java and Report Developers pack
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.reporting
+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.
diff --git a/packages/org.eclipse.epp.package.scout.feature/p2.inf b/packages/org.eclipse.epp.package.scout.feature/p2.inf
index db72e641..6bde6caa 100644
--- a/packages/org.eclipse.epp.package.scout.feature/p2.inf
+++ b/packages/org.eclipse.epp.package.scout.feature/p2.inf
@@ -5,3 +5,17 @@ org.eclipse.pde.build.append.startlevels=false
requires.1.namespace=org.eclipse.equinox.p2.iu
requires.1.name=org.eclipse.platform.ide
requires.1.greedy=true
+
+# 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 = org.eclipse.epp.package.scout.feature.feature.group
+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.
diff --git a/packages/org.eclipse.epp.package.scout.product/p2.inf b/packages/org.eclipse.epp.package.scout.product/p2.inf
index 17a24096..6ac56b79 100644
--- a/packages/org.eclipse.epp.package.scout.product/p2.inf
+++ b/packages/org.eclipse.epp.package.scout.product/p2.inf
@@ -9,3 +9,17 @@ properties.1.value = Neon Release of the Eclipse Scout 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.scout
+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.
diff --git a/packages/org.eclipse.epp.package.testing.feature/p2.inf b/packages/org.eclipse.epp.package.testing.feature/p2.inf
index d12e0da8..bec97f8e 100644
--- a/packages/org.eclipse.epp.package.testing.feature/p2.inf
+++ b/packages/org.eclipse.epp.package.testing.feature/p2.inf
@@ -11,3 +11,17 @@ requires.0.namespace = org.eclipse.equinox.p2.iu
requires.0.name = javax.transaction
requires.0.min = 0
requires.0.max = 0
+
+# 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 = org.eclipse.epp.package.testing.feature.feature.group
+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.
diff --git a/packages/org.eclipse.epp.package.testing.product/p2.inf b/packages/org.eclipse.epp.package.testing.product/p2.inf
index 9d31669a..56561f93 100644
--- a/packages/org.eclipse.epp.package.testing.product/p2.inf
+++ b/packages/org.eclipse.epp.package.testing.product/p2.inf
@@ -9,3 +9,17 @@ properties.1.value = Neon Release of the Eclipse Testers 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.testing
+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