Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EPP/Obsolete/Galileo Packages"

< EPP
m (Using the eclipse.org repositories)
m (Jonah.kichwacoders.com moved page EPP/Galileo Packages to EPP/Obsolete/Galileo Packages: Obsolete)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{warning|Note: The contents of this page is obsolete, but it may still contain some interesting tid-bits.}}
 +
 +
[[Category:EPP:Obsolete]]
 
==Overview==
 
==Overview==
  
Line 7: Line 10:
 
** a epp.product file that is used to generate the EPP p2 repository
 
** a epp.product file that is used to generate the EPP p2 repository
 
** a eclipse_PACKAGENAME_galileo.xml file (the old EPP config file) that is used for generating the website only.
 
** a eclipse_PACKAGENAME_galileo.xml file (the old EPP config file) that is used for generating the website only.
* [currently] EPP p2 repository: http://download.eclipse.org/technology/epp/packages/galileo/milestones/
+
* EPP p2 composite repository with all milestones and release candidates: http://download.eclipse.org/technology/epp/packages/galileo/
  
 
==p2 Repositories==
 
==p2 Repositories==
Line 13: Line 16:
 
EPP uses the following p2 repositories:
 
EPP uses the following p2 repositories:
 
* Galileo Staging: http://download.eclipse.org/releases/staging/
 
* Galileo Staging: http://download.eclipse.org/releases/staging/
* EPP p2 repository: http://download.eclipse.org/technology/epp/packages/galileo/milestones/
+
* EPP p2 composite repository with all milestones and release candidates: http://download.eclipse.org/technology/epp/packages/galileo/
* The CDT repository: http://download.eclipse.org/tools/cdt/updates/galileo/ (this is necessary because the Linux x86_64 are not available from the Galileo repository)
+
  
 
==Package Definition==
 
==Package Definition==
Line 30: Line 32:
 
* feature.xml: See the examples in CVS. This file contains the branding plug-in and defines the content of the package [currently] in the "requires" section of the feature definition, e.g.
 
* feature.xml: See the examples in CVS. This file contains the branding plug-in and defines the content of the package [currently] in the "requires" section of the feature definition, e.g.
  
<code><pre>
+
<source lang="xml">
  <requires>
+
<requires>
      <import feature="org.eclipse.cvs" version="1.1.0" match="greaterOrEqual"/>
+
  <import feature="org.eclipse.cvs" version="1.1.0" match="greaterOrEqual"/>
      <import feature="org.eclipse.equinox.p2.user.ui" version="1.1.0" match="greaterOrEqual"/>
+
  <import feature="org.eclipse.equinox.p2.user.ui" version="1.1.0" match="greaterOrEqual"/>
      <import feature="org.eclipse.help" version="1.1.0" match="greaterOrEqual"/>
+
  <import feature="org.eclipse.help" version="1.1.0" match="greaterOrEqual"/>
      ...
+
  ...
</pre></code>
+
</source>
  
 
===Plug-in org.eclipse.epp.package.PACKAGENAME===
 
===Plug-in org.eclipse.epp.package.PACKAGENAME===
Line 45: Line 47:
 
</pre></code>
 
</pre></code>
 
* plugin.xml: This is used to specify the product and all properties that are necessary for the product:
 
* plugin.xml: This is used to specify the product and all properties that are necessary for the product:
<code><pre>
+
 
 +
<source lang="xml">
 
<plugin>
 
<plugin>
  <extension
+
  <extension
        id="product"
+
      id="product"
        point="org.eclipse.core.runtime.products">
+
      point="org.eclipse.core.runtime.products">
      <product
+
    <product
            application="org.eclipse.ui.ide.workbench"
+
        application="org.eclipse.ui.ide.workbench"
            description="The EPP Pulsar Package."
+
        description="The EPP Pulsar Package."
            name="EPP Pulsar Package">
+
        name="EPP Pulsar Package">
 
...
 
...
</pre></code>
+
</source>
* splash.bmp
+
  
 
==Local Package Build==
 
==Local Package Build==
Line 68: Line 70:
 
<code><pre>
 
<code><pre>
 
eclipse -nosplash -consoleLog \
 
eclipse -nosplash -consoleLog \
-application org.eclipse.equinox.p2.director.app.application \
+
-application org.eclipse.equinox.p2.director \
-metadataRepositories http://download.eclipse.org/releases/staging/,http://download.eclipse.org/technology/epp/packages/galileo/milestones/ \
+
-m http://download.eclipse.org/releases/staging/,http://download.eclipse.org/technology/epp/packages/galileo/ \
-artifactRepositories http://download.eclipse.org/releases/staging/,http://download.eclipse.org/technology/epp/packages/galileo/milestones/ \
+
-a http://download.eclipse.org/releases/staging/,http://download.eclipse.org/technology/epp/packages/galileo/ \
 
-installIU epp.package.cpp \
 
-installIU epp.package.cpp \
 
-destination /tmp/epp/eclipse \
 
-destination /tmp/epp/eclipse \
 
-profile epp.package.cpp \
 
-profile epp.package.cpp \
 +
-flavor tooling \
 
-profileProperties org.eclipse.update.install.features=true \
 
-profileProperties org.eclipse.update.install.features=true \
 
-bundlepool /tmp/epp/eclipse \
 
-bundlepool /tmp/epp/eclipse \
Line 85: Line 88:
 
** http://download.eclipse.org/releases/galileo/ - the main Galileo repository with the milestone content
 
** http://download.eclipse.org/releases/galileo/ - the main Galileo repository with the milestone content
 
** http://download.eclipse.org/releases/staging/ - the Galileo continuous integration repository
 
** http://download.eclipse.org/releases/staging/ - the Galileo continuous integration repository
** http://download.eclipse.org/technology/epp/packages/galileo/milestones/ - the EPP repository that defines the root IU's and contains the product binaries
+
** http://download.eclipse.org/technology/epp/packages/galileo/ - the EPP composite repository that defines the root IU's and contains the product binaries
  
 
===Using a local repository generated from the .product file===
 
===Using a local repository generated from the .product file===
 +
 +
* Use the PDE product editor and use the Eclipse Product Export Wizard to export the product to some place on your disk
 +
** Make sure that you enable 'Generate metadata repository'
 +
* Replace the EPP repository in the above command with your local repository, e.g. <tt>file:///tmp/...</tt>
 +
 +
  
  
 
[[Category:EPP]]
 
[[Category:EPP]]

Latest revision as of 21:31, 6 May 2021

Warning2.png
Note: The contents of this page is obsolete, but it may still contain some interesting tid-bits.

Overview

  • All EPP Packages for the Galileo release are build from p2 repositories with the p2 director.
  • Every package is defined by
    • a feature
    • a branding plug-in
    • a epp.product file that is used to generate the EPP p2 repository
    • a eclipse_PACKAGENAME_galileo.xml file (the old EPP config file) that is used for generating the website only.
  • EPP p2 composite repository with all milestones and release candidates: http://download.eclipse.org/technology/epp/packages/galileo/

p2 Repositories

EPP uses the following p2 repositories:

Package Definition

All EPP consists of two projects that are available from the EPP CVS. Changes should be requested by submitting a bug in bugzilla with an attached patch.

cvs -d :pserver:anonymous@dev.eclipse.org:/cvsroot/technology checkout -P org.eclipse.epp/packages

Feature org.eclipse.epp.package.PACKAGENAME.feature

  • eclipse_PACKAGENAME_galileo.xml: This file is the old EPP configuration file. It is only used to drive the website and contains the name, description, links to bugzilla, name of the maintainer, links to new and noteworthy, etc. The content of the package is not defined in this file (see feature.xml)!
  • epp.product: Product configuration file that is used to generate the p2 repository which can be used by the p2 director to build the final package.
  • feature.xml: See the examples in CVS. This file contains the branding plug-in and defines the content of the package [currently] in the "requires" section of the feature definition, e.g.
<requires>
  <import feature="org.eclipse.cvs" version="1.1.0" match="greaterOrEqual"/>
  <import feature="org.eclipse.equinox.p2.user.ui" version="1.1.0" match="greaterOrEqual"/>
  <import feature="org.eclipse.help" version="1.1.0" match="greaterOrEqual"/>
  ...

Plug-in org.eclipse.epp.package.PACKAGENAME

  • plugin_customization.ini: Among other things a package can specify it default perspective in here:
org.eclipse.ui/defaultPerspectiveId=org.eclipse.jdt.ui.JavaPerspective
  • plugin.xml: This is used to specify the product and all properties that are necessary for the product:
<plugin>
  <extension
      id="product"
      point="org.eclipse.core.runtime.products">
    <product
        application="org.eclipse.ui.ide.workbench"
        description="The EPP Pulsar Package."
        name="EPP Pulsar Package">
...

Local Package Build

A local package build is the same as running the p2 director on the above p2 repositories and installing special root IU's from the repositories. Available root IU's: epp.package.cpp, epp.package.java, epp.package.jee, epp.package.modeling, epp.package.php, epp.package.pulsar, epp.package.rcp, epp.package.reporting.

Using the eclipse.org repositories

IMPORTANT: Use Eclipse 3.5 and use a operating system with a filesystem that knows about access rights, executable bits and case sensitive directory and file names.

eclipse -nosplash -consoleLog \
-application org.eclipse.equinox.p2.director \
-m http://download.eclipse.org/releases/staging/,http://download.eclipse.org/technology/epp/packages/galileo/ \
-a http://download.eclipse.org/releases/staging/,http://download.eclipse.org/technology/epp/packages/galileo/ \
-installIU epp.package.cpp \
-destination /tmp/epp/eclipse \
-profile epp.package.cpp \
-flavor tooling \
-profileProperties org.eclipse.update.install.features=true \
-bundlepool /tmp/epp/eclipse \
-p2.os linux -p2.ws gtk -p2.arch x86_64 \
-roaming -vmargs -Declipse.p2.mirrors=false -Declipse.p2.data.area=/tmp/epp/eclipse/p2

This command will install the CPP package with the root IU epp.package.cpp for the platform linux/gtk/x86_64 into the directory /tmp/epp/eclipse.

Using a local repository generated from the .product file

  • Use the PDE product editor and use the Eclipse Product Export Wizard to export the product to some place on your disk
    • Make sure that you enable 'Generate metadata repository'
  • Replace the EPP repository in the above command with your local repository, e.g. file:///tmp/...

Back to the top