diff options
author | david_williams | 2010-08-09 04:23:30 +0000 |
---|---|---|
committer | david_williams | 2010-08-09 04:23:30 +0000 |
commit | 5c77edf89a9bd6d2cc6ba1fd5c520a76b7247dd7 (patch) | |
tree | c992812da99fdd2c1356b0e6cdf3484707abe341 | |
parent | 9966b23b66de2d659d371b80d0e2c3037b2ef8c4 (diff) | |
download | webtools.maps-5c77edf89a9bd6d2cc6ba1fd5c520a76b7247dd7.tar.gz webtools.maps-5c77edf89a9bd6d2cc6ba1fd5c520a76b7247dd7.tar.xz webtools.maps-5c77edf89a9bd6d2cc6ba1fd5c520a76b7247dd7.zip |
prep towards e4 based builds
-rw-r--r-- | releng/indigo4/dependencies.properties | 392 | ||||
-rw-r--r-- | releng/indigo4/jsdttestdependency.xml | 301 | ||||
-rw-r--r-- | releng/indigo4/testdependency.xml | 188 |
3 files changed, 881 insertions, 0 deletions
diff --git a/releng/indigo4/dependencies.properties b/releng/indigo4/dependencies.properties new file mode 100644 index 000000000..3606ce732 --- /dev/null +++ b/releng/indigo4/dependencies.properties @@ -0,0 +1,392 @@ +####################################################################################### +# +# remember, trailing spaces are not trimmed in ant files, +# so it's often helpful to trim them "manually" from this file +# +# A dependency is identied by: +# groupId: a simple component name that adheres to java +# variable naming conventions. e.g. wtp +# url: Url to a remote repository that can be used by a +# http GET request to download the library +# to a local cache repository. URL should not include the file. +# See the next description for the file +# file: Name of the library that is used. If the library is platform dependent +# it must have suffixes such as: file.linux.gtk.x86 +# These suffixes are the same as those used by releng baseos,basews,basearch +# baseos=linux or win32 +# basews=gtk or win32 +# basearch=x86 +# name: A short user readable name for the library. +# description: One line description for the library. +# autodownload: [optional] default true. Set this to false if the file cannot be +# downloaded automatically (i.e. requires license accept click through). +# If autodownload is false, and the library is not avaialbe in the local +# repository (cache). User must download the library and copy it into +# the local repository. +# releng.url: [optional] Copies the original to a releng repository. Useful for libraries +# that can get deleted from their original URLs. Releng will use +# the local cache, original url, releng.url in that order to get the +# the dependency. If a releng.url is not provided, the library will +# always be requested from its original site. +# +# Example: +# wtp.url=http://download.eclipse.org/webtools/downloads/drops/R-0.7-200507290654 +# wtp.file=wtp-sdk-0.7.zip +# wtp.name=WTP 0.7 SDK +# wtp.description=WTP 0.7 SDK distribution +####################################################################################### + + +####################################################################################### + +orbitthirdpartyzip.build.dir=S20100721061755 +orbitthirdpartyzip.build.id=S20100721061755 + +orbitthirdpartyzip.mirror.prefixuri=/tools/orbit/downloads/drops/${orbitthirdpartyzip.build.dir} +orbitthirdpartyzip.url=http://download.eclipse.org${orbitthirdpartyzip.mirror.prefixuri} +orbitthirdpartyzip.file=orbit-${orbitthirdpartyzip.build.id}.zip +orbitthirdpartyzip.name=Orbit thirdparty zip +orbitthirdpartyzip.description=Orbit thirdparty zip +orbitthirdpartyzip.build.home=http://download.eclipse.org/tools/orbit/ + + +orbitthirdpartymap.url=http://download.eclipse.org${orbitthirdpartyzip.mirror.prefixuri} +orbitthirdpartymap.file=orbitBundles-${orbitthirdpartyzip.build.id}.map +orbitthirdpartymap.name=orbit thirdparty map +orbitthirdpartymap.description=orbit thirdparty map + + +####################################################################################### +# SourceForge DITA-OT +# DITA zip to be downloaded +# DITA will be used for Eclipse Help +# groupID : dita +dita.url=http://osdn.dl.sourceforge.net/sourceforge/dita-ot/ +dita.file=DITA-OT1.2.1_bin-ASL.zip +dita.name=SourceForge DITA-OT 1.2.1 +dita.description=DITA-OT 1.2.1 Binary ASL Distribution +####################################################################################### + +e4.build.id=3.7M1 +e4.build.dir=S-3.7M1-201008051700 +e4.name=Eclipse SDK v4.0 +e4.description=Eclipse SDK v4.0 + +####################################################################################### +# Eclipse SDK Dependency +# Eclipse zip to be downloaded +# Eclipse SDK will be used for building the distribution +# groupID : eclipse + +e4.mirror.prefixuri=/e4/sdk/drops/${e4.build.dir} +e4.url=http://download.eclipse.org${e4.mirror.prefixuri} +e4.file.linux-gtk-x86=eclipse-SDK-${e4.build.id}-linux-gtk.tar.gz +e4.file.linux-gtk-ppc=eclipse-SDK-${e4.build.id}-linux-gtk-ppc.tar.gz +e4.file.win32-win32-x86=eclipse-SDK-${e4.build.id}-win32.zip +e4.file.macosx-carbon-ppc=eclipse-SDK-${e4.build.id}-macosx-carbon.tar.gz +e4.build.home=http://download.eclipse.org/e4/sdk + +####################################################################################### + +wtp.eclipse.build.id=3.7M1 +wtp.eclipse.build.dir=S-3.7M1-201008051700 +eclipse.name=Eclipse SDK v3.7 +eclipse.description=Eclipse SDK v3.7 + +####################################################################################### +# Eclipse SDK Dependency +# Eclipse zip to be downloaded +# Eclipse SDK will be used for building the distribution +# groupID : eclipse + +eclipse.mirror.prefixuri=/eclipse/downloads/drops/${wtp.eclipse.build.dir} +eclipse.url=http://download.eclipse.org${eclipse.mirror.prefixuri} +eclipse.file.linux-gtk-x86=eclipse-SDK-${wtp.eclipse.build.id}-linux-gtk.tar.gz +eclipse.file.linux-gtk-ppc=eclipse-SDK-${wtp.eclipse.build.id}-linux-gtk-ppc.tar.gz +eclipse.file.win32-win32-x86=eclipse-SDK-${wtp.eclipse.build.id}-win32.zip +eclipse.file.macosx-carbon-ppc=eclipse-SDK-${wtp.eclipse.build.id}-macosx-carbon.tar.gz +eclipse.build.home=http://download.eclipse.org/eclipse/downloads/ + +####################################################################################### + +eclipseplatform.name=Eclipse Platform v3.6 +eclipseplatform.description=Eclipse Platform v3.6 +eclipseplatform.mirror.prefixuri=/eclipse/downloads/drops/${wtp.eclipse.build.dir} +eclipseplatform.url=http://download.eclipse.org${eclipse.mirror.prefixuri} +eclipseplatform.file.linux-gtk-x86=eclipse-platform-${wtp.eclipse.build.id}-linux-gtk.tar.gz +eclipseplatform.file.linux-gtk-ppc=eclipse-platform-${wtp.eclipse.build.id}-linux-gtk-ppc.tar.gz +eclipseplatform.file.win32-win32-x86=eclipse-platform-${wtp.eclipse.build.id}-win32.zip +eclipseplatform.file.macosx-carbon-ppc=eclipse-platform-${wtp.eclipse.build.id}-macosx-carbon.tar.gz +eclipseplatform.build.home=http://download.eclipse.org/eclipse/downloads/ + +####################################################################################### + + +####################################################################################### +# Eclipse Test Framework +# Eclipse Test Framework support zip to be downloaded +# Eclipse Test Framework will be used for testing and building the tests +# groupID : eclipseTestFramework + +eclipsetestFramework.id=${wtp.eclipse.build.id} +eclipseTestFramework.url=http://download.eclipse.org${eclipse.mirror.prefixuri} +eclipseTestFramework.file=eclipse-test-framework-${eclipsetestFramework.id}.zip + +eclipseTestFramework.name=Eclipse Test Framework v3.6. +eclipseTestFramework.description=Infrastructure to assist running automated JUnits. +eclipseTestFramework.mirror.prefixuri=${eclipse.mirror.prefixuri} +eclipseTestFramework.build.home=${eclipse.build.home} +eclipseTestFramework.tobeinstalledfeaturegroups=org.eclipse.test.feature.group + +####################################################################################### + +####################################################################################### +# Eclipse releng tool +# purely a handy link for committers + +eclipsereleng.url=http://download.eclipse.org${eclipse.mirror.prefixuri} +eclipsereleng.file=org.eclipse.releng.tools-${wtp.eclipse.build.id}.zip +eclipsereleng.name=Eclipse Releng Tool v3.6. +eclipsereleng.description=Team tool to assist in releasing code. +eclipsereleng.mirror.prefixuri=${eclipse.mirror.prefixuri} +eclipsereleng.build.home=${eclipse.build.home} + +####################################################################################### + +####################################################################################### +# Eclipse Modeling Framework (EMF) Dependency +# EMF zip to be downloaded +# EMF XSD SDK will be used for building the distribution +# groupID : emf + +emf.id=2.6.0 +emf.dir.id=R201006141136 + +emf.mirror.prefixuri=/modeling/emf/emf/downloads/drops/2.6.0/${emf.dir.id} +emf.file=emf-runtime-${emf.id}.zip +emf.name=EMF v2.6 Runtime + +emf.url=http://download.eclipse.org${emf.mirror.prefixuri} +emf.description=Minimum executable code. +emf.build.home=http://www.eclipse.org/modeling/emf/downloads/ + +emfsourcedoc.id=${emf.id} +emfsourcedoc.dir.id=${emf.dir.id} + +emfsourcedoc.mirror.prefixuri=/modeling/emf/emf/downloads/drops/2.6.0/${emfsourcedoc.dir.id} +emfsourcedoc.file=emf-sourcedoc-${emfsourcedoc.id}.zip +emfsourcedoc.name=EMF v2.6 Source and Docs + +emfsourcedoc.url=http://download.eclipse.org${emf.mirror.prefixuri} +emfsourcedoc.description=Additional download with Source and Documentation. +emfsourcedoc.build.home=http://www.eclipse.org/modeling/emf/downloads/ + + +####################################################################################### + +emfxsd.id=${emf.id} +emfxsd.dir.id=${emf.dir.id} +emfxsd.mirror.prefixuri=/modeling/emf/emf/downloads/drops/2.6.0/${emfxsd.dir.id} +emfxsd.file=xsd-runtime-${emfxsd.id}.zip +emfxsd.name=EMF XSD v2.6 Runtime + +emfxsd.url=http://download.eclipse.org${emfxsd.mirror.prefixuri} +emfxsd.description=Minimum executable code. +emfxsd.build.home=http://www.eclipse.org/modeling/emf/downloads/ + +emfxsdsourcedoc.id=${emfxsd.id} +emfxsdsourcedoc.dir.id=${emfxsd.dir.id} +emfxsdsourcedoc.mirror.prefixuri=/modeling/emf/emf/downloads/drops/2.6.0/${emfsourcedoc.dir.id} +emfxsdsourcedoc.file=xsd-sourcedoc-${emfsourcedoc.id}.zip +emfxsdsourcedoc.name=EMF XSD v2.6 Source and Docs + +emfxsdsourcedoc.url=http://download.eclipse.org${emf.mirror.prefixuri} +emfxsdsourcedoc.description=Additional download with Source and Documentation. +emfxsdsourcedoc.build.home=http://www.eclipse.org/modeling/emf/downloads/ + + + + +####################################################################################### + +# Eclipse Graphical Editing Framework (GEF) Dependency +# GEF zip to be downloaded +# GEF SDK will be used for building the distribution +# groupID : gef + +gef.id=3.6.0 +gef.dir.id=R201006161000 + +gef.mirror.prefixuri=/tools/gef/downloads/drops/3.6.0/${gef.dir.id} +gef.file=GEF-SDK-${gef.id}.zip +gef.name=GEF SDK 3.6 + +gef.url=http://download.eclipse.org${gef.mirror.prefixuri} +gef.description=GEF Code and Source. +gef.build.home=http://download.eclipse.org/tools/gef/downloads/ + +####################################################################################### + +####################################################################################### +# Eclipse Data Tools Platform (DTP) Dependency +# DTP zip to be downloaded +# DTP SDK will be used for building the distribution +# groupID : dtp + +dtp.mirror.prefixuri=/datatools/downloads/1.8 +dtp.file=dtp-sdk_1.8.0.zip +dtp.name=DTP sdk v1.8 + +dtp.url=http://download.eclipse.org${dtp.mirror.prefixuri} +dtp.description=Code and Source. +dtp.build.home=http://www.eclipse.org/datatools/downloads.php + +####################################################################################### + +####################################################################################### +# Jakarta Tomcat Dependency +# tomcat zip to be downloaded +# Tomcat will be used for testing the distribution +# groupID : tomcat.5 +tomcat.5.url=http://archive.apache.org/dist/tomcat/tomcat-5/v5.0.28/bin +tomcat.5.file=jakarta-tomcat-5.0.28.zip +tomcat.5.name=Jakarta Tomcat v5.0.28 +tomcat.5.description=Jakarta Tomcat v5.0.28 +####################################################################################### + +####################################################################################### +# Apache Tomcat Dependency +# tomcat zip to be downloaded +# Tomcat will be used for testing the distribution +# groupID : tomcat.4 +tomcat.4.url=http://archive.apache.org/dist/tomcat/tomcat-4/v4.1.36/bin +tomcat.4.file=apache-tomcat-4.1.36.zip +tomcat.4.name=Apache Tomcat v4.1.36 +tomcat.4.description=${tomcat.4.name} +####################################################################################### + +####################################################################################### +# ObjectWeb JOnAS Dependency +# jonas zip to be downloaded +# JOnAS will be used for testing the distribution +# groupID : jonas.4 +jonas.4.url=http://download.forge.objectweb.org/jonas/ +jonas.4.file=jonas4.3.2-tomcat5.0.30.tgz +jonas.4.name=ObjectWeb JOnAS Tomcat v4.3.2 +jonas.4.description=ObjectWeb JOnAS Tomcat v4.3.2 +####################################################################################### + +####################################################################################### +# OAGIS Dependency +# oagis_release zip to be downloaded (CANNOT BE DOWNLOADED AUTOMATICALLY) +# oagis_release will be used for testing the distribution +# groupID : oagis.release +oagis.release.url=http://www.openapplications.org/downloads/oagis/rls80/ +oagis.release.file=oagis_release_8.0_GA-withSP3.zip +oagis.release.autodownload=true +oagis.release.name=OAGIS Release v8.0 SP3 +oagis.release.description=OAGIS Release v8.0 SP3 +####################################################################################### + +####################################################################################### +# OAGIS WSDL +# oagis_wsdl_8.0.zip to be downloaded (CANNOT BE DOWNLOADED AUTOMATICALLY) +# oagis_wdl will be used for testing the distribution +# groupID : oagis.wsdl +oagis.wsdl.url=http://www.openapplications.org/downloads/oagis/rls80 +oagis.wsdl.file=WSDL_1.1_for%20OAGIS_8.0.zip +oagis.wsdl.autodownload=true +oagis.wsdl.name=OAGIS WSDL v8.0 SP3 +oagis.wsdl.description=OAGIS WSDL v8.0 SP3 +####################################################################################### + +####################################################################################### +# Apache Derby +# Derby zip to be downloaded +# Derby will be used for performance testing +# groupID : derby +derby.url=http://cvs.apache.org/dist/incubator/derby/10.0.2.1 +derby.file=incubating-derby-10.0.2.1-bin.zip +derby.name=Apache Derby 10.0.2.1 +derby.description=Apache Derby 10.0.2.1 +####################################################################################### + +####################################################################################### +# JavaServer Faces(JSF) Runtime Library Dependency +# jsf runtime library zip to be downloaded +# JSF Runtime Library will be used for testing the JSF Tools features +# groupID : jsf.1_1 +jsf.1_1.url=http://archive.apache.org/dist/myfaces/binaries/ +jsf.1_1.file=myfaces-core-1.1.5-bin.zip +jsf.1_1.name=Apache MyFaces 1.1.5 +jsf.1_1.description=Apache MyFaces 1.1.5 reference implementation libraries +####################################################################################### + +#URL to Web Tools downloads +# non-mirrored site: webtoolsDownloadURL=http://download.eclipse.org/webtools/downloads/drops +# use mirrored site as follows: +webtoolsDownloadURL=http://www.eclipse.org/downloads/download.php?file=/webtools/downloads/drops + +eclipse.fspath.prefix=/home/data/httpd/download.eclipse.org + +####################################################################################### +# Java Persistence API Tools(JPT) Runtime Library Dependency +# JPT Runtime library zip to be downloaded +# JPT Runtime Library will be used for JUnit testing the JPT Tools features +# groupID : jpt-persistence.jar +jpt-persistence.jar.url=http://www.eclipse.org/webtools/dali/dev/ +jpt-persistence.jar.file=jpt-persistence-2.0-preview.zip +jpt-persistence.jar.name=Persistence Jar +jpt-persistence.jar.description=Persistence libraries +####################################################################################### + +####################################################################################### +# Java Persistence API Tools(JPT) Runtime Library Dependency +# EclipseLink library zip to be downloaded +# EclipseLink Library will be used for JUnit testing the JPT Tools features +# groupID : jpt-eclipselink.jar +jpt-eclipselink.jar.url=http://www.eclipse.org/webtools/dali/dev/ +jpt-eclipselink.jar.file=jpt-eclipselink-2.0.0.zip +jpt-eclipselink.jar.name=EclipseLink Jar +jpt-eclipselink.jar.description=EclipseLink libraries +####################################################################################### + + +# WST or XML is required for XSL build + +wst.file=wst-sdk-R-3.2.0-20100615235519.zip +wst.name=WST +wst.description=WST +wst.build.home=http://download.eclipse.org/webtools/downloads/drops/R3.2.0/R-3.2.0-20100615235519 +wst.mirror.prefixuri=/webtools/downloads/drops/R3.2.0/R-3.2.0-20100615235519 +wst.url=http://download.eclipse.org/${wst.mirror.prefixuri} + + +jst.file=wtp-jst-sdk-S-3.2.0M4-20091210120653.zip +jst.name=JST +jst.description=JST for prereqs +jst.build.home=${wst.build.home} +jst.mirror.prefixuri=${wst.mirror.prefixuri} +jst.url=${wst.url} + +# WTP - used by PAVE +wtp.file=wtp-sdk-R-3.2.0-20100615235519.zip +wtp.name=WTP +wtp.description=WTP as pre-req +wtp.build.home=http://download.eclipse.org/webtools/downloads/ +wtp.mirror.prefixuri=/webtools/downloads/drops/R3.2.0/R-3.2.0-20100615235519 +wtp.url=http://download.eclipse.org${wtp.mirror.prefixuri} + +### DLTK +dltk.mirror.prefixuri=/technology/dltk/downloads/drops/R1.0/M-M200911111238-200911111238/ +dltk.file=dltk-core-sdk-M-M200911111238-200911111238.zip +dltk.name=DLTK sdk v1 + +dltk.url=http://download.eclipse.org${dltk.mirror.prefixuri} +dltk.description=DLTK Code and Source. +dltk.build.home=http://download.eclipse.org/technology/dltk/downloads/ + +#URL to Internal Reference Tool +internalRefToolURL=http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/jdt-core-home/tools/internal/internal-200302241157.zip +internalRefToolFile=internal-200302241157.zip + diff --git a/releng/indigo4/jsdttestdependency.xml b/releng/indigo4/jsdttestdependency.xml new file mode 100644 index 000000000..116294222 --- /dev/null +++ b/releng/indigo4/jsdttestdependency.xml @@ -0,0 +1,301 @@ +<?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}"/> + <condition + property="getprereq.eclipse"> + <istrue + value="true"/> + </condition> + <condition + property="getprereq.eclipseplatform"> + <istrue + value="false"/> + </condition> + <condition + property="getprereq.emf"> + <istrue + value="false"/> + </condition> + <condition + property="getprereq.emfxsd"> + <istrue + value="false"/> + </condition> + <condition + property="getprereq.emfvalidation"> + <istrue + value="false"/> + </condition> + <condition + property="getprereq.gef"> + <istrue + value="false"/> + </condition> + <condition + property="getprereq.dtp"> + <istrue + value="false"/> + </condition> + <condition + property="getprereq.wst"> + <istrue + value="false"/> + </condition> + <condition + property="getprereq.jst"> + <istrue + value="false"/> + </condition> + <condition + property="getprereq.wtp"> + <istrue + value="false"/> + </condition> + <condition + property="getprereq.dltk"> + <istrue + value="false"/> + </condition> + <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="prereq.emf"/> + <antcall + target="prereq.emfxsd"/> + <antcall + target="prereq.emfvalidation"/> + <antcall + target="prereq.gef"/> + <antcall + target="prereq.dtp"/> + <antcall + target="prereq.wst"/> + <antcall + target="prereq.jst"/> + <antcall + target="prereq.wtp"/> + <antcall + target="prereq.dltk"/> + <antcall + target="getAndInstallBase"> + <param + name="groupId" + value="eclipse"/> + </antcall> + <echo message="get and install test repo"/> + <antcall + target="getAndInstallRepo"> + + <param + name="groupId" + value="eclipseTestFramework"/> + </antcall> + </target> + <target + name="prereq.eclipse" + if="getprereq.eclipse"> + <antcall + target="getAndInstallBase"> + <param + name="groupId" + value="eclipse"/> + </antcall> + </target> + <target + name="prereq.eclipseplatform" + if="getprereq.eclipseplatform"> + <antcall + target="getAndInstallBase"> + <param + name="groupId" + value="eclipseplatform"/> + </antcall> + </target> + <target + name="prereq.emf" + if="getprereq.emf"> + <antcall + target="getAndInstallDropins"> + <param + name="groupId" + value="emf"/> + </antcall> + </target> + <target + name="prereq.emfxsd" + if="getprereq.emfxsd"> + <antcall + target="getAndInstallDropins"> + <param + name="groupId" + value="emfxsd"/> + </antcall> + </target> + <target + name="prereq.emfvalidation" + if="getprereq.emfvalidation"> + <antcall + target="getAndInstallDropins"> + <param + name="groupId" + value="emfvalidation"/> + </antcall> + </target> + <target + name="prereq.gef" + if="getprereq.gef"> + <antcall + target="getAndInstallDropins"> + <param + name="groupId" + value="gef"/> + </antcall> + </target> + <target + name="prereq.dtp" + if="getprereq.dtp"> + <antcall + target="getAndInstallDropins"> + <param + name="groupId" + value="dtp"/> + </antcall> + </target> + <target + name="prereq.wst" + if="getprereq.wst"> + <antcall + target="getAndInstallDropins"> + <param + name="groupId" + value="wst"/> + </antcall> + </target> + <target + name="prereq.jst" + if="getprereq.jst"> + <antcall + target="getAndInstallDropins"> + <param + name="groupId" + value="jst"/> + </antcall> + </target> + <target + name="prereq.wtp" + if="getprereq.wtp"> + <antcall + target="getAndInstallDropins"> + <param + name="groupId" + value="wtp"/> + </antcall> + </target> + <target + name="prereq.dltk" + if="getprereq.dltk"> + <antcall + target="getAndInstallDropins"> + <param + name="groupId" + value="dltk"/> + </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 diff --git a/releng/indigo4/testdependency.xml b/releng/indigo4/testdependency.xml new file mode 100644 index 000000000..bdbd5d852 --- /dev/null +++ b/releng/indigo4/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 |