| <?xml version="1.0"?> |
| <!-- --> |
| <!-- Copyright (c) 2008 Cisco Systems, Inc. --> |
| <!-- All rights reserved. This program and the accompanying materials --> |
| <!-- are made available under the terms of the Eclipse Public License v1.0 --> |
| <!-- which accompanies this distribution, and is available at --> |
| <!-- http://www.eclipse.org/legal/epl-v10.html --> |
| <!-- --> |
| <!-- Contributors: --> |
| <!-- Cisco Systems, Inc. - erdillon --> |
| <!-- --> |
| <!-- Build script for All Tigerstripe Features in one go --> |
| <project default="main" basedir="."> |
| |
| <property file="bootstrap.properties" /> |
| <property file="base-build.properties" /> |
| <property file="local.properties" /> |
| <property environment="env" /> |
| |
| <target name="timestamp" unless="$env.nightly"> |
| |
| </target> |
| |
| <target name="init"> |
| <tstamp /> |
| <touch file="${user.home}/.cvspass" /> |
| <property name="date" value="${DSTAMP}" /> |
| <property name="time" value="${TSTAMP}" /> |
| <property name="timestamp" value="${date}${time}" /> |
| <property name="buildType" value="N" /> |
| <property name="buildId" value="${buildType}${timestamp}_incubation" /> |
| <property name="component" value="everything" /> |
| <property name="mapsCheckoutTag" value="HEAD" /> |
| <property name="stream" value="0.3.0" /> |
| |
| <!-- For Nightly/Integration builds, the buildLabel is set to the buildId --> |
| <property name="buildLabel" value="${buildId}" /> |
| <property name="buildComment" value="${component} Build" /> |
| </target> |
| |
| <target name="main" depends="init"> |
| <echo message="Building Tigerstripe feature for Europa..." /> |
| <ant antfile="build.xml" dir="${pde.build}/scripts"> |
| <property name="scripts" value="${basedir}/scripts" /> |
| <property name="libs" value="${basedir}/lib" /> |
| <property name="stream" value="${stream}" /> |
| <property name="buildRoot" value="${build.root}/builds" /> |
| <property name="builder" value="${basedir}/components/${component}" /> |
| <property name="buildDirectory" value="${build.root}/builds/everything/${buildLabel}" /> |
| </ant> |
| |
| <echo message="Deploying on localDownloads site" /> |
| <ant antfile="${basedir}/scripts/deploy.xml" target="deploy.downloads" inheritall="true"> |
| <property name="scripts" value="${basedir}/scripts" /> |
| <property name="libs" value="${basedir}/lib" /> |
| <property name="stream" value="${stream}" /> |
| <property name="buildRoot" value="${build.root}/builds" /> |
| <property name="builder" value="${basedir}/components/${component}" /> |
| <property name="buildDirectory" value="${build.root}/builds/everything/${buildLabel}" /> |
| <property name="artifactsDirectory" value="${build.root}/builds/everything/${buildLabel}/${buildId}"/> |
| <property name="downloads.site.details" value="${basedir}/localDownloads.properties" /> |
| </ant> |
| <!-- Removing auto-deployment of stable builds - better do deploy them manually |
| <ant antfile="deploy.xml" target="deploy.updates.callisto" /> |
| --> |
| </target> |
| |
| </project> |