blob: 191c2795ba57bf7aa880d91f0e5fb2358571e3fe [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
-->
<property
file="${dependency.properties}"/>
<antcall
target="getAndInstall">
<param
name="groupId"
value="orbitthirdpartymap"/>
<param
name="base.install.dir"
value="${buildDirectory}/maps/${env.RELENG}/maps/"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="eclipse"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="xml"/>
</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>
</project>