blob: b2a227f2d5dfd834cd6d895cb54687793bcaf421 [file] [log] [blame]
<?xml version="1.0"?>
Copyright (c) 2014 Eike Stepper (Loehne, Germany) and others.
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
Eike Stepper - initial API and implementation
<project name="promoter" default="promote">
<property environment="env" />
<property file="config/" prefix="config." />
<target name="build">
<fileset dir=".">
<include name="bin/**" />
<exclude name="promoter.jar" />
<mkdir dir="bin" />
<javac srcdir="src" destdir="bin" debug="on" includeantruntime="false" />
<jar destfile="promoter.jar">
<fileset dir="bin">
<include name="**" />
<target name="promote" depends="build">
<delete includeemptydirs="true" defaultexcludes="false" failonerror="false" quiet="true">
<fileset dir="${DOWNLOADS_HOME}/${projectPath}">
<include name="${compositionPath}.tmp" />
<include name="${compositionTempPath}" />
<java classpath="promoter.jar" classname="${config.classPromoter}">
<sysproperty key="workingArea" value="${env.WORKSPACE}" />
<sysproperty key="ANT_HOME" value="${env.ANT_HOME}" />
<sysproperty key="forcedPromotion" value="${promotion.force}" />