blob: b0c29bb3bad7ee847025f1d516041ef3c993824d [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">
<property
environment="env"/>
<!-- required to get proper value of dropinsFolder -->
<property
name="keyCfgFile"
value="${env.PROJECT_BUILDERS}/${projectname}/${env.RELENG}/maps/build.cfg"/>
<echo
level="debug"
message="keyCfgFile: ${keyCfgFile}"/>
<fail
message="Required property file does not exist: ${keyCfgFile}">
<condition>
<not>
<available
file="${keyCfgFile}"/>
</not>
</condition>
</fail>
<property
file="${keyCfgFile}"/>
<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="getAndInstallDropins">
<param
name="groupId"
value="emf"/>
</antcall>
<antcall
target="getAndInstallDropins">
<param
name="groupId"
value="emfxsd"/>
</antcall>
<antcall
target="getAndInstallDropins">
<param
name="groupId"
value="gef"/>
</antcall>
<antcall
target="getAndInstallDropins">
<param
name="groupId"
value="dtp"/>
</antcall>
<antcall
target="getAndInstallBase">
<param
name="groupId"
value="eclipse"/>
</antcall>
<antcall
target="getAndInstallDropins">
<param
name="groupId"
value="eclipseTestFramework"/>
</antcall>
<antcall
target="getAndInstallBase">
<param
name="groupId"
value="tomcat.5"/>
</antcall>
<antcall
target="getAndInstallBase">
<param
name="groupId"
value="jonas.4"/>
</antcall>
<antcall
target="getAndInstallBase">
<param
name="groupId"
value="oagis.release"/>
</antcall>
<antcall
target="getAndInstallBase">
<param
name="groupId"
value="oagis.wsdl"/>
</antcall>
<antcall
target="getAndInstallBase">
<param
name="groupId"
value="jsf.1_1"/>
</antcall>
<antcall
target="getAndInstallDropins">
<param
name="groupId"
value="wtp"/>
</antcall>
<antcall
target="getAndInstallDropins">
<param
name="groupId"
value="wtp-test"/>
</antcall>
</target>
<target
name="getAndInstallBase"
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="getAndInstallDropins"
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}${dropinsFolder}"/>
</ant>
</target>
</project>