Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordavid_williams2010-08-04 23:40:26 +0000
committerdavid_williams2010-08-04 23:40:26 +0000
commite8080c9cc6c193d81ae94a66d14fbd5553b6d77d (patch)
tree3312610968aa38f78a3e8ddabc6f7bb28a81e0c4
parent8468679c766942c34dd7629b4cc9073f51e5b590 (diff)
downloadwebtools.maps-e8080c9cc6c193d81ae94a66d14fbd5553b6d77d.tar.gz
webtools.maps-e8080c9cc6c193d81ae94a66d14fbd5553b6d77d.tar.xz
webtools.maps-e8080c9cc6c193d81ae94a66d14fbd5553b6d77d.zip
tweek to test scripts
-rw-r--r--releng/galileo/maps/jsdttestdependency.xml278
-rw-r--r--releng/helios/maps/jsdttestdependency.xml278
-rw-r--r--releng/maps/build.cfg3
-rw-r--r--releng/packages/createFinalRepo.xml31
4 files changed, 589 insertions, 1 deletions
diff --git a/releng/galileo/maps/jsdttestdependency.xml b/releng/galileo/maps/jsdttestdependency.xml
new file mode 100644
index 000000000..06afad79e
--- /dev/null
+++ b/releng/galileo/maps/jsdttestdependency.xml
@@ -0,0 +1,278 @@
+<?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>
+ <antcall
+ target="getAndInstallDropins">
+ <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>
+</project> \ No newline at end of file
diff --git a/releng/helios/maps/jsdttestdependency.xml b/releng/helios/maps/jsdttestdependency.xml
new file mode 100644
index 000000000..06afad79e
--- /dev/null
+++ b/releng/helios/maps/jsdttestdependency.xml
@@ -0,0 +1,278 @@
+<?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>
+ <antcall
+ target="getAndInstallDropins">
+ <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>
+</project> \ No newline at end of file
diff --git a/releng/maps/build.cfg b/releng/maps/build.cfg
index a0830b7a6..5e5e82cf4 100644
--- a/releng/maps/build.cfg
+++ b/releng/maps/build.cfg
@@ -1,4 +1,5 @@
-builderVersion=v201008021810
+builderVersion=HEAD
+#builderVersion=v201008021810
# keep documented till release. This was last builder that did not use p2 gathering.
#builderVersion=v201005260240
diff --git a/releng/packages/createFinalRepo.xml b/releng/packages/createFinalRepo.xml
new file mode 100644
index 000000000..3ec479218
--- /dev/null
+++ b/releng/packages/createFinalRepo.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ This script is to create some zips with core features only.
+ Limited, specialized usefulness, so they are not linked or
+ advertised. That is, could change at any time.
+-->
+<project
+ default="build"
+ basedir=".">
+ <target
+ name="build">
+ <!-- final repository work TODO: add comparitor -->
+ <p2.mirror
+ verbose="true">
+ <repository
+ location="file://${buildDirectory}/${buildLabel}/repository/"
+ name="Web Tools Platform Repository ${buildLabel}"
+ format="file://${buildDirectory}/${buildLabel}/buildrepository/"/>
+ <source>
+ <repository
+ location="file://${buildDirectory}/${buildLabel}/buildrepository/"/>
+ </source>
+ <slicingoptions
+ followStrict="true"/>
+ <iu
+ id="org.eclipse.wst.common_core.feature.patch.feature.group"/>
+ <iu
+ id="org.eclipse.wst.xml_ui.feature.patch.feature.group"/>
+ </p2.mirror>
+ </target>
+</project> \ No newline at end of file

Back to the top