Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 83 lines (64 sloc) 3.93 KB
<project default="run">
<target name="run">
1. You must check out the following projects to your workspace:
2. You must provide Ant-Contrib in one of four places:
${thirdPartyJarsDir}/ant-contrib.jar (path can be customized below)
/usr/share/java/ant-contrib.jar (may require a symlink)
You can install Ant-Contrib 1.0b2 via RPM, or download it here:
3. If your project's sources are in SVN, you must unpack this zip into the basebuilder project's plugins/ folder:
4. To run automated JUnit tests headlessly, you will require Xvfb or Xvnc; without this,
UI tests will be launched into your current OS session (ie., on view port :0) and you may
inadvertently interact with them. (Non-UI tests can be run without fear of accidental
interaction and do not have this requirement.)
5. You must also ensure that the path specified for Java, and the version of Eclipse stated in
are correct for your machine. Edit these properties to suit your needs. Note that JAVA*_HOME variables are for
convenience, set in common.releng/ You can override them in your, or define
different defaults in, if you intend to run more than one build on this server.
<!-- load properties and set timestamp for the build -->
<property file="" />
<format property="buildTimestamp" pattern="yyyyMMddHHmm" />
<!-- We want our version qualifiers to be substituted with v<timestamp>
but for some reason, that only seems to work when we build from
local source. Explicitly setting the qualifier to v<timestamp>
ensures that our qualifiers will use the right form whether we're
fetching external source, or building from local source. -->
<property name="forceContextQualifier" value="v${buildTimestamp}" />
to build from HEAD, uncomment these lines
<property name="forceContextQualifier" value="v${buildTimestamp}" />
<property name="fetchTag" value="HEAD" />
<!-- calculate workspaceDir as parent of this folder, the project's .releng folder (relengBuilderDir) -->
<property name="relengBuilderDir" value="${basedir}" />
<dirname file="${relengBuilderDir}" property="workspaceDir" />
<property name="localSourceCheckoutDir" value="${workspaceDir}" />
can build in /tmp, eg., in /tmp/build, or in workspace, eg.,
<property name="writableBuildRoot" value="${workspaceDir}/../generated-eclipse" />
can be simple path, eg.,
${writableBuildRoot}/${buildType}${buildTimestamp} or longer, eg.,
${writableBuildRoot}/${topprojectName}/${projectName}/downloads/drops/${version}/${buildType}${buildTimestamp} or
<property name="buildDir" value="${writableBuildRoot}/buildArtifacts" />
<!-- invoke a new Eclipse process and launch the build from the common.releng folder -->
<property name="relengCommonBuilderDir" value="${workspaceDir}/org.eclipse.dash.common.releng" />
<ant antfile="${relengCommonBuilderDir}/buildAll.xml" target="runEclipse" dir="${relengCommonBuilderDir}" />