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

Bug 221342

Summary: Builds should be two-stage: CVS->buildable source, source->binaries
Product: z_Archived Reporter: Andrew Overholt <overholt>
Component: LinuxToolsAssignee: Packaging Tools Inbox <linux.packagingtools-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: kim.moir, nboldt
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 221336    

Description Andrew Overholt CLA 2008-03-04 11:00:59 EST
It's probably too late for 3.4, but I'd like to work towards this for next year (2009).

I'd like for us (the Eclipse packagers on the various distros) to do the work to make the eclipse.org builds two-stage.  It would make our lives easier if the upstream binary releases were created from the upstream source releases.  That way we could ensure we are using the exact same build procedure as eclipse.org.  Things to keep in mind when we do this:

- we must not put any extra burden on Kim
- Kim's workflows must be preserved
- the builds cannot decrease in reliability

This is part of the larger goal of improving the consumability of the builds for Linux distributions.
Comment 1 Andrew Overholt CLA 2008-03-04 11:03:57 EST
Here are some notes I have scribbled down on how the sdk build works.  They may help with getting started ... or they may not :)

pre
• code -> cvs -> tag -> map files

bootstrap.sh (cron job)
• checks out
∘ eclipseInternalBuildTools
∘ org.eclipse.releng.eclipsebuilder
∘ org.eclipse.releng.basebuilder (add --bootstrap option here)
• initiates ant script (buildAll.xml) for entire build
buildAll.xml
• build source drops (bootstrapping PDE Build would require getting rid of the generate call here)
∘ PDE Build for both sdk.examples AND sdk (customTargets = ${PDE Build}/templates/headless-build/customTargets.xml
‣ preBuild
‣ fetch
‣ generate
• build master feature
∘ PDE Build "builder" = component (ex. master)
‣ eclipse/buildConfigs/master (os-arch-ws here)
‣ defines/uses:
• builderDirectory
• buildProperties
• customTargets (if present)
‣ regular PDE Build
• preBuild
• fetch
• generate
• process
• assemble
• package
• postBuild
Comment 2 Andrew Overholt CLA 2008-09-30 14:10:52 EDT
Tentatively setting 1.0RC milestone target.
Comment 3 Nick Boldt CLA 2008-11-06 22:20:04 EST
Is this a dupe of bug 251928? Should we close one / move the other?
Comment 4 Andrew Overholt CLA 2008-11-12 08:48:26 EST
(In reply to comment #3)
> Is this a dupe of bug 251928? Should we close one / move the other?

Yeah, probably.

*** This bug has been marked as a duplicate of bug 251928 ***