Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361330

Summary: Unable to upgrade from Sapphire 0.2.3 to 0.3.1
Product: z_Archived Reporter: Konstantin Komissarchik <konstantin>
Component: SapphireAssignee: Konstantin Komissarchik <konstantin>
Status: CLOSED FIXED QA Contact:
Severity: critical    
Priority: P3 CC: ram.venkataswamy
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Konstantin Komissarchik CLA 2011-10-19 01:41:01 EDT
1. Start with a fresh Indigo SR1 Java EE IDE install.
2. Install all features from Sapphire 0.2.3 repository (http://download.eclipse.org/sapphire/0.2.3/repository).
3. Install all features from Sapphire 0.3.1 repository (http://download.eclipse.org/sapphire/0.3.1/repository) in order to perform an upgrade.

The upgrade fails with the following:

Your original request has been modified.
  "Sapphire Samples (Incubation)" is already installed, so an update will be performed instead.
  "Sapphire SDK (Incubation)" is already installed, so an update will be performed instead.
  "Sapphire Source (Incubation)" is already installed, so an update will be performed instead.
  "Sapphire Tests (Incubation)" is already installed, so an update will be performed instead.
Cannot complete the install because of a conflicting dependency.
  Software being installed: Sapphire SDK (Incubation) 0.3.1.201110072104 (org.eclipse.sapphire.sdk.feature.group 0.3.1.201110072104)
  Software currently installed: Sapphire 0.2.3.201106221307 (org.eclipse.sapphire.feature.group 0.2.3.201106221307)
  Only one of the following can be installed at once: 
    Sapphire Modeling Framework 0.2.3.201106221307 (org.eclipse.sapphire.modeling 0.2.3.201106221307)
    Sapphire (Incubation) 0.3.2.201110182225 (org.eclipse.sapphire.modeling 0.3.2.201110182225)
  Cannot satisfy dependency:
    From: Sapphire Documentation (Incubation) 0.3.1.201110072104 (org.eclipse.sapphire.doc 0.3.1.201110072104)
    To: bundle org.eclipse.sapphire.modeling [0.3.1,0.3.2)
  Cannot satisfy dependency:
    From: Sapphire 0.2.3.201106221307 (org.eclipse.sapphire.feature.group 0.2.3.201106221307)
    To: org.eclipse.sapphire.modeling [0.2.3.201106221307]
  Cannot satisfy dependency:
    From: Sapphire SDK (Incubation) 0.3.1.201110072104 (org.eclipse.sapphire.sdk.feature.group 0.3.1.201110072104)
    To: org.eclipse.sapphire.doc [0.3.1.201110072104]

The issue is that during refactoring in 0.3.0 release, the org.eclipse.sapphire feature went away. This breaks upgrade.
Comment 1 Konstantin Komissarchik CLA 2011-10-19 01:43:58 EDT
Ignore the previous error message. It was from a debug run. The original error message is as follows:

Your original request has been modified.
  "Sapphire Samples (Incubation)" is already installed, so an update will be performed instead.
  "Sapphire SDK (Incubation)" is already installed, so an update will be performed instead.
  "Sapphire Source (Incubation)" is already installed, so an update will be performed instead.
  "Sapphire Tests (Incubation)" is already installed, so an update will be performed instead.
Cannot complete the install because of a conflicting dependency.
  Software being installed: Sapphire XML Editor Support (Incubation) 0.3.1.201110072104 (org.eclipse.sapphire.ui.swt.xml.editor.feature.group 0.3.1.201110072104)
  Software currently installed: Sapphire 0.2.3.201106221307 (org.eclipse.sapphire.feature.group 0.2.3.201106221307)
  Only one of the following can be installed at once: 
    Sapphire UI Framework 0.2.3.201106221307 (org.eclipse.sapphire.ui 0.2.3.201106221307)
    Sapphire UI Framework (Incubation) 0.3.1.201110072104 (org.eclipse.sapphire.ui 0.3.1.201110072104)
  Cannot satisfy dependency:
    From: Sapphire 0.2.3.201106221307 (org.eclipse.sapphire.feature.group 0.2.3.201106221307)
    To: org.eclipse.sapphire.ui [0.2.3.201106221307]
  Cannot satisfy dependency:
    From: Sapphire XML Editor Support (Incubation) 0.3.1.201110072104 (org.eclipse.sapphire.ui.swt.xml.editor 0.3.1.201110072104)
    To: bundle org.eclipse.sapphire.ui [0.3.1,0.3.2)
  Cannot satisfy dependency:
    From: Sapphire XML Editor Support (Incubation) 0.3.1.201110072104 (org.eclipse.sapphire.ui.swt.xml.editor.feature.group 0.3.1.201110072104)
    To: org.eclipse.sapphire.ui.swt.xml.editor [0.3.1.201110072104]
Comment 2 Konstantin Komissarchik CLA 2011-10-19 05:25:36 EDT
Fixed. Please verify 0.2.3 -> 0.3.2 and 0.3.1 -> 0.3.2 scenarios.
Comment 3 Ram Venkataswamy CLA 2011-10-20 12:29:50 EDT
verified
Comment 4 Konstantin Komissarchik CLA 2011-10-20 14:36:25 EDT
Thanks. Closing.