diff options
author | david_williams | 2010-08-05 06:35:38 +0000 |
---|---|---|
committer | david_williams | 2010-08-05 06:35:38 +0000 |
commit | e45fc9dfe09067cfd49c10a75f3334b89574b687 (patch) | |
tree | fea330bfa088c09e24589458102c565f5d763c81 | |
parent | 3d1eedf358c30a9740a8b38d1e077f2b7fd37802 (diff) | |
download | webtools.maps-e45fc9dfe09067cfd49c10a75f3334b89574b687.tar.gz webtools.maps-e45fc9dfe09067cfd49c10a75f3334b89574b687.tar.xz webtools.maps-e45fc9dfe09067cfd49c10a75f3334b89574b687.zip |
tweeks to tests
-rw-r--r-- | releng/helios/maps/testdependency.xml | 188 |
1 files changed, 188 insertions, 0 deletions
diff --git a/releng/helios/maps/testdependency.xml b/releng/helios/maps/testdependency.xml new file mode 100644 index 000000000..bdbd5d852 --- /dev/null +++ b/releng/helios/maps/testdependency.xml @@ -0,0 +1,188 @@ +<?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="info" + 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="emfvalidation"/> + </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="getAndInstallRepo"> + <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="getAndInstallBase"> + <param + name="groupId" + value="jpt-persistence.jar"/> + </antcall> + <antcall + target="getAndInstallBase"> + <param + name="groupId" + value="jpt-eclipselink.jar"/> + </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> + <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>
\ No newline at end of file |