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

Bug 338767

Summary: Further build and packages related modifications
Product: z_Archived Reporter: Hugues Malphettes <hmalphettes>
Component: RTPAssignee: Hugues Malphettes <hmalphettes>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Hugues Malphettes CLA 2011-03-02 22:10:21 EST
This bug is a follow up of bug 338366.
Here are the next steps after Holger and I reviewed the p2 based packaging:
- RTP products must be installable entirely via p2 on all mainstream OS
- Each RTP package is in fact cross-platform.
- The build must deploy automatically to download.eclipse.org
- The build should produce a single p2 repository. Right now there are 2 separate repositories
- The build should deploy the p2 repository to download.eclipse.org


We agreed to use a shell script executed after the maven build to take care of:
- Create for each package a tar.gz archive suitable for Unix OSes (linux, macos) where the shell script files have the executable permission setup.
Setting up the exec permission and creating the tar.gz is a workaround for a tycho limitation that is worked on here: https://issues.sonatype.org/browse/TYCHO-566
- Deploy the archived zip and tar.gz packages where they can be downloaded.

Also nice to have:
- Tag git with the version number for the build. (not sure how to setup git to do that from the hudson machine)
Comment 1 Hugues Malphettes CLA 2011-03-08 03:20:24 EST
Committed:
- a single repository for both products.
- update to the 7.3.1 build of jetty pointing at the latest N build of eclipse-platform.
- post-process the build with the shell script post-tycho-release.sh
it will change the permission of start.sh and remove the native launcher 'eclipse' from the linux 32 build of both products.
It then tar.gz and zip this build.
- the jetty plugin to sign the bundles and features.
It is enabled with the profile 'build-server'. It needs to be tested on hudson.eclipse.org obviously unfortunatly that server is down at the moment.

Changed on the hudson build:
- added a new step to the build to invoke the post-tycho-release.sh script.

Still to do with Holger's help:
Decide where we want to move the archived products and the p2 repository produced by the build.
Comment 2 Hugues Malphettes CLA 2011-03-10 22:25:05 EST
OK, the hudson build completes and deploys the p2 repo and product archvie together on the rtp download's folder:
http://download.eclipse.org/rtp/incubation/updates/3.7-N-builds/0.1.0.v20110310-2058/

Still to do:
Use a composite repository to point to the latest http://download.eclipse.org/rtp/incubation/updates/3.7-N-build
and the same for all the other build types.
Make some html pages to reflect that.
Comment 3 Hugues Malphettes CLA 2011-03-10 23:29:24 EST
OK, post-tycho-release.sh now generates the composite repository:
http://download.eclipse.org/rtp/incubation/updates/3.7-N-builds/

I added another simple and ugly index.html page here:
http://download.eclipse.org/rtp/incubation/updates/
to navigate to the different build types.

Still to do: purge the old N and I builds I would say.
Making those composite repos and index.html pages look nicer would be a welcome enhancement :)
Comment 4 Hugues Malphettes CLA 2011-05-05 21:18:56 EDT
Ok purging was tracked with bug 344684 and is resolved.
This long going bug should be marked as fixed now.