Closed merks closed 5 months ago
I have manually verified that the update advice ranges are processed both for the features and the products:
<update id='org.eclipse.epp.package.cpp.feature.feature.group' range='[4.6.0.20160301-1200,4.32.0.20240405-0512)' severity='0' description='Eclipse package upgrade from versions before Eclipse Neon (4.6) is not possible. See bug 332989.'/>
<update id='org.eclipse.epp.package.embedcpp.feature.feature.group' range='[0.0.0,4.32.0.20240405-0512)' severity='0'/>
<update id='org.eclipse.epp.package.scout.feature.feature.group' range='[4.6.0.20160301-1200,4.32.0.20240405-0600)' severity='0' description='Eclipse package upgrade from versions before Eclipse Neon (4.6) is not possible. See bug 332989.'/>
<update id='org.eclipse.epp.package.jee.feature.feature.group' range='[4.6.0.20160301-1200,4.32.0.20240405-0600)' severity='0' description='Eclipse package upgrade from versions before Eclipse Neon (4.6) is not possible. See bug 332989.'/>
<update id='org.eclipse.epp.package.rcp.feature.feature.group' range='[4.5.0,4.32.0.20240405-0600)' severity='0' description='Eclipse package upgrade from versions before Eclipse Mars (4.5) is not possible. See bug 332989.'/>
<update id='org.eclipse.epp.package.php.feature.feature.group' range='[4.6.0.20160301-1200,4.32.0.20240405-0600)' severity='0' description='Eclipse package upgrade from versions before Eclipse Neon (4.6) is not possible. See bug 332989.'/>
<update id='org.eclipse.epp.package.java.feature.feature.group' range='[4.6.0.20160301-1200,4.32.0.20240405-0600)' severity='0' description='Eclipse package upgrade from versions before Eclipse Neon (4.6) is not possible. See bug 332989.'/>
<update id='org.eclipse.epp.package.modeling.feature.feature.group' range='[4.6.0.20160301-1200,4.32.0.20240405-0600)' severity='0' description='Eclipse package upgrade from versions before Eclipse Neon (4.6) is not possible. See bug 332989.'/>
<update id='org.eclipse.epp.package.dsl.feature.feature.group' range='[4.6.0.20160301-1200,4.32.0.20240405-0512)' severity='0' description='Eclipse package upgrade from versions before Eclipse Neon (4.6) is not possible. See bug 332989.'/>
<update id='org.eclipse.epp.package.committers.feature.feature.group' range='[4.6.0.20160301-1200,4.32.0.20240405-0600)' severity='0' description='Eclipse package upgrade from versions before Eclipse Neon (4.6) is not possible. See bug 332989.'/>
<update id='epp.package.php' range='[4.6.0.20160301-1200,4.32.0.20240405-0600)' severity='0' description='Eclipse package upgrade from versions before Eclipse Neon (4.6) is not possible. See bug 332989.'/>
<update id='epp.package.embedcpp' range='0.0.0' severity='0'/>
<update id='epp.package.rcp' range='[4.6.0.20160301-1200,4.32.0.20240405-0600)' severity='0' description='Eclipse package upgrade from versions before Eclipse Neon (4.6) is not possible. See bug 332989.'/>
<update id='epp.package.scout' range='[4.6.0.20160301-1200,4.32.0.20240405-0600)' severity='0' description='Eclipse package upgrade from versions before Eclipse Neon (4.6) is not possible. See bug 332989.'/>
<update id='epp.package.cpp' range='[4.6.0.20160301-1200,4.32.0.20240405-0512)' severity='0' description='Eclipse package upgrade from versions before Eclipse Neon (4.6) is not possible. See bug 332989.'/>
<update id='epp.package.committers' range='[4.6.0.20160301-1200,4.32.0.20240405-0600)' severity='0' description='Eclipse package upgrade from versions before Eclipse Neon (4.6) is not possible. See bug 332989.'/>
<update id='epp.package.jee' range='[4.6.0.20160301-1200,4.32.0.20240405-0600)' severity='0' description='Eclipse package upgrade from versions before Eclipse Neon (4.6) is not possible. See bug 332989.'/>
<update id='epp.package.dsl' range='[4.6.0.20160301-1200,4.32.0.20240405-0512)' severity='0' description='Eclipse package upgrade from versions before Eclipse Neon (4.6) is not possible. See bug 332989.'/>
<update id='epp.package.modeling' range='[4.6.0.20160301-1200,4.32.0.20240405-0600)' severity='0' description='Eclipse package upgrade from versions before Eclipse Neon (4.6) is not possible. See bug 332989.'/>
<update id='epp.package.java' range='[4.6.0.20160301-1200,4.32.0.20240405-0600)' severity='0' description='Eclipse package upgrade from versions before Eclipse Neon (4.6) is not possible. See bug 332989.'/>
I removed the advice from the embedcpp product because there is no neon version of that product.
I even wonder are these needed for any product ? Update of a 8 years old product will most likely fail for many other reasons too.
All the update.id advice was commented because Tycho 4.0.7 throws exception; this re-enables all those. Also, each p2.inf for each product is renamed to epp.p2.inf which avoids a related bug parsing the advice file for the project as a whole as opposed to parse the product-specific advice. Define a file association in the setup so it's easy to open an eep.p2.inf with the properties editor.