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

Bug 317043

Summary: [releng] Build e4 from Helios
Product: [Eclipse Project] e4 Reporter: Paul Webster <pwebster>
Component: UIAssignee: Paul Webster <pwebster>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: aniefer, john.arthorne, kim.moir
Version: 1.0   
Target Milestone: 1.0 RC0   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
first patch none

Description Paul Webster CLA 2010-06-16 09:46:40 EDT
Currently my e4/releng/org.eclipse.e4.builder/builder/general/customTargets.xml  copies a bunch of zips, mirrors the eclipse repo, and feeds all that to the repo2runnable task.  With everything else close enough to be finished I'd like to start using the helios repo to build against.

Andrew, could you come up with a set of replacement tasks that:

1) mirrors the features we need from http://download.eclipse.org/releases/helios to the "local mirror"

2) feed that into the repo2runnable

I'm guessing that we need to mirror the eclipse sdk, the sdk product IU, releng tools, org.eclipse.wst.xml_ui.feature.feature.group, org.eclipse.emf.sdk.feature.group.  Then if they're not picked up, the org.eclipse.rcp.configuration IUs and the ECF IUS.

current xml:

<p2.mirror destination="${targetDir}/eclipse-repo-${eclipseBuildId}" ignoreerrors="true">
<source>
<repository location="${eclipseRepoURL}" />
</source>
</p2.mirror>
<get usetimestamp="true" dest="${targetDir}/${emfRepoZip}" src="${emfRepoURL}" ignoreerrors="true"/>
<get usetimestamp="true" dest="${targetDir}/${gefRepoZip}" src="${gefRepoURL}" ignoreerrors="true"/>
<get usetimestamp="true" dest="${targetDir}/${wtpRepoZip}" src="${wptRepoURL}" ignoreerrors="true"/>

<p2.repo2runnable destination="${transformedRepoLocation}" failOnError="false">
<source>
<repository location="file:${targetDir}/eclipse-repo-${eclipseBuildId}" />
<repository location="file:${targetDir}/${emfRepoZip}" />
<repository location="file:${targetDir}/${gefRepoZip}" />
<repository location="file:${targetDir}/${wtpRepoZip}" />
</source>
Comment 1 Andrew Niefer CLA 2010-06-16 18:05:46 EDT
Created attachment 172079 [details]
first patch

Patch for the mirroring, current set of IUs is:
	<iu id="org.eclipse.sdk.ide" />
	<iu id="org.eclipse.equinox.core.sdk.feature.group" />
	<iu id="org.eclipse.wst.xml_ui.feature.feature.group" />
	<iu id="org.eclipse.wst.web_core.feature.feature.group" />
	<iu id="org.eclipse.emf.sdk.feature.group" />
	<iu id="org.apache.commons.beanutils" />

The apache.commons.beanutils feels like something like perhaps should be coming from orbit?

I ran a small test build on my own machine which got as far as compiling things.
Comment 2 Paul Webster CLA 2010-06-17 14:06:46 EDT
This is the list of complaints I get from our new mirror script.  I presume most of these make sense, given what's in our Eclipse SDK repo?

[p2.mirror] Unable to satisfy dependency from toolingorg.eclipse.sdk.ide.configuration 3.6.0.I20100608-0911 to toolingcarbon.macosx.ppcorg.eclipse.equinox.ds [3.6.0.I20100608-0911].
[p2.mirror] Unable to satisfy dependency from toolingorg.eclipse.sdk.ide.configuration 3.6.0.I20100608-0911 to toolingorg.eclipse.sdk.ide.config.carbon.macosx.ppc [3.6.0.I20100608-0911].
[p2.mirror] Unable to satisfy dependency from toolingorg.eclipse.sdk.ide.configuration 3.6.0.I20100608-0911 to toolingcarbon.macosx.ppcorg.eclipse.equinox.event [3.6.0.I20100608-0911].
[p2.mirror] Unable to satisfy dependency from toolingorg.eclipse.sdk.ide.configuration 3.6.0.I20100608-0911 to toolingcarbon.macosx.ppcorg.eclipse.equinox.common [3.6.0.I20100608-0911].
[p2.mirror] Unable to satisfy dependency from toolingorg.eclipse.sdk.ide.configuration 3.6.0.I20100608-0911 to toolingorg.eclipse.sdk.ide.ini.carbon.macosx.ppc [3.6.0.I20100608-0911].
[p2.mirror] Unable to satisfy dependency from toolingorg.eclipse.sdk.ide.configuration 3.6.0.I20100608-0911 to toolingcarbon.macosx.ppcorg.eclipse.equinox.p2.reconciler.dropins [3.6.0.I20100608-0911].
[p2.mirror] Unable to satisfy dependency from toolingorg.eclipse.sdk.ide.configuration 3.6.0.I20100608-0911 to toolingcarbon.macosx.ppcorg.eclipse.update.configurator [3.6.0.I20100608-0911].
[p2.mirror] Unable to satisfy dependency from toolingorg.eclipse.sdk.ide.configuration 3.6.0.I20100608-0911 to toolingcarbon.macosx.ppcorg.eclipse.equinox.simpleconfigurator [3.6.0.I20100608-0911].
[p2.mirror] Unable to satisfy dependency from toolingorg.eclipse.sdk.ide.configuration 3.6.0.I20100608-0911 to toolingcarbon.macosx.ppcorg.eclipse.core.runtime [3.6.0.I20100608-0911].
[p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.configuration.feature.group 1.0.0.I20100608-0911 to org.eclipse.equinox.launcher.motif.solaris.sparc [1.1.0.v20100503].
[p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.configuration.feature.group 1.0.0.I20100608-0911 to org.eclipse.rcp.configuration_root.carbon.macosx.ppc [1.0.0.I20100608-0911].
[p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.configuration.feature.group 1.0.0.I20100608-0911 to toolingorg.eclipse.equinox.launcher.motif.solaris.sparc [1.1.0.v20100503].
[p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.6.0.v20100519-9OArFKvFtsd7WLUKh-DcYTS to org.eclipse.swt.motif.solaris.sparc [3.6.0.v3650b].
[p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.6.0.v20100519-9OArFKvFtsd7WLUKh-DcYTS to org.eclipse.swt.photon.qnx.x86 [3.6.0.v3650b].
[p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.source.feature.group 3.6.0.v20100519-9OArFKvFtsd7WLUKh-DcYTS to org.eclipse.swt.motif.solaris.sparc.source [3.6.0.v3650b].
[p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.source.feature.group 3.6.0.v20100519-9OArFKvFtsd7WLUKh-DcYTS to org.eclipse.swt.photon.qnx.x86.source [3.6.0.v3650b].
Comment 3 Andrew Niefer CLA 2010-06-17 15:03:36 EDT
Yes these are expected in that the rcp feature includes dependencies that are filtered on specific platforms.  I believe some of the platforms just aren't mirrored to the helios repo (carbon.macosx.ppc, motif.solaris.sparc) and some  aren't built at all (photon.qnx.x86)
Comment 4 Paul Webster CLA 2010-06-17 16:07:41 EDT
http://build.eclipse.org/eclipse/e4/build/e4/downloads/drops/4.0.0/I20100617-1536 looks promising.  It is currently running the tests.

We had to include an XSD feature as well, and remove the rap plugins.

PW
Comment 5 Paul Webster CLA 2010-06-18 08:16:01 EDT
http://download.eclipse.org/e4/downloads/drops/I20100617-2110 and http://download.eclipse.org/e4/sdk/drops/I20100617-2238 are built from the helios repo.

Thanx a lot, Andrew.

PW