Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Modeling Project Releng/Building/All-In-Ones
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".
---
- Note: To download and use dynamically-named requirements based on Eclipse SDK tar.gz, use something like this. Ant-contrib is required.:
<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>