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

Bug 325338

Summary: error in aggregation build : Acceleo dependency
Product: [Modeling] MoDisco Reporter: Nicolas Bros <nicolas.bros>
Component: MainAssignee: Nicolas Bros <nicolas.bros>
Status: CLOSED FIXED QA Contact:
Severity: blocker    
Priority: P1 CC: gdupe, hugo.bruneliere, modisco.web-inbox
Version: 0.8.0Flags: nicolas.bros: helios+
Target Milestone: 0.8.1   
Hardware: All   
OS: All   
Whiteboard:

Description Nicolas Bros CLA 2010-09-15 07:48:47 EDT
The following errors occured when building Helios:

Software being installed: all.contributed.content.feature.group 1.0.0

Missing requirement: org.eclipse.gmt.modisco.workflow.driver.acceleo 0.8.1.v201009090831 requires 'bundle org.eclipse.acceleo.ide.ui [3.1.0,4.0.0)' but it could not be found

Cannot satisfy dependency: all.contributed.content.feature.group 1.0.0 depends on: org.eclipse.gmt.modisco.sdk.feature.group 0.8.1.v201009090831

Cannot satisfy dependency: org.eclipse.gmt.modisco.sdk.feature.group 0.8.1.v201009090831 depends on: org.eclipse.gmt.modisco.workflow.driver.acceleo.feature.group [0.8.1.v201009090831]

Cannot satisfy dependency: org.eclipse.gmt.modisco.workflow.driver.acceleo.feature.group 0.8.1.v201009090831 depends on: org.eclipse.gmt.modisco.workflow.driver.acceleo [0.8.1.v201009090831]

Check the log file for more information: https://build.eclipse.org/hudson/view/Repository%20Aggregation/job/helios.runAggregator/372/console
Comment 1 Nicolas Bros CLA 2010-09-15 07:50:55 EDT
This happened when Acceleo switched their contributing update site from "milestones" to "releases" in the helios build model.

Laurent Goubet pointed out that version 3.1.0 of Acceleo (minimal requirement from the failure above) is the version that will be contributed to Indigo, the Acceleo version for Helios being 3.0.1.
Comment 2 Nicolas Bros CLA 2010-09-15 08:55:16 EDT
Fixed by rebuilding MoDisco using the "releases" Acceleo update site, and re-publishing this build in Helios.

The problem was that MoDisco plug-ins don't specify a dependency range for Acceleo. So, p2 takes the higher version it finds when building MoDisco.
The version of MoDisco targeting Helios SR1 is built with the same update sites as those specified in the Helios build model.
So, since Acceleo used their "milestones" update site, which apparently contains both Helios and Indigo versions of their plug-ins, MoDisco was built using the Indigo version of Acceleo from this update site.
This dependency then became explicit in the MoDisco update site built with p2.
But when Acceleo switched from "milestones" to "releases" in the Helios build model, this version wasn't available anymore, causing the aggregation failure.
Comment 3 Nicolas Bros CLA 2010-09-15 12:13:26 EDT
I specified closed version dependencies in buckminster.cspec in the releng project, to make sure the versions are OK for all dependencies.
Comment 4 Hugo Bruneliere CLA 2010-10-05 05:10:57 EDT
Bug fixed.