blob: 37cfb520198e83d10929bc39bf4f792067af952a [file] [log] [blame]
<?xml version="1.0"?>
<!--
======================================================================
Properties that must be passed to this script: base.install.dir
dependencyTargets local.cache.dir dependency.properties
======================================================================
-->
<project
name="test"
default="get">
<target
name="get">
<!--
read in this properties, just so we can make sure our
requested pre-reqs are defined via {groupId}.url
-->
<property
file="${dependency.properties}"/>
<mkdir
dir="${buildDirectory}/maps/${env.RELENG}/maps"/>
<property
name="pde.builder.path"
value="${env.BASE_BUILDERS}/${eclipse.builder.version}/${eclipse.builder}"/>
<echo
level="debug"
message="pde.builder.path: ${pde.builder.path}"/>
<echo
level="debug"
message="eclipse.builder.version: ${eclipse.builder.version}"/>
<echo
level="debug"
message="eclipse.builder: ${eclipse.builder}"/>
<antcall
target="getAndInstall">
<param
name="groupId"
value="emf"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="emfxsd"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="gef"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="e4"/>
</antcall>
<antcall
target="getAndInstallRepo">
<param
name="groupId"
value="eclipseTestFramework"/>
</antcall>
</target>
<target
name="getAndInstall"
if="${groupId}.url">
<ant
antfile="${dependencyTargets}"
target="checkDependency">
<property
name="groupId"
value="${groupId}"/>
</ant>
<ant
antfile="${dependencyTargets}"
target="installDependency">
<property
name="groupId"
value="${groupId}"/>
<property
name="install.destination"
value="${base.install.dir}"/>
</ant>
</target>
<target
name="getAndInstallRepo"
if="${groupId}.url">
<ant
antfile="${dependencyTargets}"
target="checkDependency">
<property
name="groupId"
value="${groupId}"/>
</ant>
<ant
antfile="${dependencyTargets}"
target="installRepo">
<property
name="groupId"
value="${groupId}"/>
<property
name="install.destination"
value="${base.install.dir}"/>
</ant>
</target>
</project>