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/Configuration File Format"

< EPP
m
m (New Package Community Website)
Line 8: Line 8:
  
 
The new EPP Package Website will be driven by additional data from the EPP config file.
 
The new EPP Package Website will be driven by additional data from the EPP config file.
See [[EPP Packaging Site]] with a description of the proposed additional information.  
+
See [[EPP/Packaging Site]] with a description of the proposed additional information.
  
 
==Example with Comments==
 
==Example with Comments==

Revision as of 06:40, 8 April 2008

Templates and Working EPP Configuration File Examples

Access the currently used configuration files via CVS:

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

New Package Community Website

The new EPP Package Website will be driven by additional data from the EPP config file. See EPP/Packaging Site with a description of the proposed additional information.

Example with Comments

<?xml version="1.0" encoding="UTF-8"?>
<configuration>

  <!-- version: The RCP version to build. This is used to determine the file 
       name of the root file archives -->
  <rcp version="3.4M4" />
  
  <!-- name: The name of the product, used in naming the created files. 
       eclipseProductId: ID of the product for RCP builds
       initialPerspectiveId: ID of the perspective that will be opened first -->
  <product
     name="eclipse-java-ganymede-M4"
     eclipseProductId="org.eclipse.platform.ide"
     initialPerspectiveId="org.eclipse.jdt.ui.JavaPerspective" />

  <!-- Collection of Eclipse Update Sites -->
  <updateSites>
    <!-- url: The URL (without site.xml) that points to a valid Eclipse Update Site.
              The features that are given below are searched for on all sites. -->
    <updateSite url="file:///home/data/httpd/download.eclipse.org/releases/ganymede/staging/" />
    <updateSite url="file:///home/data/httpd/download.eclipse.org/technology/epp/updates/0.5milestones/" />
  </updateSites>

  <!-- A list of root features that will put into the package -->
  <requiredFeatures>

    <!-- A single feture
         id: The feature ID
         version: 'latest' will pick up the feature with the highest version number available 
           on the update sites. Otherwise, the correct version number must be set. -->
    <feature
      id="org.eclipse.platform"
      version="latest">
    </feature>

    <feature
      id="org.eclipse.cvs"
      version="latest">
    </feature>
    <feature
      id="org.eclipse.jdt"
      version="latest">
    </feature>

    <feature
      id="org.eclipse.epp.usagedata.feature"
      version="latest">
    </feature>
  </requiredFeatures>

  <!-- folder: Pointing to a folder containing the zipped root files for each of the target platforms.
               May be specified relative to this configuration file. 
               EPP expects Eclipse Platform archives in there with a name derived from the 'rcp version'
               attribute above, e.g. eclipse-platform-3.4M4-linux-gtk.tar.gz -->
  <rootFileFolder folder="/home/data/httpd/download.eclipse.org/eclipse/downloads/drops/S-3.4M4-200712131700" />


  <!-- relativeFolder: Name of a subfolder where a local update site mirror will be created. -->
  <extensionSite relativeFolder="extension_site"></extensionSite>

<!-- Create archives for win32, linux, macosx platforms, antZip is default format -->
  <!-- Define the target platforms that will be build -->
  <targetPlatforms>

    <!-- Definition of a single platform
         os: OS
         ws: Windowing System
         arch: CPU architecture -->         
    <platform os="win32" ws="win32" arch="x86">

      <!-- Define the output archive format
           format: antZip (default), tar (==tar.gz) -->
      <archiveFormat format="antZip"></archiveFormat>

      <!-- Content of the eclipse.ini file 
           path: Path to eclipse.ini within the archive (Mac OSX has a special requirement) -->
      <eclipseIniFileContent path="/eclipse/">-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx256m</eclipseIniFileContent>
    </platform>

    <platform os="linux" ws="gtk" arch="x86">
      <archiveFormat format="tar" />
      <eclipseIniFileContent path="/eclipse/">-showsplash
org.eclipse.platform
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx256m</eclipseIniFileContent>
    </platform>

    <platform os="linux" ws="gtk" arch="x86_64">
      <archiveFormat format="tar" />
      <eclipseIniFileContent path="/eclipse/">-showsplash
org.eclipse.platform
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx256m</eclipseIniFileContent>
    </platform>

    <platform os="macosx" ws="carbon" arch="ppc">
      <archiveFormat format="tar" />
      <eclipseIniFileContent path="/eclipse/Eclipse.app/Contents/MacOS/">-showsplash
org.eclipse.platform
-vmargs
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Xms40m
-Xmx256m
-XX:MaxPermSize=256m
-Dosgi.requiredJavaVersion=1.5
-Dorg.eclipse.swt.internal.carbon.smallFonts</eclipseIniFileContent>
     </platform>
  </targetPlatforms>
</configuration>

Back to the top