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

Modeling Project Releng/Building/All-In-Ones

< Modeling Project Releng‎ | Building
Revision as of 17:23, 18 December 2008 by Nickboldt+bugzilla.gmail.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

As of December 2008, there's a new Ant task for packaging up All-In-One bundles. These archives consist of your SDK or ALL zip + Eclipse + all dependencies used to build.

If you prefer to create a more light-weight bundle, this is NOT the solution for you.

 !
PLEASE NOTE: If you plan to use this task, you MUST migrate your build to modeling.eclipse.org first, as there is insufficient space on emft.eclipse.org to accommodate this task.
 !

To use this new Ant task, simply add this to your buildAll.xml:

<ant target="packAllInOnes" antfile="${helper}" />

You can control the behaviour of the task with these options:

<property name="allInOnePrefix" value="${projectName}-all-in-one" />

<property name="allInOnePlatforms" value="win32,linux-gtk,macosx-carbon" />

<property name="allInOneEclipseBase" value="platform"/>

<property name="allInOneInputs" value="${allZip}" />
<property name="allInOneInputExtras" value="${thisEclipseCVSClientFile}"/>
<property name="allInOneBuildTypes" value="S,R" />

See also this script for more information -- search for "packAllInOnes".

---

<propertyregex property="thisEclipseCVSClientFile"
  input="${eclipseFile}"
  regexp="(.+eclipse-)(SDK-)(.+)(-linux-gtk\.tar\.gz)"
  replace="\1CVS-Client-\3.zip"
  casesensitive="false"
/>
<if>
  <not>
    <available file="${downloadsDir}/${thisEclipseCVSClientFile}" type="file" />
  </not>
  <then>
    <propertyregex property="thisEclipseCVSClientURL"
      input="${eclipseURL}"
      regexp="(.+eclipse-)(SDK-)(.+)(-linux-gtk\.tar\.gz)"
      replace="\1CVS-Client-\3.zip"
      casesensitive="false"
    />
    <get src="${thisEclipseCVSClientURL}" 
      dest="${downloadsDir}/${thisEclipseCVSClientFile}" usetimestamp="true" />
    <touch file="${downloadsDir}/${thisEclipseCVSClientFile}" />
  </then>
</if>

Back to the top