blob: 8710ae7e7610b451f5c9238a92ae9cb14c4c9d99 [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, which we do later with
statements such if="${groupId}.url"
-->
<property
file="${dependency.properties}"/>
<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="eclipse"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="dtp"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="wtp"/>
</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>