Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 376987 - Build appropriate platform zips for all products and features that are submitted to Juno including equinox features
Summary: Build appropriate platform zips for all products and features that are submit...
Status: RESOLVED FIXED
Alias: None
Product: CBI
Classification: Technology
Component: build help (show other bugs)
Version: 1.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Thanh Ha CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-17 11:23 EDT by Thanh Ha CLA
Modified: 2014-03-31 13:23 EDT (History)
3 users (show)

See Also:


Attachments
e.p.resources-add-products.patch (7.27 KB, patch)
2012-07-26 15:31 EDT, Thanh Ha CLA
no flags Details | Diff
e.p.swt.binaries-add-products.patch (84.70 KB, patch)
2012-07-26 15:31 EDT, Thanh Ha CLA
no flags Details | Diff
r.e.framework-add-products.patch (9.74 KB, patch)
2012-07-26 15:32 EDT, Thanh Ha CLA
no flags Details | Diff
eclipse-parent-add-products.patch (1.59 KB, patch)
2012-07-26 15:32 EDT, Thanh Ha CLA
no flags Details | Diff
e.p.resources-add-products.patch v2 (14.17 KB, patch)
2012-08-02 15:19 EDT, Thanh Ha CLA
no flags Details | Diff
e.p.swt.binaries-add-products.patch v2 (84.70 KB, patch)
2012-08-02 15:19 EDT, Thanh Ha CLA
no flags Details | Diff
eclipse-parent-add-products.patch v2 (1.87 KB, patch)
2012-08-02 15:20 EDT, Thanh Ha CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thanh Ha CLA 2012-04-17 11:23:58 EDT
This bug is to track discussion on how to build the platform zips for all products and features including Equinox features.

Per CBI call discussion today we need to ensure that the resulting P2 repository and products don't include jars built if there was no changes since the last release and should use the previous jars in this case.
Comment 1 Paul Webster CLA 2012-04-17 12:02:56 EDT
This is a good starting point to understand the zips we have to produce for eclipse:

http://download.eclipse.org/eclipse/downloads/drops/S-3.8M6-201203141800/

We also generate the set of artifacts for equinox as part of the same build, and exploded set of jars as well as a couple of pre-packaged zips:

http://download.eclipse.org/equinox/drops/S-3.8M6-201203141800/index.php

PW
Comment 2 Paul Webster CLA 2012-07-19 11:43:49 EDT
With kdaniel's changes to build SWT from the binaries-git repo, can the standard build now build all of the platforms for SWT instead of just win/mac/linux?

PW
Comment 3 Thanh Ha CLA 2012-07-26 15:31:01 EDT
Created attachment 219231 [details]
e.p.resources-add-products.patch
Comment 4 Thanh Ha CLA 2012-07-26 15:31:52 EDT
Created attachment 219232 [details]
e.p.swt.binaries-add-products.patch
Comment 5 Thanh Ha CLA 2012-07-26 15:32:26 EDT
Created attachment 219233 [details]
r.e.framework-add-products.patch
Comment 6 Thanh Ha CLA 2012-07-26 15:32:48 EDT
Created attachment 219234 [details]
eclipse-parent-add-products.patch
Comment 7 Thanh Ha CLA 2012-07-26 15:37:36 EDT
I could not enable the environment for aix SDK platform due to missing requirement.

  org.eclipse.core.filesystem.aix.ppc

According to the map files this is grabbed from a tag back in 2011 but seems does not exist in the current repo for eclipse.platform.resources.

core.map:fragment@org.eclipse.core.filesystem.aix.ppc=GIT,tag=v20110423-0524,repo=git://git.eclipse.org/gitroot/platform/eclipse.platform.resources.git,path=bundles/org.eclipse.core.filesystem/fragments/org.eclipse.core.filesystem.aix.ppc
Comment 8 John Arthorne CLA 2012-08-02 13:08:03 EDT
(In reply to comment #7)
>   org.eclipse.core.filesystem.aix.ppc
> 
> According to the map files this is grabbed from a tag back in 2011 but seems
> does not exist in the current repo for eclipse.platform.resources.

It is still there:

http://git.eclipse.org/c/platform/eclipse.platform.resources.git/tree/bundles/org.eclipse.core.filesystem/fragments/org.eclipse.core.filesystem.aix.ppc
Comment 9 Thanh Ha CLA 2012-08-02 15:19:21 EDT
Created attachment 219498 [details]
e.p.resources-add-products.patch v2
Comment 10 Thanh Ha CLA 2012-08-02 15:19:57 EDT
Created attachment 219499 [details]
e.p.swt.binaries-add-products.patch v2
Comment 11 Thanh Ha CLA 2012-08-02 15:20:18 EDT
Created attachment 219500 [details]
eclipse-parent-add-products.patch v2
Comment 12 Thanh Ha CLA 2012-08-02 15:23:30 EDT
Fixed issue with missing AIX requirements. The following packages are now created:

org.eclipse.sdk.epp-aix.gtk.ppc64.zip
org.eclipse.sdk.epp-aix.gtk.ppc.zip
org.eclipse.sdk.epp-hpux.gtk.ia64_32.zip
org.eclipse.sdk.epp-linux.gtk.ppc64.tar.gz
org.eclipse.sdk.epp-linux.gtk.s390.tar.gz
org.eclipse.sdk.epp-linux.gtk.s390x.tar.gz
org.eclipse.sdk.epp-linux.gtk.x86_64.tar.gz
org.eclipse.sdk.epp-linux.gtk.x86.tar.gz
org.eclipse.sdk.epp-macosx.cocoa.x86_64.tar.gz
org.eclipse.sdk.epp-macosx.cocoa.x86.tar.gz
org.eclipse.sdk.epp-solaris.gtk.sparc.zip
org.eclipse.sdk.epp-solaris.gtk.x86.zip
org.eclipse.sdk.epp-win32.win32.x86_64.zip
org.eclipse.sdk.epp-win32.win32.x86.zip
Comment 13 Thanh Ha CLA 2012-08-27 10:14:57 EDT
The CBI platform build currently produces all the Eclipse SDK platform zips. I'd like to understand what additional features we are currently not building but need to build.
Comment 14 John Arthorne CLA 2012-08-27 11:11:46 EDT
The link from comment #1 is now broken, but you can see the expected 4.2 output on these two pages:

http://download.eclipse.org/eclipse/downloads/drops4/R-4.2-201206081400/

http://download.eclipse.org/equinox/drops/R-3.8-201206081400/index.php
Comment 15 Thanh Ha CLA 2012-08-27 12:44:12 EDT
Thanks John, I had a look and came up with a list below of what I think the CBI platform builds today and what we still need to build. It seems to me that we have the jars for most of these zips but we do not package them as separate p2 repos. In the PDE build where does these packages come from?

(In reply to comment #14)
> The link from comment #1 is now broken, but you can see the expected 4.2
> output on these two pages:
> 
> http://download.eclipse.org/eclipse/downloads/drops4/R-4.2-201206081400/

Eclipse SDK, I believe every zip listed is being built.

JUnit Plugin Tests and Automated Testing Framework, what are the 2 zips built from?

Example Plug-ins, where does this zip come from?

RCP Runtime Binary, I think this is built in CBI as tychoeclipsebuilder/rcp but the produced repo has differences in the binary and features directories.

RCP SDK, I think this is built in CBI as tychoeclipsebuilder/rcp.sdk but the produced repo has some differences.

DeltaPack, CBI currently does not build this but if I'm not wrong this should be the rcp.deltapack directory in eclipsebuilder. It's just a build.xml however, how should we build this in CBI? Is using antrun plugin sufficient?

com.ibm.icu.base binary and source Plug-ins, the jars can be found in eclipse.platform.repository/target/repository however they are not self contained p2 repositories. Need to understand how CBI can make this a separate package.

Platform Runtime Binary, I think all these packages are being produced in CBI by tychoeclipsebuilder/platform

The following can be found as jars in the eclipse.platform.repository build directory but are not being created as separate p2 packaged repositories. We need to understand how these can be created by CBI:
JDT Runtime Binary
JDT SDK
JDT Core Batch Compiler
Jar Processor
PDE Runtime Binary
PDE SDK
CVS Client Runtime Binary
CVS Client SDK
org.eclipse.releng.tools plug-in 

SWT Binary and Source, I don't think CBI produces these files today, we need to understand where these come from.


> http://download.eclipse.org/equinox/drops/R-3.8-201206081400/index.php

I'm not sure  where Equinox SDK comes from, is this built from a product or one of the directories in releng.eclipsebuilder/equinox?

I believe org.eclipse.osgi can be found in eclipse.platform.repository/target/repository

All items under "Add-on Bundles" can be found under eclipse.platform.repository/target/repository

The 3 items under "Other Required Bundles" can also be found in eclipse.platform.repository/target/repository

Native Launchers, I don't think we are building these zips. From what I can tell we are only producing the .jar files for these at the moment. What is required to get the zips built?

OSGi Starter Kits, where do these come from?


Please let me know if I have any items missing on this list as well.
Comment 16 Thanh Ha CLA 2014-03-31 13:23:00 EDT
I think we're done here.