blob: 3a969bb3326a74e9a4c92fb6ac06327b022c33d1 [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">
<fail
message="depenendency.properties must be defined"
unless="dependency.properties"/>
<available
file="${dependency.properties}"
property="dependenciesExists"/>
<fail
message="The expected depenendency.properties, ${dependency.properties}, does not exist."
unless="dependenciesExists"/>
<echo
message="dependency.properties file: ${dependency.properties}"/>
<!--
read in this properties, just so we can make sure our
requested pre-reqs are defined
-->
<property
file="${dependency.properties}"/>
<mkdir
dir="${buildDirectory}/maps/${env.RELENG}/maps"/>
<antcall
target="getAndInstall">
<param
name="groupId"
value="orbitthirdpartymap"/>
<param
name="base.install.dir"
value="${buildDirectory}/maps/${env.RELENG}/maps/"/>
</antcall>
<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="dtp"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="eclipse"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="eclipseTestFramework"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="dita"/>
</antcall>
<!--
for patch builds, also get a whole released version to
compile against
-->
<antcall
target="getAndInstall">
<param
name="groupId"
value="wtp"/>
</antcall>
<!-- including tests -->
<antcall
target="getAndInstall">
<param
name="groupId"
value="wtp-test"/>
</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>