Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates')
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/dump.jet5
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/extraZIP/build.properties.jet35
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/extraZIP/customTargets.xml.jet215
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/main.jet85
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/build.xml.jet30
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/buildAll.xml.jet244
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/doc/build.properties.jet36
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/doc/customTargets.xml.jet214
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/examples/build.properties.jet35
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/examples/customTargets.xml.jet214
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/runtime/build.properties.jet35
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/runtime/customTargets.xml.jet214
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/sdk/build.properties.jet35
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/sdk/customTargets.xml.jet215
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/build.properties.jet35
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/configs/local/chkpii_ignore_list.txt.jet5
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/configs/local/customTest.xml.jet44
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/configs/local/relengbuildgtk.sh.jet238
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/configs/local/testing.properties.jet49
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/customTargets.xml.jet236
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/scripts/readme.html.jet165
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/scripts/test.xml.jet90
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/cvsignore.jet4
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/maps/_SHORTNAME_.map.jet12
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/maps/build.cfg.jet4
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/project.jet14
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/promoteToEclipse._SHORTNAME_.properties.jet171
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/repoInfo.properties.jet10
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/templateFiles/_SHORTNAME_.map.template.jet13
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/templateFiles/testManifest.xml.template.jet53
-rw-r--r--examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/testManifest.xml.jet62
31 files changed, 0 insertions, 2817 deletions
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/dump.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/dump.jet
deleted file mode 100644
index 428f088..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/dump.jet
+++ /dev/null
@@ -1,5 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-<?xml version="1.0" encoding="utf-8"?>
-<c:dump select="/*" format="true" entities="true"/>
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/extraZIP/build.properties.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/extraZIP/build.properties.jet
deleted file mode 100644
index 05dbb0e..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/extraZIP/build.properties.jet
+++ /dev/null
@@ -1,35 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-<c:choose>
-<c:when test="$build/@jre = 'J2SE-1.5'">
-javacSource=5.0
-javacTarget=5.0
-</c:when>
-<c:when test="$build/@jre = 'J2SE-1.4'">
-javacSource=1.4
-javacTarget=1.4
-</c:when>
-</c:choose>
-
-buildDirectory=${builder}/../eclipse
-buildType=I
-buildId=${buildId}
-buildLabel=${buildLabel}
-timestamp=0000
-collPlace=.
-collBase=.
-baseLocation=
-configs=*,*,*
-baseos=linux
-basews=gtk
-basearch=x86
-bootclasspath=${java.home}/lib/*.jar
-javacFailOnError=true
-javacVerbose=true
-javacDebugInfo=on
-zipargs=
-archivesFormat = *,*,*-antZip
-collectingFolder=eclipse
-archivePrefix=eclipse
-generateFeatureVersionSuffix=true
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/extraZIP/customTargets.xml.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/extraZIP/customTargets.xml.jet
deleted file mode 100644
index 227ba19..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/extraZIP/customTargets.xml.jet
+++ /dev/null
@@ -1,215 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-<project name="Build specific targets and properties" default="noDefault" basedir=".">
-
- <property name="archiveName" value="<c:get select="$build/@parentProjectName"/>-${subprojectName}-<c:get select="$extraZIP/@name"/>-<c:get select="$build/@incubationTag"/>${buildAlias}.zip" />
- <!-- ===================================================================== -->
- <!-- Run a given ${target} on all elements being built -->
- <!-- ===================================================================== -->
- <target name="allElements">
- <ant antfile="${genericTargets}" target="${target}">
- <property name="type" value="feature" />
- <property name="id" value="org.eclipse.<c:get select="$build/@projectNamespace"/>.<c:get select="$extraZIP/@name"/>" />
- </ant>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Targets to assemble the built elements for particular configurations -->
- <!-- These generally call the generated assemble scripts (named in -->
- <!-- ${assembleScriptName}) but may also add pre and post processing -->
- <!-- Add one target for each root element and each configuration -->
- <!-- ===================================================================== -->
-
- <target name="assemble.org.eclipse.<c:get select="$build/@projectNamespace"/>.<c:get select="$extraZIP/@name"/>">
- <ant antfile="${assembleScriptName}" />
- <!-- ADD POST STEPS -->
- </target>
-
- <!-- ===================================================================== -->
- <!-- Check out map files from correct repository -->
- <!-- Replace values for cvsRoot, package and mapVersionTag as desired. -->
- <!-- ===================================================================== -->
- <target name="checkLocal">
- <available property="mapsLocal" file="${buildDirectory}/maps" />
- </target>
-
- <target name="getMapFiles" depends="checkLocal" unless="mapsLocal">
-
- <!-- *** change the repo info -->
- <property name="mapCvsRoot" value=":${cvsReadProtocol}:${cvsReadUser}@${cvsHost}:${cvsRep}" />
-
- <property name="mapVersionTag" value="HEAD" />
- <property name="packagePath" value="org.eclipse.${projectName}/org.eclipse.${subprojectName2}.releng/maps"/>
-
- <cvs cvsRsh="ssh" cvsRoot="${mapCvsRoot}" tag="${mapVersionTag}"
- package="${packagePath}" dest="${buildDirectory}/maps" />
- <copy todir="${buildDirectory}/maps/CVS" overwrite="true">
- <fileset dir="${buildDirectory}/maps/${packagePath}/CVS" />
- </copy>
- <copy todir="${buildDirectory}/maps" overwrite="true">
- <fileset dir="${buildDirectory}/maps/${packagePath}" />
- </copy>
- <delete dir="${buildDirectory}/maps/org.eclipse.${projectName}" />
-
- <!--tag the map files project-->
- <antcall target="tagMapFiles" />
- </target>
-
- <target name="tagMapFiles" if="tagMaps">
- <cvs cvsRsh="ssh" dest="${buildDirectory}/maps" command="tag v${timestamp}" />
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before setup -->
- <!-- ===================================================================== -->
- <target name="preSetup">
- <mkdir dir="${buildDirectory}/${buildLabel}"/>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after setup but before starting the build proper -->
- <!-- ===================================================================== -->
- <target name="postSetup">
- <!-- TODO: if your project requires more dependencies, add them here -->
- <!-- TODO: if your project requires more dependencies, add them here; if it does not require all of these, remove those not required -->
- <echo message="Download, then unpack: Eclipse, EMF, UML2, OCL, Query, Transaction, Validation, GEF, GMF ..." />
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${eclipseURL}" />
- <property name="file" value="${eclipseFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.platform.doc.isv/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${emfURL}" />
- <property name="file" value="${emfFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.emf.ecore/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${uml2URL}" />
- <property name="file" value="${uml2File}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.uml2/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${oclURL}" />
- <property name="file" value="${oclFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.emf.ocl/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${queryURL}" />
- <property name="file" value="${queryFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.emf.query/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${transactionURL}" />
- <property name="file" value="${transactionFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.emf.transaction/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${validationURL}" />
- <property name="file" value="${validationFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.emf.validation/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${gefURL}" />
- <property name="file" value="${gefFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.gef/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${gmfURL}" />
- <property name="file" value="${gmfFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.gmf/META-INF/MANIFEST.MF" />
- </ant>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before fetching the build elements -->
- <!-- ===================================================================== -->
- <target name="preFetch">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after the fetch -->
- <!-- ===================================================================== -->
- <target name="postFetch">
- <replace dir="${buildDirectory}/plugins" value="${timestamp}" token="@buildid@">
- <include name="**/about.mappings" />
- </replace>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before generating build scripts -->
- <!-- ===================================================================== -->
- <target name="preGenerate">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after generating the build scripts -->
- <!-- ===================================================================== -->
- <target name="postGenerate">
- <antcall target="clean" />
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before assembling -->
- <!-- ===================================================================== -->
- <target name="preAssemble">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after assembling-->
- <!-- ===================================================================== -->
- <target name="postAssemble">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before running the build.xmls for the elements being built. -->
- <!-- ===================================================================== -->
- <target name="preProcess">
- <replace dir="${buildDirectory}/plugins" value="${timestamp}" token="@build@">
- <include name="**/about.mappings" />
- </replace>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after running the build.xmls for the elements being built. -->
- <!-- ===================================================================== -->
- <target name="postProcess">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after everything is built and assembled -->
- <!-- (e.g., testing, posting, emailing, ...) -->
- <!-- ===================================================================== -->
- <target name="postBuild">
- <antcall target="gatherLogs" />
- </target>
-
- <!-- ===================================================================== -->
- <!-- Helper targets -->
- <!-- ===================================================================== -->
- <target name="gatherLogs">
- <mkdir dir="${buildDirectory}/${buildLabel}/compilelogs" />
- <antcall target="allElements">
- <param name="target" value="gatherLogs" />
- </antcall>
-
- <unzip dest="${buildDirectory}/${buildLabel}/compilelogs" overwrite="true">
- <fileset dir="${buildDirectory}/features/org.eclipse.<c:get select="$build/@projectNamespace"/>.<c:get select="$extraZIP/@name"/>">
- <include name="*.log.zip" />
- </fileset>
- </unzip>
- </target>
- <target name="clean" unless="noclean">
- <antcall target="allElements">
- <param name="target" value="cleanElement" />
- </antcall>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Default target -->
- <!-- ===================================================================== -->
- <target name="noDefault">
- <echo message="You must specify a target when invoking this file" />
- </target>
-
-</project>
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/main.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/main.jet
deleted file mode 100644
index 2dd7451..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/main.jet
+++ /dev/null
@@ -1,85 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-<%@taglib prefix="ws" id="org.eclipse.jet.workspaceTags" %>
-<%-- Main entry point for org.eclipse.jet.ec2008.pushbuttonbuild --%>
-
-<%--
-TODO: traverse input model, performing calculations and storing
-the results as model annotations via c:set tag
---%>
-<c:setVariable var="build" select="/*"/>
-
-<c:set select="$build" name="relengProjectName">org.eclipse.<c:get select="$build/@projectNamespace"/>.releng</c:set>
-<c:set select="$build" name="incubationTag"></c:set>
-<c:if test="$build/@isIncubation = 'true'">
- <c:set select="$build" name="incubationTag">incubation-</c:set>
-</c:if>
-<%--
-TODO: traverse annotated model, performing text generation actions
-such as ws:file, ws:folder and ws:project
---%>
-<ws:project name="{$build/@relengProjectName}">
- <ws:file path=".project" template="templates/project/project.jet"/>
- <ws:file path="build.xml" template="templates/project/build.xml.jet"/>
- <ws:file path="buildAll.xml" template="templates/project/buildAll.xml.jet"/>
- <ws:file path="projectToEclipse.{$build/@shortName}.properties" template="templates/project/promoteToEclipse._SHORTNAME_.properties.jet"/>
- <ws:file path="repoInfo.properties" template="templates/project/repoInfo.properties.jet"/>
- <ws:file path="testManifest.xml" template="templates/project/testManifest.xml.jet"/>
- <ws:folder path="builder">
- <ws:folder path="doc">
- <ws:file path="build.properties" template="templates/project/builder/doc/build.properties.jet"/>
- <ws:file path="customTargets.xml" template="templates/project/builder/doc/customTargets.xml.jet"/>
- </ws:folder>
- <ws:folder path="examples">
- <ws:file path="build.properties" template="templates/project/builder/examples/build.properties.jet"/>
- <ws:file path="customTargets.xml" template="templates/project/builder/examples/customTargets.xml.jet"/>
- </ws:folder>
- <ws:folder path="runtime">
- <ws:file path="build.properties" template="templates/project/builder/runtime/build.properties.jet"/>
- <ws:file path="customTargets.xml" template="templates/project/builder/runtime/customTargets.xml.jet"/>
- </ws:folder>
- <ws:folder path="sdk">
- <ws:file path="build.properties" template="templates/project/builder/sdk/build.properties.jet"/>
- <ws:file path="customTargets.xml" template="templates/project/builder/sdk/customTargets.xml.jet"/>
- </ws:folder>
- <ws:folder path="tests">
- <ws:folder path="configs/local">
- <ws:file path="chkpii_ignore_list.txt" template="templates/project/builder/tests/configs/local/chkpii_ignore_list.txt.jet"/>
- <ws:file path="customTest.xml" template="templates/project/builder/tests/configs/local/customTest.xml.jet"/>
- <ws:file path="relengbuildgtk.sh" template="templates/project/builder/tests/configs/local/relengbuildgtk.sh.jet"/>
- <ws:file path="testing.properties" template="templates/project/builder/tests/configs/local/testing.properties.jet"/>
- </ws:folder>
- <ws:folder path="scripts">
- <ws:file path="readme.html" template="templates/project/builder/tests/scripts/readme.html.jet"/>
- <ws:file path="test.xml" template="templates/project/builder/tests/scripts/test.xml.jet"/>
- </ws:folder>
- <ws:file path="build.properties" template="templates/project/builder/tests/build.properties.jet"/>
- <ws:file path="customTargets.xml" template="templates/project/builder/tests/customTargets.xml.jet"/>
- </ws:folder>
- </ws:folder>
- <ws:folder path="maps">
- <ws:file path="{$build/@shortName}.map" template="templates/project/maps/_SHORTNAME_.map.jet"/>
- <ws:file path="build.cfg" template="templates/project/maps/build.cfg.jet"/>
- </ws:folder>
- <ws:folder path="templateFiles">
- <ws:file path="{$build/@shortName}.map.template" template="templates/project/templateFiles/_SHORTNAME_.map.template.jet"/>
- <ws:file path="testManifest.xml.template" template="templates/project/templateFiles/testManifest.xml.template.jet"/>
- </ws:folder>
-
-</ws:project>
-
-<c:iterate select="$build/extraZIP" var="extraZIP">
- <ws:folder path="{$build/@relengProjectName}/builder/{$extraZIP/@name}">
- <ws:file path="build.properties" template="templates/extraZIP/build.properties.jet"/>
- <ws:file path="customTargets.xml" template="templates/extraZIP/customTargets.xml.jet"/>
- </ws:folder>
-</c:iterate>
-<%-- For debug purposes, dump the annotated input model in
- the root of the project containing the original input model.
-
- Note that model formatting may not be identical, and that in
- the case of non-XML input models, the dump may look quite different.
---%>
-
-<ws:file template="templates/dump.jet" path="{$org.eclipse.jet.resource.project.name}/dump.xml"/>
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/build.xml.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/build.xml.jet
deleted file mode 100644
index 606b145..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/build.xml.jet
+++ /dev/null
@@ -1,30 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-<project default="main">
- <property name="pde.build.scripts" value="../org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build/scripts" />
-
- <target name="init">
- <tstamp/>
- <touch file="${user.home}/.cvspass" />
- <property name="timestamp" value="${DSTAMP}${TSTAMP}" />
- <property name="buildDirectory" value="${basedir}/src/eclipse" />
-
- <property name="buildType" value="I" />
- <property name="buildId" value="${buildType}${timestamp}" />
-
- <!-- Verify buildDirectory ends in eclipse. -->
- <property name="fullBuild" location="${buildDirectory}"/>
- <basename file="${fullBuild}" property="lastSeg"/>
- <condition property="endsInEclipse">
- <equals arg1="${lastSeg}" arg2="eclipse"/>
- </condition>
- <fail message="buildDirectory's last segment is not eclipse." unless="endsInEclipse"/>
- </target>
-
- <target name="main" depends="init">
- <ant antfile="build.xml" dir="${pde.build.scripts}">
- <property name="builder" value="${basedir}/${component}" />
- </ant>
- </target>
-</project> \ No newline at end of file
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/buildAll.xml.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/buildAll.xml.jet
deleted file mode 100644
index e1bd81d..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/buildAll.xml.jet
+++ /dev/null
@@ -1,244 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-<project default="run">
- <target name="init">
-
- <echo message="Set compilerArgs = '-enableJavadoc -encoding ISO-8859-1 -warn:-serial,nls,unused,unchecked,raw,discouraged'" />
- <property name="compilerArg" value="-enableJavadoc -encoding ISO-8859-1 -warn:-serial,nls,unused,unchecked,raw,discouraged" />
-
- <!-- TODO: set correct source and target levels here -->
-<c:choose>
-<c:when test="$build/@jre = 'J2SE-1.4'">
- <echo message="Set javacSource and javacTarget = 1.4" />
- <property name="javacSource" value="1.4" />
- <property name="javacTarget" value="1.4" />
-</c:when>
-<c:when test="$build/@jre = 'J2SE-1.5'">
- <echo message="Set javacSource and javacTarget = 1.5" />
- <property name="javacSource" value="1.5" />
- <property name="javacTarget" value="1.5" />
-</c:when>
-</c:choose>
- <path id="bc">
- <fileset dir="${java.home}/lib">
- <include name="*.jar" />
- </fileset>
- </path>
- <property name="bootclasspath" refid="bc" />
-
-<c:if test="$build/@jre = 'J2SE-1.5'">
- <echo message="Set J2SE-1.5 = ${bootclasspath}" />
- <property name="J2SE-1.5" value="${bootclasspath}" />
- <condition property="bundleBootClasspath" value="${J2SE-1.5}">
- <isset property="J2SE-1.5" />
- </condition>
- <condition property="bundleJavacSource" value="1.5">
- <isset property="J2SE-1.5" />
- </condition>
- <condition property="bundleJavacTarget" value="1.5">
- <isset property="J2SE-1.5" />
- </condition>
-
-</c:if>
- <property name="buildingOSGi" value="true" />
- <property name="collectingFolder" value="eclipse" />
- <property name="archivePrefix" value="eclipse" />
-
- <!-- Reduce the amount of info in the build log -->
- <property name="javacVerbose" value="false" />
-
- <property name="buildDirectory" location="${basedir}/../src/eclipse" />
- <property file="${basedir}/repoInfo.properties" />
- <property name="testBase" location="${buildDirectory}/../testing" />
- <available file="${buildDirectory}/label.properties" property="label.properties.exists" />
- <antcall target="create.label.properties" />
- <property file="${buildDirectory}/label.properties" />
-
- <echo message="buildAll.xml properties:" />
- <echo message="basedir = ${basedir}" />
-
- <!-- load a value for ${subprojectName}, among other variables, from build.cfg -->
- <property name="buildConfigFile" value="${basedir}/../build.cfg" />
- <available file="${buildConfigFile}" type="file" property="buildConfigIsAvailable" />
- <fail message="Can't load build properties from ${buildConfigFile}" unless="buildConfigIsAvailable" />
- <!-- TODO: set any special build-related properties here by echoing them into ${buildConfigFile}:
- <echo file="${buildConfigFile}" append="true">
-
-# extra properties specific to just this build
-propertyName=propertyValue
-</echo> -->
-
- <property file="${buildConfigFile}" />
-
- <echo message="buildVer = ${buildVer}" />
- <echo message="subprojectName = ${subprojectName}" />
-
- <!-- <echo message="Base OS: ${baseos}; Base Window System: ${basews}"/> -->
- <condition property="isWindows">
- <equals arg1="${baseos}.${basews}" arg2="win32.win32" />
- </condition>
- <condition property="isLinuxGTK">
- <equals arg1="${baseos}.${basews}" arg2="linux.gtk" />
- </condition>
- <condition property="isLinuxMotif">
- <equals arg1="${baseos}.${basews}" arg2="linux.motif" />
- </condition>
-
- </target>
-
- <target name="create.label.properties" unless="label.properties.exists">
- <mkdir dir="${buildDirectory}" />
- <tstamp />
- <property name="date" value="${DSTAMP}" />
- <property name="time" value="${TSTAMP}" />
- <property name="timestamp" value="${date}${time}" />
- <property name="buildType" value="I" />
-
- <!--this naming convention used by php scripts on download server-->
- <property name="buildLabel" value="${buildType}${timestamp}" />
-
- <property name="buildAlias" value="${buildLabel}" />
- <property name="buildId" value="${buildAlias}" />
- <!-- this will make all plugins/features have the same qualifier, regardless of tag in mapfile -->
- <!--
- <property name="forceContextQualifier" value="v${timestamp}"/>
- -->
-
- <!--store the build label information in a file-->
- <echo file="${buildDirectory}/label.properties" append="true">
- buildType=${buildType}
- </echo>
- <echo file="${buildDirectory}/label.properties" append="true">
- buildId=${buildId}
- </echo>
- <echo file="${buildDirectory}/label.properties" append="true">
- timestamp=${timestamp}
- </echo>
- <echo file="${buildDirectory}/label.properties" append="true">
- buildLabel=${buildLabel}
- </echo>
- <echo file="${buildDirectory}/label.properties" append="true">
- buildAlias=${buildAlias}
- </echo>
- <!-- this will make all plugins/features have the same qualifier, regardless of tag in mapfile -->
- <!--
- <echo file="${buildDirectory}/label.properties" append="true" >
- forceContextQualifier=${forceContextQualifier}
- </echo>
- -->
- </target>
-
- <target name="run" depends="init">
- <antcall target="buildAll" />
- <antcall target="test" />
- <antcall target="publish" />
- <antcall target="cleanUp" />
- </target>
-
- <target name="runTestsOnly" depends="init">
- <delete dir="${buildDirectory}" />
- <mkdir dir="${buildDirectory}/${buildLabel}" />
- <copy todir="${buildDirectory}/${buildLabel}">
- <fileset dir="${buildDirectory}/..">
- <include name="**/*.zip" />
- </fileset>
- </copy>
- <antcall target="test" />
- <antcall target="publish" />
- <antcall target="cleanUp" />
- </target>
-
- <target name="runWithoutTest" depends="init">
- <antcall target="buildAll" />
- <antcall target="publish" />
- <antcall target="cleanUp" />
- </target>
-
- <target name="buildOnly" depends="init">
- <antcall target="buildAll" />
- <antcall target="cleanUp" />
- </target>
-
- <target name="buildAll">
- <ant antfile="build.xml" target="main">
- <property name="component" value="builder/sdk" />
- </ant>
-
- <ant antfile="build.xml" target="main">
- <property name="component" value="builder/runtime" />
- </ant>
-
- <ant antfile="build.xml" target="main">
- <property name="component" value="builder/examples" />
- </ant>
-
- <!-- TODO: add other targets if required -->
-
- <ant antfile="build.xml" target="main">
- <property name="component" value="builder/tests" />
- </ant>
-
- <!-- doc must be the last execution -->
-
- <ant antfile="build.xml" target="main">
- <property name="component" value="builder/doc" />
- </ant>
-
- <!-- TODO: if necessary, you can copy files from the SDK into the runtime or examples zips here -->
- <!-- for example, see validation/buildAll.xml or cdo/buildAll.xml -->
-
- <!-- TODO: if necessary, you can remove 3rd party jars used at build time from the zips here -->
- <!-- for example, see cdo's buildAll.xml -->
-
- <!-- TODO: you can run extra build scripts here, like for building additional zip bundles -->
-
- <!-- md5 files generation -->
- <exec executable="bash" dir="${buildDirectory}/${buildLabel}">
- <arg line="${basedir}/../org.eclipse.modeling.common.releng/scripts/createZipCheckSum.sh" />
- </exec>
- </target>
-
- <target name="cleanUp">
- <echo message="** Copying generated zips to drop folder... **" />
- <copy todir="${buildDirectory}/.." failonerror="false" overwrite="true">
- <fileset dir="${buildDirectory}/${buildLabel}" />
- </copy>
- </target>
-
- <target name="test">
-
- <property name="test.xml" value="../org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/scripts/test.xml" />
- <antcall target="test-win32-local" />
- <antcall target="test-linux-gtk-local" />
- <antcall target="test-linux-motif-local" />
- </target>
-
- <target name="test-win32-local" if="isWindows">
- <ant antfile="${test.xml}">
- <property name="shell" value="relengbuildwin2.bat" />
- <property name="tester" value="${basedir}/builder/tests/configs/local" />
- </ant>
- </target>
-
- <target name="test-linux-gtk-local" if="isLinuxGTK">
- <ant antfile="${test.xml}">
- <property name="shell" value="relengbuildgtk.sh" />
- <property name="tester" value="${basedir}/builder/tests/configs/local" />
- </ant>
- </target>
-
- <target name="test-linux-motif-local" if="isLinuxMotif">
- <ant antfile="${test.xml}">
- <property name="shell" value="relengbuildmotif.sh" />
- <property name="tester" value="${basedir}/builder/tests/configs/local" />
- </ant>
- </target>
-
- <target name="publish">
- <copy todir="${buildDirectory}/${buildLabel}" overwrite="true">
- <fileset dir="${buildDirectory}/../org.eclipse.modeling.common.releng/staticDropFiles" />
- </copy>
- </target>
-
-</project>
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/doc/build.properties.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/doc/build.properties.jet
deleted file mode 100644
index 4fa3cae..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/doc/build.properties.jet
+++ /dev/null
@@ -1,36 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-<c:choose>
-<c:when test="$build/@jre = 'J2SE-1.5'">
-javacSource=5.0
-javacTarget=5.0
-</c:when>
-<c:when test="$build/@jre = 'J2SE-1.4'">
-javacSource=1.4
-javacTarget=1.4
-</c:when>
-</c:choose>
-
-buildDirectory=${builder}/../eclipse
-buildType=I
-buildId=${buildId}
-buildLabel=${buildLabel}
-timestamp=0000
-collPlace=.
-collBase=.
-baseLocation=
-configs=*,*,*
-baseos=linux
-basews=gtk
-basearch=x86
-bootclasspath=${java.home}/lib/*.jar
-javacFailOnError=true
-javacVerbose=true
-javacDebugInfo=on
-zipargs=
-archivesFormat = *,*,*-antZip
-collectingFolder=eclipse
-archivePrefix=eclipse
-generateFeatureVersionSuffix=true
-generateVersionsList=true
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/doc/customTargets.xml.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/doc/customTargets.xml.jet
deleted file mode 100644
index 195fd56..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/doc/customTargets.xml.jet
+++ /dev/null
@@ -1,214 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-<project name="Build specific targets and properties" default="noDefault" basedir=".">
-
- <!-- ===================================================================== -->
- <!-- Run a given ${target} on all elements being built -->
- <!-- ===================================================================== -->
- <target name="allElements">
- <ant antfile="${genericTargets}" target="${target}">
- <property name="type" value="feature" />
- <property name="id" value="org.eclipse.<c:get select="$build/@projectNamespace"/>.doc" />
- </ant>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Targets to assemble the built elements for particular configurations -->
- <!-- These generally call the generated assemble scripts (named in -->
- <!-- ${assembleScriptName}) but may also add pre and post processing -->
- <!-- Add one target for each root element and each configuration -->
- <!-- ===================================================================== -->
-
- <target name="assemble.org.eclipse.<c:get select="$build/@projectNamespace"/>.doc">
- <property name="archiveName" value="<c:get select="$build/@parentProjectName"/>-${subprojectName}-SDK-<c:get select="$build/@incubationTag"/>${buildAlias}.zip" />
- <ant antfile="${assembleScriptName}" />
- <!-- ADD POST STEPS -->
- </target>
-
- <!-- ===================================================================== -->
- <!-- Check out map files from correct repository -->
- <!-- Replace values for cvsRoot, package and mapVersionTag as desired. -->
- <!-- ===================================================================== -->
- <target name="checkLocal">
- <available property="mapsLocal" file="${buildDirectory}/maps" />
- </target>
-
- <target name="getMapFiles" depends="checkLocal" unless="mapsLocal">
-
- <!-- *** change the repo info -->
- <property name="mapCvsRoot" value=":${cvsReadProtocol}:${cvsReadUser}@${cvsHost}:${cvsRep}" />
- <property name="mapVersionTag" value="HEAD" />
- <property name="packagePath" value="org.eclipse.${projectName}/org.eclipse.${subprojectName2}.releng/maps"/>
-
- <cvs cvsRsh="ssh" cvsRoot="${mapCvsRoot}" tag="${mapVersionTag}"
- package="${packagePath}" dest="${buildDirectory}/maps" />
- <copy todir="${buildDirectory}/maps/CVS" overwrite="true">
- <fileset dir="${buildDirectory}/maps/${packagePath}/CVS" />
- </copy>
- <copy todir="${buildDirectory}/maps" overwrite="true">
- <fileset dir="${buildDirectory}/maps/${packagePath}" />
- </copy>
- <delete dir="${buildDirectory}/maps/org.eclipse.${projectName}" />
-
- <!--tag the map files project-->
- <antcall target="tagMapFiles" />
- </target>
-
- <target name="tagMapFiles" if="tagMaps">
- <cvs cvsRsh="ssh" dest="${buildDirectory}/maps" command="tag v${timestamp}" />
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before setup -->
- <!-- ===================================================================== -->
- <target name="preSetup">
- <mkdir dir="${buildDirectory}/${buildLabel}" />
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after setup but before starting the build proper -->
- <!-- ===================================================================== -->
- <target name="postSetup">
- <!-- TODO: if your project requires more dependencies, add them here; if it does not require all of these, remove those not required -->
- <echo message="Download, then unpack: Eclipse, EMF, UML2, OCL, Query, Transaction, Validation, GEF, GMF ..." />
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${eclipseURL}" />
- <property name="file" value="${eclipseFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.platform.doc.isv/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${emfURL}" />
- <property name="file" value="${emfFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.emf.ecore/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${uml2URL}" />
- <property name="file" value="${uml2File}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.uml2/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${oclURL}" />
- <property name="file" value="${oclFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.emf.ocl/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${queryURL}" />
- <property name="file" value="${queryFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.emf.query/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${transactionURL}" />
- <property name="file" value="${transactionFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.emf.transaction/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${validationURL}" />
- <property name="file" value="${validationFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.emf.validation/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${gefURL}" />
- <property name="file" value="${gefFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.gef/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${gmfURL}" />
- <property name="file" value="${gmfFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.gmf/META-INF/MANIFEST.MF" />
- </ant>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before fetching the build elements -->
- <!-- ===================================================================== -->
- <target name="preFetch">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after the fetch -->
- <!-- ===================================================================== -->
- <target name="postFetch">
- <replace dir="${buildDirectory}/plugins" value="${timestamp}" token="@buildid@">
- <include name="**/about.mappings" />
- </replace>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before generating build scripts -->
- <!-- ===================================================================== -->
- <target name="preGenerate">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after generating the build scripts -->
- <!-- ===================================================================== -->
- <target name="postGenerate">
- <antcall target="clean" />
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before assembling -->
- <!-- ===================================================================== -->
- <target name="preAssemble">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after assembling-->
- <!-- ===================================================================== -->
- <target name="postAssemble">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before running the build.xmls for the elements being built. -->
- <!-- ===================================================================== -->
- <target name="preProcess">
- <replace dir="${buildDirectory}/plugins" value="${timestamp}" token="@build@">
- <include name="**/about.mappings" />
- </replace>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after running the build.xmls for the elements being built. -->
- <!-- ===================================================================== -->
- <target name="postProcess">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after everything is built and assembled -->
- <!-- (e.g., testing, posting, emailing, ...) -->
- <!-- ===================================================================== -->
- <target name="postBuild">
- <antcall target="gatherLogs" />
- </target>
-
- <!-- ===================================================================== -->
- <!-- Helper targets -->
- <!-- ===================================================================== -->
- <target name="gatherLogs">
- <mkdir dir="${buildDirectory}/${buildLabel}/compilelogs" />
- <antcall target="allElements">
- <param name="target" value="gatherLogs" />
- </antcall>
-
- <unzip dest="${buildDirectory}/${buildLabel}/compilelogs" overwrite="true">
- <fileset dir="${buildDirectory}/features/org.eclipse.<c:get select="$build/@projectNamespace"/>.doc">
- <include name="*.log.zip" />
- </fileset>
- </unzip>
- </target>
-
- <target name="clean" unless="noclean">
- <antcall target="allElements">
- <param name="target" value="cleanElement" />
- </antcall>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Default target -->
- <!-- ===================================================================== -->
- <target name="noDefault">
- <echo message="You must specify a target when invoking this file" />
- </target>
-
-</project>
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/examples/build.properties.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/examples/build.properties.jet
deleted file mode 100644
index 05dbb0e..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/examples/build.properties.jet
+++ /dev/null
@@ -1,35 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-<c:choose>
-<c:when test="$build/@jre = 'J2SE-1.5'">
-javacSource=5.0
-javacTarget=5.0
-</c:when>
-<c:when test="$build/@jre = 'J2SE-1.4'">
-javacSource=1.4
-javacTarget=1.4
-</c:when>
-</c:choose>
-
-buildDirectory=${builder}/../eclipse
-buildType=I
-buildId=${buildId}
-buildLabel=${buildLabel}
-timestamp=0000
-collPlace=.
-collBase=.
-baseLocation=
-configs=*,*,*
-baseos=linux
-basews=gtk
-basearch=x86
-bootclasspath=${java.home}/lib/*.jar
-javacFailOnError=true
-javacVerbose=true
-javacDebugInfo=on
-zipargs=
-archivesFormat = *,*,*-antZip
-collectingFolder=eclipse
-archivePrefix=eclipse
-generateFeatureVersionSuffix=true
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/examples/customTargets.xml.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/examples/customTargets.xml.jet
deleted file mode 100644
index d46e4f8..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/examples/customTargets.xml.jet
+++ /dev/null
@@ -1,214 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-<project name="Build specific targets and properties" default="noDefault" basedir=".">
-
- <!-- ===================================================================== -->
- <!-- Run a given ${target} on all elements being built -->
- <!-- ===================================================================== -->
- <target name="allElements">
- <ant antfile="${genericTargets}" target="${target}">
- <property name="type" value="feature" />
- <property name="id" value="org.eclipse.<c:get select="$build/@projectNamespace"/>.examples" />
- </ant>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Targets to assemble the built elements for particular configurations -->
- <!-- These generally call the generated assemble scripts (named in -->
- <!-- ${assembleScriptName}) but may also add pre and post processing -->
- <!-- Add one target for each root element and each configuration -->
- <!-- ===================================================================== -->
-
- <target name="assemble.org.eclipse.<c:get select="$build/@projectNamespace"/>.examples">
- <property name="archiveName" value="<c:get select="$build/@parentProjectName"/>-${subprojectName}-examples-<c:get select="$build/@incubationTag"/>${buildAlias}.zip" />
- <ant antfile="${assembleScriptName}" />
- <!-- ADD POST STEPS -->
- </target>
-
- <!-- ===================================================================== -->
- <!-- Check out map files from correct repository -->
- <!-- Replace values for cvsRoot, package and mapVersionTag as desired. -->
- <!-- ===================================================================== -->
- <target name="checkLocal">
- <available property="mapsLocal" file="${buildDirectory}/maps" />
- </target>
-
- <target name="getMapFiles" depends="checkLocal" unless="mapsLocal">
-
- <!-- *** change the repo info -->
- <property name="mapCvsRoot" value=":${cvsReadProtocol}:${cvsReadUser}@${cvsHost}:${cvsRep}" />
- <property name="mapVersionTag" value="HEAD" />
- <property name="packagePath" value="org.eclipse.${projectName}/org.eclipse.${subprojectName2}.releng/maps"/>
-
- <cvs cvsRsh="ssh" cvsRoot="${mapCvsRoot}" tag="${mapVersionTag}"
- package="${packagePath}" dest="${buildDirectory}/maps" />
- <copy todir="${buildDirectory}/maps/CVS" overwrite="true">
- <fileset dir="${buildDirectory}/maps/${packagePath}/CVS" />
- </copy>
- <copy todir="${buildDirectory}/maps" overwrite="true">
- <fileset dir="${buildDirectory}/maps/${packagePath}" />
- </copy>
- <delete dir="${buildDirectory}/maps/org.eclipse.${projectName}" />
-
- <!--tag the map files project-->
- <antcall target="tagMapFiles" />
- </target>
-
- <target name="tagMapFiles" if="tagMaps">
- <cvs cvsRsh="ssh" dest="${buildDirectory}/maps" command="tag v${timestamp}" />
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before setup -->
- <!-- ===================================================================== -->
- <target name="preSetup">
- <mkdir dir="${buildDirectory}/${buildLabel}"/>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after setup but before starting the build proper -->
- <!-- ===================================================================== -->
- <target name="postSetup">
- <!-- TODO: if your project requires more dependencies, add them here; if it does not require all of these, remove those not required -->
- <echo message="Download, then unpack: Eclipse, EMF, UML2, OCL, Query, Transaction, Validation, GEF, GMF ..." />
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${eclipseURL}" />
- <property name="file" value="${eclipseFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.platform.doc.isv/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${emfURL}" />
- <property name="file" value="${emfFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.emf.ecore/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${uml2URL}" />
- <property name="file" value="${uml2File}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.uml2/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${oclURL}" />
- <property name="file" value="${oclFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.emf.ocl/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${queryURL}" />
- <property name="file" value="${queryFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.emf.query/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${transactionURL}" />
- <property name="file" value="${transactionFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.emf.transaction/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${validationURL}" />
- <property name="file" value="${validationFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.emf.validation/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${gefURL}" />
- <property name="file" value="${gefFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.gef/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${gmfURL}" />
- <property name="file" value="${gmfFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.gmf/META-INF/MANIFEST.MF" />
- </ant>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before fetching the build elements -->
- <!-- ===================================================================== -->
- <target name="preFetch">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after the fetch -->
- <!-- ===================================================================== -->
- <target name="postFetch">
- <replace dir="${buildDirectory}/plugins" value="${timestamp}" token="@buildid@">
- <include name="**/about.mappings" />
- </replace>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before generating build scripts -->
- <!-- ===================================================================== -->
- <target name="preGenerate">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after generating the build scripts -->
- <!-- ===================================================================== -->
- <target name="postGenerate">
- <antcall target="clean" />
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before assembling -->
- <!-- ===================================================================== -->
- <target name="preAssemble">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after assembling-->
- <!-- ===================================================================== -->
- <target name="postAssemble">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before running the build.xmls for the elements being built. -->
- <!-- ===================================================================== -->
- <target name="preProcess">
- <replace dir="${buildDirectory}/plugins" value="${timestamp}" token="@build@">
- <include name="**/about.mappings" />
- </replace>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after running the build.xmls for the elements being built. -->
- <!-- ===================================================================== -->
- <target name="postProcess">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after everything is built and assembled -->
- <!-- (e.g., testing, posting, emailing, ...) -->
- <!-- ===================================================================== -->
- <target name="postBuild">
- <antcall target="gatherLogs" />
- </target>
-
- <!-- ===================================================================== -->
- <!-- Helper targets -->
- <!-- ===================================================================== -->
- <target name="gatherLogs">
- <mkdir dir="${buildDirectory}/${buildLabel}/compilelogs" />
- <antcall target="allElements">
- <param name="target" value="gatherLogs" />
- </antcall>
-
- <unzip dest="${buildDirectory}/${buildLabel}/compilelogs" overwrite="true">
- <fileset dir="${buildDirectory}/features/org.eclipse.<c:get select="$build/@projectNamespace"/>.examples">
- <include name="*.log.zip" />
- </fileset>
- </unzip>
- </target>
-
- <target name="clean" unless="noclean">
- <antcall target="allElements">
- <param name="target" value="cleanElement" />
- </antcall>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Default target -->
- <!-- ===================================================================== -->
- <target name="noDefault">
- <echo message="You must specify a target when invoking this file" />
- </target>
-
-</project>
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/runtime/build.properties.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/runtime/build.properties.jet
deleted file mode 100644
index 05dbb0e..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/runtime/build.properties.jet
+++ /dev/null
@@ -1,35 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-<c:choose>
-<c:when test="$build/@jre = 'J2SE-1.5'">
-javacSource=5.0
-javacTarget=5.0
-</c:when>
-<c:when test="$build/@jre = 'J2SE-1.4'">
-javacSource=1.4
-javacTarget=1.4
-</c:when>
-</c:choose>
-
-buildDirectory=${builder}/../eclipse
-buildType=I
-buildId=${buildId}
-buildLabel=${buildLabel}
-timestamp=0000
-collPlace=.
-collBase=.
-baseLocation=
-configs=*,*,*
-baseos=linux
-basews=gtk
-basearch=x86
-bootclasspath=${java.home}/lib/*.jar
-javacFailOnError=true
-javacVerbose=true
-javacDebugInfo=on
-zipargs=
-archivesFormat = *,*,*-antZip
-collectingFolder=eclipse
-archivePrefix=eclipse
-generateFeatureVersionSuffix=true
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/runtime/customTargets.xml.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/runtime/customTargets.xml.jet
deleted file mode 100644
index dc61373..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/runtime/customTargets.xml.jet
+++ /dev/null
@@ -1,214 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-<project name="Build specific targets and properties" default="noDefault" basedir=".">
-
- <!-- ===================================================================== -->
- <!-- Run a given ${target} on all elements being built -->
- <!-- ===================================================================== -->
- <target name="allElements">
- <ant antfile="${genericTargets}" target="${target}">
- <property name="type" value="feature" />
- <property name="id" value="org.eclipse.<c:get select="$build/@projectNamespace"/>" />
- </ant>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Targets to assemble the built elements for particular configurations -->
- <!-- These generally call the generated assemble scripts (named in -->
- <!-- ${assembleScriptName}) but may also add pre and post processing -->
- <!-- Add one target for each root element and each configuration -->
- <!-- ===================================================================== -->
-
- <target name="assemble.org.eclipse.<c:get select="$build/@projectNamespace"/>">
- <property name="archiveName" value="<c:get select="$build/@parentProjectName"/>-${subprojectName}-runtime-<c:get select="$build/@incubationTag"/>${buildAlias}.zip" />
- <ant antfile="${assembleScriptName}" />
- <!-- ADD POST STEPS -->
- </target>
-
- <!-- ===================================================================== -->
- <!-- Check out map files from correct repository -->
- <!-- Replace values for cvsRoot, package and mapVersionTag as desired. -->
- <!-- ===================================================================== -->
- <target name="checkLocal">
- <available property="mapsLocal" file="${buildDirectory}/maps" />
- </target>
-
- <target name="getMapFiles" depends="checkLocal" unless="mapsLocal">
-
- <!-- *** change the repo info -->
- <property name="mapCvsRoot" value=":${cvsReadProtocol}:${cvsReadUser}@${cvsHost}:${cvsRep}" />
- <property name="mapVersionTag" value="HEAD" />
- <property name="packagePath" value="org.eclipse.${projectName}/org.eclipse.${subprojectName2}.releng/maps"/>
- <cvs cvsRsh="ssh" cvsRoot="${mapCvsRoot}" tag="${mapVersionTag}"
- package="${packagePath}" dest="${buildDirectory}/maps" />
- <copy todir="${buildDirectory}/maps/CVS" overwrite="true">
- <fileset dir="${buildDirectory}/maps/${packagePath}/CVS" />
- </copy>
- <copy todir="${buildDirectory}/maps" overwrite="true">
- <fileset dir="${buildDirectory}/maps/${packagePath}" />
- </copy>
- <delete dir="${buildDirectory}/maps/org.eclipse.${projectName}" />
-
- <!--tag the map files project-->
- <antcall target="tagMapFiles" />
- </target>
-
- <target name="tagMapFiles" if="tagMaps">
- <cvs cvsRsh="ssh" dest="${buildDirectory}/maps" command="tag v${timestamp}" />
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before setup -->
- <!-- ===================================================================== -->
- <target name="preSetup">
- <mkdir dir="${buildDirectory}/${buildLabel}" />
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after setup but before starting the build proper -->
- <!-- ===================================================================== -->
- <target name="postSetup">
- <!-- TODO: if your project requires more dependencies, add them here; if it does not require all of these, remove those not required -->
- <echo message="Download, then unpack: Eclipse, EMF, UML2, OCL, Query, Transaction, Validation, GEF, GMF ..." />
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${eclipseURL}" />
- <property name="file" value="${eclipseFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.platform.doc.isv/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${emfURL}" />
- <property name="file" value="${emfFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.emf.ecore/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${uml2URL}" />
- <property name="file" value="${uml2File}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.uml2/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${oclURL}" />
- <property name="file" value="${oclFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.emf.ocl/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${queryURL}" />
- <property name="file" value="${queryFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.emf.query/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${transactionURL}" />
- <property name="file" value="${transactionFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.emf.transaction/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${validationURL}" />
- <property name="file" value="${validationFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.emf.validation/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${gefURL}" />
- <property name="file" value="${gefFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.gef/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${gmfURL}" />
- <property name="file" value="${gmfFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.gmf/META-INF/MANIFEST.MF" />
- </ant>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before fetching the build elements -->
- <!-- ===================================================================== -->
- <target name="preFetch">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after the fetch -->
- <!-- ===================================================================== -->
- <target name="postFetch">
- <replace dir="${buildDirectory}/plugins" value="${timestamp}" token="@buildid@">
- <include name="**/about.mappings" />
- </replace>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before generating build scripts -->
- <!-- ===================================================================== -->
- <target name="preGenerate">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after generating the build scripts -->
- <!-- ===================================================================== -->
- <target name="postGenerate">
- <antcall target="clean" />
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before assembling -->
- <!-- ===================================================================== -->
- <target name="preAssemble">
-
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after assembling-->
- <!-- ===================================================================== -->
- <target name="postAssemble">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before running the build.xmls for the elements being built. -->
- <!-- ===================================================================== -->
- <target name="preProcess">
- <replace dir="${buildDirectory}/plugins" value="${timestamp}" token="@build@">
- <include name="**/about.mappings" />
- </replace>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after running the build.xmls for the elements being built. -->
- <!-- ===================================================================== -->
- <target name="postProcess">
-
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after everything is built and assembled -->
- <!-- (e.g., testing, posting, emailing, ...) -->
- <!-- ===================================================================== -->
- <target name="postBuild">
- <antcall target="gatherLogs" />
- </target>
-
- <!-- ===================================================================== -->
- <!-- Helper targets -->
- <!-- ===================================================================== -->
- <target name="gatherLogs">
- <mkdir dir="${buildDirectory}/${buildLabel}/compilelogs" />
- <antcall target="allElements">
- <param name="target" value="gatherLogs" />
- </antcall>
-
- <unzip dest="${buildDirectory}/${buildLabel}/compilelogs" overwrite="true">
- <fileset dir="${buildDirectory}/features/org.eclipse.<c:get select="$build/@projectNamespace"/>">
- <include name="*.log.zip" />
- </fileset>
- </unzip>
- </target>
- <target name="clean" unless="noclean">
- <antcall target="allElements">
- <param name="target" value="cleanElement" />
- </antcall>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Default target -->
- <!-- ===================================================================== -->
- <target name="noDefault">
- <echo message="You must specify a target when invoking this file" />
- </target>
-
-</project>
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/sdk/build.properties.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/sdk/build.properties.jet
deleted file mode 100644
index 05dbb0e..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/sdk/build.properties.jet
+++ /dev/null
@@ -1,35 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-<c:choose>
-<c:when test="$build/@jre = 'J2SE-1.5'">
-javacSource=5.0
-javacTarget=5.0
-</c:when>
-<c:when test="$build/@jre = 'J2SE-1.4'">
-javacSource=1.4
-javacTarget=1.4
-</c:when>
-</c:choose>
-
-buildDirectory=${builder}/../eclipse
-buildType=I
-buildId=${buildId}
-buildLabel=${buildLabel}
-timestamp=0000
-collPlace=.
-collBase=.
-baseLocation=
-configs=*,*,*
-baseos=linux
-basews=gtk
-basearch=x86
-bootclasspath=${java.home}/lib/*.jar
-javacFailOnError=true
-javacVerbose=true
-javacDebugInfo=on
-zipargs=
-archivesFormat = *,*,*-antZip
-collectingFolder=eclipse
-archivePrefix=eclipse
-generateFeatureVersionSuffix=true
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/sdk/customTargets.xml.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/sdk/customTargets.xml.jet
deleted file mode 100644
index 93f07d7..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/sdk/customTargets.xml.jet
+++ /dev/null
@@ -1,215 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-<project name="Build specific targets and properties" default="noDefault" basedir=".">
-
- <property name="archiveName" value="<c:get select="$build/@parentProjectName"/>-${subprojectName}-SDK-<c:get select="$build/@incubationTag"/>${buildAlias}.zip" />
- <!-- ===================================================================== -->
- <!-- Run a given ${target} on all elements being built -->
- <!-- ===================================================================== -->
- <target name="allElements">
- <ant antfile="${genericTargets}" target="${target}">
- <property name="type" value="feature" />
- <property name="id" value="org.eclipse.<c:get select="$build/@projectNamespace"/>.sdk" />
- </ant>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Targets to assemble the built elements for particular configurations -->
- <!-- These generally call the generated assemble scripts (named in -->
- <!-- ${assembleScriptName}) but may also add pre and post processing -->
- <!-- Add one target for each root element and each configuration -->
- <!-- ===================================================================== -->
-
- <target name="assemble.org.eclipse.<c:get select="$build/@projectNamespace"/>.sdk">
- <ant antfile="${assembleScriptName}" />
- <!-- ADD POST STEPS -->
- </target>
-
- <!-- ===================================================================== -->
- <!-- Check out map files from correct repository -->
- <!-- Replace values for cvsRoot, package and mapVersionTag as desired. -->
- <!-- ===================================================================== -->
- <target name="checkLocal">
- <available property="mapsLocal" file="${buildDirectory}/maps" />
- </target>
-
- <target name="getMapFiles" depends="checkLocal" unless="mapsLocal">
-
- <!-- *** change the repo info -->
- <property name="mapCvsRoot" value=":${cvsReadProtocol}:${cvsReadUser}@${cvsHost}:${cvsRep}" />
-
- <property name="mapVersionTag" value="HEAD" />
- <property name="packagePath" value="org.eclipse.${projectName}/org.eclipse.${subprojectName2}.releng/maps"/>
-
- <cvs cvsRsh="ssh" cvsRoot="${mapCvsRoot}" tag="${mapVersionTag}"
- package="${packagePath}" dest="${buildDirectory}/maps" />
- <copy todir="${buildDirectory}/maps/CVS" overwrite="true">
- <fileset dir="${buildDirectory}/maps/${packagePath}/CVS" />
- </copy>
- <copy todir="${buildDirectory}/maps" overwrite="true">
- <fileset dir="${buildDirectory}/maps/${packagePath}" />
- </copy>
- <delete dir="${buildDirectory}/maps/org.eclipse.${projectName}" />
-
- <!--tag the map files project-->
- <antcall target="tagMapFiles" />
- </target>
-
- <target name="tagMapFiles" if="tagMaps">
- <cvs cvsRsh="ssh" dest="${buildDirectory}/maps" command="tag v${timestamp}" />
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before setup -->
- <!-- ===================================================================== -->
- <target name="preSetup">
- <mkdir dir="${buildDirectory}/${buildLabel}"/>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after setup but before starting the build proper -->
- <!-- ===================================================================== -->
- <target name="postSetup">
- <!-- TODO: if your project requires more dependencies, add them here -->
- <!-- TODO: if your project requires more dependencies, add them here; if it does not require all of these, remove those not required -->
- <echo message="Download, then unpack: Eclipse, EMF, UML2, OCL, Query, Transaction, Validation, GEF, GMF ..." />
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${eclipseURL}" />
- <property name="file" value="${eclipseFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.platform.doc.isv/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${emfURL}" />
- <property name="file" value="${emfFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.emf.ecore/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${uml2URL}" />
- <property name="file" value="${uml2File}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.uml2/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${oclURL}" />
- <property name="file" value="${oclFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.emf.ocl/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${queryURL}" />
- <property name="file" value="${queryFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.emf.query/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${transactionURL}" />
- <property name="file" value="${transactionFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.emf.transaction/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${validationURL}" />
- <property name="file" value="${validationFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.emf.validation/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${gefURL}" />
- <property name="file" value="${gefFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.gef/plugin.xml" />
- </ant>
- <ant target="getDependency" antfile="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/getDependencies.xml">
- <property name="url" value="${gmfURL}" />
- <property name="file" value="${gmfFile}" />
- <property name="isUnpackedFile" value="${buildDirectory}/plugins/org.eclipse.gmf/META-INF/MANIFEST.MF" />
- </ant>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before fetching the build elements -->
- <!-- ===================================================================== -->
- <target name="preFetch">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after the fetch -->
- <!-- ===================================================================== -->
- <target name="postFetch">
- <replace dir="${buildDirectory}/plugins" value="${timestamp}" token="@buildid@">
- <include name="**/about.mappings" />
- </replace>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before generating build scripts -->
- <!-- ===================================================================== -->
- <target name="preGenerate">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after generating the build scripts -->
- <!-- ===================================================================== -->
- <target name="postGenerate">
- <antcall target="clean" />
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before assembling -->
- <!-- ===================================================================== -->
- <target name="preAssemble">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after assembling-->
- <!-- ===================================================================== -->
- <target name="postAssemble">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before running the build.xmls for the elements being built. -->
- <!-- ===================================================================== -->
- <target name="preProcess">
- <replace dir="${buildDirectory}/plugins" value="${timestamp}" token="@build@">
- <include name="**/about.mappings" />
- </replace>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after running the build.xmls for the elements being built. -->
- <!-- ===================================================================== -->
- <target name="postProcess">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after everything is built and assembled -->
- <!-- (e.g., testing, posting, emailing, ...) -->
- <!-- ===================================================================== -->
- <target name="postBuild">
- <antcall target="gatherLogs" />
- </target>
-
- <!-- ===================================================================== -->
- <!-- Helper targets -->
- <!-- ===================================================================== -->
- <target name="gatherLogs">
- <mkdir dir="${buildDirectory}/${buildLabel}/compilelogs" />
- <antcall target="allElements">
- <param name="target" value="gatherLogs" />
- </antcall>
-
- <unzip dest="${buildDirectory}/${buildLabel}/compilelogs" overwrite="true">
- <fileset dir="${buildDirectory}/features/org.eclipse.<c:get select="$build/@projectNamespace"/>.sdk">
- <include name="*.log.zip" />
- </fileset>
- </unzip>
- </target>
- <target name="clean" unless="noclean">
- <antcall target="allElements">
- <param name="target" value="cleanElement" />
- </antcall>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Default target -->
- <!-- ===================================================================== -->
- <target name="noDefault">
- <echo message="You must specify a target when invoking this file" />
- </target>
-
-</project>
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/build.properties.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/build.properties.jet
deleted file mode 100644
index 05dbb0e..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/build.properties.jet
+++ /dev/null
@@ -1,35 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-<c:choose>
-<c:when test="$build/@jre = 'J2SE-1.5'">
-javacSource=5.0
-javacTarget=5.0
-</c:when>
-<c:when test="$build/@jre = 'J2SE-1.4'">
-javacSource=1.4
-javacTarget=1.4
-</c:when>
-</c:choose>
-
-buildDirectory=${builder}/../eclipse
-buildType=I
-buildId=${buildId}
-buildLabel=${buildLabel}
-timestamp=0000
-collPlace=.
-collBase=.
-baseLocation=
-configs=*,*,*
-baseos=linux
-basews=gtk
-basearch=x86
-bootclasspath=${java.home}/lib/*.jar
-javacFailOnError=true
-javacVerbose=true
-javacDebugInfo=on
-zipargs=
-archivesFormat = *,*,*-antZip
-collectingFolder=eclipse
-archivePrefix=eclipse
-generateFeatureVersionSuffix=true
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/configs/local/chkpii_ignore_list.txt.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/configs/local/chkpii_ignore_list.txt.jet
deleted file mode 100644
index 20a9d96..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/configs/local/chkpii_ignore_list.txt.jet
+++ /dev/null
@@ -1,5 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-references/javadoc/*.html
-**/epl-v10.html
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/configs/local/customTest.xml.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/configs/local/customTest.xml.jet
deleted file mode 100644
index 29d0108..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/configs/local/customTest.xml.jet
+++ /dev/null
@@ -1,44 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-<project name="Customized testing instructions" default="customSetup">
-
- <property name="buildConfigFile" value="${testDir}/../../build.cfg" />
- <available file="${buildConfigFile}" type="file" property="buildConfigIsAvailable" />
-
- <target name="loadbuildConfig" if="buildConfigIsAvailable">
- <property file="${buildConfigFile}" />
- </target>
-
- <target name="customSetup">
- <fail unless="buildConfigIsAvailable" message="ERROR! Can't find ${buildConfigFile}"/>
- <antcall target="loadbuildConfig"/>
-
- <echo message="Unpack Eclipse SDK to ${testDir}..."/>
- <echo message="customTest.xml: basedir = ${basedir}"/>
- <property name="getTestDependencies.xml" value="${testDir}/../../org.eclipse.modeling.common.releng/scripts/getTestDependencies.xml"/>
- <ant target="getTestDependency" antfile="${getTestDependencies.xml}">
- <property name="basedir" value="${basedir}"/>
- <property name="url" value="${eclipseURL}"/>
- <property name="file" value="${eclipseFile}"/>
- <property name="unpackDest" value="${testDir}"/>
- </ant>
-
- <!-- TODO: if your project requires more dependencies for testing, add them here -->
- <echo message="Copy EMF SDK + Eclipse SDK to ${executionDir}..."/>
- <copy todir="${executionDir}">
- <fileset dir="${downloadsDir}" includes="${emfFile},${eclipseFile}"/>
- </copy>
- <property name="shell" value="relengbuildgtk.sh"/>
-
- <!--copy the script which invokes the tests -->
- <copy file="${tester}/${shell}" todir="${executionDir}"/>
- <chmod file="${executionDir}/${shell}" perm="ugo+rx"/>
-
- <!--copy the testing.property files -->
- <copy file="${tester}/testing.properties" todir="${executionDir}"/>
-
- <!-- at this point, we exit from this script and back into the parent script (presumably in pde or eclipse.releng?) -->
- <echo message="Running ${shell} ..."/>
- </target>
-</project>
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/configs/local/relengbuildgtk.sh.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/configs/local/relengbuildgtk.sh.jet
deleted file mode 100644
index 23b7b92..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/configs/local/relengbuildgtk.sh.jet
+++ /dev/null
@@ -1,238 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-#!/bin/bash
-
-echo -n "[relengbuild] $0 started on: `date +%Y%m%d\ %H\:%M\:%S`";
-
-# environment variables
-PATH=.:/bin:/usr/bin:/usr/bin/X11:/usr/local/bin:/usr/X11R6/bin:`pwd`/../linux;export PATH
-
-export USERNAME=`whoami`
-echo " running as $USERNAME";
-echo " currently in dir: `pwd`";
-
-if [[ ! $JAVA_HOME ]]; then
- echo -n "[relengbuild] Get JAVA_HOME from build.cfg ... ";
- buildcfg=$PWD/../../../build.cfg;
- export JAVA_HOME=$(grep "JAVA_HOME=" $buildcfg | egrep -v "^#" | tail -1 | sed -e "s/JAVAHOME=//");
- echo "$JAVA_HOME";
-fi
-
-Xflags="";
-Dflags="";
-
-# default target to run in org.eclipse.$subprojectName.releng/builder/tests/scripts/test.xml
-antTestTarget=all
-
-# process command line arguments
-while [ $# -gt 0 ]
-do
- case "$1" in
- -vmExecutable) vmExecutable="$2"; shift;;
- -consolelog) consolelog="$2"; shift;;
- -X*) Xflags=$Xflags\ $1;;
- -D*) Dflags=$Dflags\ $1;;
- esac
- shift
-done
-
-checkIfj9 ()
-{
-# given a series of -X flags, see if the string -Xj9 can be found
- j9=$Xflags;
- #echo "Xflags=$Xflags"
- j9=${j9/\-Xj9/} # substring replacement
- #echo "remaining: $j9"
- if [ "$j9" != "$Xflags" ]; then # found it
- j9="j9";
- else
- j9="";
- fi
-}
-checkIfj9;
-
-defined=0;
-checkIfDefined ()
-{
- if [ -f $1 ] ; then
- defined=1;
- else
- defined=0;
- fi
-}
-
-execCmd ()
-{
- echo ""; echo "[relengbuild] [`date +%H\:%M\:%S`]";
- echo " $1" | perl -pe "s/ -/\n -/g";
- if [ "x$2" != "x" ]; then
- $1 | tee $2;
- else
- $1;
- fi
-}
-
-doFunction ()
-{
- cmd=$1;
- params=$2
- for pth in "." "/bin" "/usr/bin" "/usr/bin/X11" "/usr/local/bin" "/usr/X11R6/bin" "`pwd`/../linux" ; do
- defined=0;
- checkIfDefined $pth/$cmd
- if [ $defined -eq 1 ] ; then
- $cmd $params
- sleep 3
- break;
- fi
- done
- if [ $defined -eq 0 ] ; then
- echo "$cmd is not defined (command not found)";
- fi
-}
-
-# these don't work on old build server, so not point wrapping them to say so when we can just omit
-# doFunction Xvfb ":42 -screen 0 1024x768x24 -ac & "
-# doFunction Xnest ":43 -display :42 -depth 24 & "
-# doFunction fvwm2 "-display localhost:43.0 & "
-#export DISPLAY=$HOSTNAME:43.0
-#ulimit -c unlimited
-
-getBuildID()
-{ # given $PWD: /home/www-data/build/modeling/$buildName/$subprojectName/downloads/drops/1.1.0/N200702112049/testing/N200702112049/testing
- # return N200702110400
- buildID=$1; #echo "buildID=$buildID";
- buildID=${buildID##*drops\/}; # trim up to drops/ (from start) (substring notation)
- buildID=${buildID%%\/test*}; # trim off /test (to end) (substring notation)
- buildID=${buildID##*\/}; # trim up to / (from start) (substring notation)
-}
-buildID=""; getBuildID $PWD; #echo buildID=$buildID;
-
-getBranch()
-{ # given $PWD: /home/www-data/build/modeling/$buildName/$subprojectName/downloads/drops/1.1.0/N200702112049/testing/N200702112049/testing
- # return 1.1.0
- branch=$1; #echo "branch=$branch";
- branch=${branch##*drops\/}; # trim up to drops/ (from start) (substring notation)
- branch=${branch%%\/*}; # trim off / (to end) (substring notation)
-}
-branch=""; getBranch $PWD; #echo branch=$branch;
-
-############################# BEGIN RUN TESTS #############################
-
-
-# operating system, windowing system and architecture variables
-# for *nix systems, os, ws and arch values must be specified
-Dflags=$Dflags" "-Dplatform=linux.gtk
-os=linux
-ws=gtk
-arch=x86
-
-# default value to determine if eclipse should be reinstalled between running of tests
-installmode="clean"
-
-#this value must be set when using rsh to execute this script, otherwise the script will execute from the user's home directory
-dir=.
-cd $dir
-workspaceDir="$dir/eclipse/workspace"
-
-# Replace the boot eclipse (The eclipse used to run the main test.xml, this will start another eclipse later)
-if [ -d $dir/eclipse ] ; then
- rm -rf $dir/eclipse
-fi
-if [ -d $workspaceDir ] ; then
- rm -rf $dir/workspace
-fi
-
-echo "[runtests] Currently in `pwd`:"
-# need conditional processing here: M3.0.2 = zip, I3.1.0 = tar.gz
-sdks=`find $dir -name "eclipse-SDK-*"`
-# get extension from file(s)
-for sdk in $sdks; do
- sdk="eclipse"${sdk##*eclipse}; # trim up to eclipse (substring notation)
- #echo -n "[runtests] Eclipse SDK $sdk is a";
- ext=${sdk%%\.zip}; # trim off .zip (substring notation)
- if [ "$ext" != "$sdk" ]; then # it's a zip
- #echo " zip. Unpacking...";
- unzip -qq -o $sdk
- else
- ext=${sdk%%\.tar\.gz}; # trim off .tar.gz (substring notation)
- if [ "$ext" != "$sdk" ]; then # it's a tar.gz
- #echo " tar.gz. Unpacking...";
- tar -xzf $sdk
- else
- ext=${sdk%%\.tar\.Z}; # trim off .tar.Z (substring notation)
- if [ "$ext" != "$sdk" ]; then # it's a tar.Z
- #echo " tar.Z. Unpacking...";
- tar -xZf $sdk
- else
- echo "[runtests] ERROR: Eclipse SDK $sdk is an UNKNOWN file type. Failure.";
- exit 2
- fi
- fi
- fi
-done
-
-J2SE15flags="";
-# TODO: if a 1.5 JDK and want source/target = 1.5, leave these in
-# TODO: if source/target = 1.4, remove these!
-if [ ${JAVA_HOME##*1.5*}"" = "" -o ${JAVA_HOME##*15*}"" = "" -o ${JAVA_HOME##*5.0*}"" = "" -o ${JAVA_HOME##*50*}"" = "" ]; then
- # set J2SE-1.5 properties (-Dflags)
- bootclasspath="."`find $JAVA_HOME/jre/lib -name "*.jar" -printf ":%p"`;
- J2SE15flags=$J2SE15flags" -DJ2SE-1.5=$bootclasspath"
- J2SE15flags=$J2SE15flags" -DbundleBootClasspath=$bootclasspath"
- J2SE15flags=$J2SE15flags" -DjavacSource=1.5"
- J2SE15flags=$J2SE15flags" -DjavacTarget=1.5"
- J2SE15flags=$J2SE15flags" -DbundleJavacSource=1.5"
- J2SE15flags=$J2SE15flags" -DbundleJavacTarget=1.5"
-fi
-
-# different ways to get the launcher and Main class
-if [[ -f eclipse/startup.jar ]]; then
- cpAndMain="eclipse/startup.jar org.eclipse.core.launcher.Main"; # up to M4_33
-elif [[ -f eclipse/plugins/org.eclipse.equinox.launcher.jar ]]; then
- cpAndMain="eclipse/plugins/org.eclipse.equinox.launcher.jar org.eclipse.equinox.launcher.Main"; # M5_33
-else
- cpAndMain=`find eclipse/ -name "org.eclipse.equinox.launcher_*.jar" | sort | head -1`" org.eclipse.equinox.launcher.Main";
-fi
-
-# run tests
-echo "[runtests] [`date +%H\:%M\:%S`] Launching Eclipse (installmode = $installmode with -enableassertions turned on) ..."
-execCmd "$JAVA_HOME/bin/java $Xflags -enableassertions -cp $cpAndMain -ws $ws -os $os -arch $arch \
--application org.eclipse.ant.core.antRunner -data $workspaceDir -file test.xml $antTestTarget \
-$Dflags -Dws=$ws -Dos=$os -Darch=$arch -D$installmode=true $J2SE15flags \
-$properties -logger org.apache.tools.ant.DefaultLogger" $consolelog;
-echo "[runtests] [`date +%H\:%M\:%S`] Eclipse test run completed. "
-
-############################# END RUN TESTS #############################
-
-# supress errors by checking for the file first
-if [ -r /tmp/.X43-lock ] ; then
- kill `cat /tmp/.X43-lock`
-fi
-if [ -r /tmp/.X42-lock ] ; then
- kill `cat /tmp/.X42-lock`
-fi
-
-if [[ ! -d $PWD/results ]]; then
- echo "[relengbuild] No test results found in $PWD/results!";
- echo "[relengbuild] Creating 'noclean' file to prevent cleanup after build completes."
- echo "1" > $PWD/../../../noclean;
-else
-# if the build failed for some reason, don't clean up!
-xmls=`find $PWD/results/xml -name "*.xml"`;
-testsFailed=1;
-for xml in $xmls; do
- if [ $testsFailed -eq 1 ]; then
- testsFailed=`cat $xml | grep -c "<testsuite errors=\"0\" failures=\"0\""`
- if [ $testsFailed -lt 1 ]; then
- echo "[relengbuild] Found test failure(s) in $xml!";
- echo "[relengbuild] Creating 'noclean' file to prevent cleanup after build completes."
- echo "1" > $PWD/../../../noclean;
- break;
- fi
- fi
-done
-fi;
-
-echo "[relengbuild] relengbuildgtk.sh completed on: `date +%Y%m%d\ %H\:%M\:%S`"
-
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/configs/local/testing.properties.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/configs/local/testing.properties.jet
deleted file mode 100644
index 2075c1a..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/configs/local/testing.properties.jet
+++ /dev/null
@@ -1,49 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-#which (sub)project?
-project=<c:get select="$build/@shortName"/>
-
-#target to call in test.xml: runtests-local | runtests-remote
-testTarget=runtests-local
-
-#directory on test machine where automated testing framework will be installed
-testDir=${testBase}/${buildLabel}
-
-#name of zip file containing automated testing framework and JUnit test plug-ins
-testFramework=<c:get select="$build/@parentProjectName"/>-${project}-automated-tests-<c:get select="$build/@incubationTag"/>${buildAlias}.zip
-
-#directory where test scripts are launched
-executionDir=${testDir}/testing
-
-#name of runtime to install and test
-runtime=<c:get select="$build/@parentProjectName"/>-${project}-SDK-<c:get select="$build/@incubationTag"/>${buildAlias}.zip
-
-# leave this blank and it will be generated by genBuildDetails.sh
-javaHome=%%JAVA_HOME%%
-vmExecutable=${javaHome}/bin/java
-
-#hack to override unneeded function in releng.basebuilder/plugins/org.eclipse.build.tools/scripts/test.xml
-vmUrl=
-vmDest=/dev/null
-vmInstallExecutable=${vmExecutable}
-vmInstallCommand=-version
-
-#eclipse platforms: win32 | linux.motif | linux.gtk | aix.motif | hpux.motif |solaris.motif
-platform=${baseos}.${basews}
-
-#name of file that captures console output from running JUnit plug-in tests
-consolelog=${baseos}.${basews}_consolelog.txt
-
-#Works with IBM and Sun JDKs, 1.4+
-#name of script to execute
-testExecutable=bash
-
-#arguments to $(testExecutable) - .sh script + args
-args=${executionDir}/${shell} -vmExecutable ${vmExecutable} -consolelog ${consolelog} ${Xflags} ${Dflags}
-
-#TODO: set vm-specific flags
-#Xflags=-Xms64M -Xmx192M
-Xflags=-Xms256M -Xmx256M
-Dflags=
-
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/customTargets.xml.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/customTargets.xml.jet
deleted file mode 100644
index ebc4c72..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/customTargets.xml.jet
+++ /dev/null
@@ -1,236 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-<project name="Build specific targets and properties" default="noDefault" basedir=".">
-
-<!-- ===================================================================== -->
-<!-- Run a given ${target} on all elements being built -->
-<!-- ===================================================================== -->
-<target name="allElements">
- <ant antfile="${genericTargets}" target="${target}" >
- <property name="type" value="feature" />
- <property name="id" value="org.eclipse.<c:get select="$build/@projectNamespace"/>.tests" />
- </ant>
-</target>
-
-<!-- ===================================================================== -->
-<!-- Targets to assemble the built elements for particular configurations -->
-<!-- These generally call the generated assemble scripts (named in -->
-<!-- ${assembleScriptName}) but may also add pre and post processing -->
-<!-- Add one target for each root element and each configuration -->
-<!-- ===================================================================== -->
-
-<target name="assemble.org.eclipse.<c:get select="$build/@projectNamespace"/>.tests">
- <property name="archiveName" value="<c:get select="$build/@parentProjectName"/>-${subprojectName}-junit-tests-${buildAlias}.zip"/>
- <ant antfile="${assembleScriptName}"/>
-<!-- ADD POST STEPS -->
-</target>
-
-<!-- ===================================================================== -->
-<!-- Check out map files from correct repository -->
-<!-- Replace values for cvsRoot, package and mapVersionTag as desired. -->
-<!-- ===================================================================== -->
-<target name="checkLocal">
- <available property="mapsLocal" file="${buildDirectory}/maps" />
-</target>
-
-<target name="getMapFiles" depends="checkLocal" unless="mapsLocal">
-
- <!-- *** change the repo info -->
- <property name="mapCvsRoot" value=":${cvsReadProtocol}:${cvsReadUser}@${cvsHost}:${cvsRep}" />
- <property name="mapVersionTag" value="HEAD" />
- <property name="packagePath" value="org.eclipse.${projectName}/org.eclipse.${subprojectName2}.releng/maps"/>
-
- <cvs cvsRsh="ssh" cvsRoot="${mapCvsRoot}" tag="${mapVersionTag}"
- package="${packagePath}" dest="${buildDirectory}/maps" />
- <copy todir="${buildDirectory}/maps/CVS" overwrite="true">
- <fileset dir="${buildDirectory}/maps/${packagePath}/CVS" />
- </copy>
- <copy todir="${buildDirectory}/maps" overwrite="true">
- <fileset dir="${buildDirectory}/maps/${packagePath}" />
- </copy>
- <delete dir="${buildDirectory}/maps/org.eclipse.${projectName}" />
-
- <!--tag the map files project-->
- <antcall target="tagMapFiles" />
-</target>
-
-<target name="tagMapFiles" if="tagMaps">
- <cvs dest="${buildDirectory}/maps/org.eclipse.${subprojectName2}" command="tag v${timestamp}" />
-</target>
-
-<!-- ===================================================================== -->
-<!-- Steps to do before setup -->
-<!-- ===================================================================== -->
-<target name="preSetup">
-</target>
-
-<!-- ===================================================================== -->
-<!-- Steps to do after setup but before starting the build proper -->
-<!-- ===================================================================== -->
-<target name="postSetup">
-</target>
-
-<!-- ===================================================================== -->
-<!-- Steps to do before fetching the build elements -->
-<!-- ===================================================================== -->
-<target name="preFetch">
-</target>
-
-<!-- ===================================================================== -->
-<!-- Steps to do after the fetch -->
-<!-- ===================================================================== -->
-<target name="postFetch">
- <replace dir="${buildDirectory}/plugins" value="${timestamp}" token="@buildid@">
- <include name="**/about.mappings" />
- </replace>
-</target>
-
-<!-- ===================================================================== -->
-<!-- Steps to do before generating build scripts -->
-<!-- ===================================================================== -->
-<target name="preGenerate">
-</target>
-
-<!-- ===================================================================== -->
-<!-- Steps to do after generating the build scripts -->
-<!-- ===================================================================== -->
-<target name="postGenerate">
- <antcall target="clean" />
-</target>
-
-<!-- ===================================================================== -->
-<!-- Steps to do before assembling -->
-<!-- ===================================================================== -->
-<target name="preAssemble">
-</target>
-
-<!-- ===================================================================== -->
-<!-- Steps to do after assembling-->
-<!-- ===================================================================== -->
-<target name="postAssemble">
-</target>
-
-<!-- ===================================================================== -->
-<!-- Steps to do before running the build.xmls for the elements being built. -->
-<!-- ===================================================================== -->
-<target name="preProcess">
- <replace dir="${buildDirectory}/plugins" value="${timestamp}" token="@build@">
- <include name="**/about.mappings" />
- </replace>
-</target>
-
-<!-- ===================================================================== -->
-<!-- Steps to do after running the build.xmls for the elements being built. -->
-<!-- ===================================================================== -->
-<target name="postProcess">
- <condition property="logsAvailable">
- <istrue value="${javacVerbose}"/>
- </condition>
- <antcall target="gatherLogs" />
-</target>
-
-<!-- ===================================================================== -->
-<!-- Steps to do after everything is built and assembled -->
-<!-- (e.g., testing, posting, emailing, ...) -->
-<!-- ===================================================================== -->
-<target name="postBuild">
- <antcall target="packageTestFramework" />
-</target>
-
-<!-- ===================================================================== -->
-<!-- Helper targets -->
-<!-- ===================================================================== -->
-<target name="gatherLogs" if="logsAvailable">
- <mkdir dir="${buildDirectory}/${buildLabel}/compilelogs" />
- <antcall target="allElements">
- <param name="target" value="gatherLogs" />
- </antcall>
-
- <unzip dest="${buildDirectory}/${buildLabel}/compilelogs" overwrite="true">
- <fileset dir="${buildDirectory}/features/org.eclipse.<c:get select="$build/@projectNamespace"/>.tests">
- <include name="*.log.zip" />
- </fileset>
- </unzip>
-</target>
-
-<target name="clean" unless="noclean">
- <antcall target="allElements">
- <param name="target" value="cleanElement" />
- </antcall>
-</target>
-
-<target name="packageTestFramework">
- <!--package automated test framework used in <c:get select="$build/@parentProjectName"/>-${subprojectName} builds-->
-
- <property name="workingDirectory" value="${buildDirectory}/test.assembly" />
- <echo message="workingDirectory: ${workingDirectory}"/>
-
- <!--unzip the junit tests-->
- <mkdir dir="${workingDirectory}/eclipse" />
- <unzip dest="${workingDirectory}" overwrite="true">
- <fileset dir="${buildDirectory}/${buildLabel}"><include name="**/<c:get select="$build/@parentProjectName"/>-${subprojectName}-junit-tests*.zip"/></fileset>
- </unzip>
-
- <!-- create top level testing directory-->
- <delete dir="${workingDirectory}/testing"/>
- <mkdir dir="${workingDirectory}/testing" />
-
- <!--compile the tool used to generate the test.properties file, then run it.-->
- <!--test.properties maps test plugin id's to the name of the plugin directory-->
-
- <!--eclipse.home is relative to the scripts directory in the org.eclipse.pde.build plugin. Assume the plugins used in the classpath are in the same directory as org.eclipse.pde.build-->
- <property name="eclipse.home" value="../../.." />
-
- <generateTestProperties
- buildDirectory="${buildDirectory}"
- featureId="org.eclipse.<c:get select="$build/@projectNamespace"/>.tests"
- outputFile="${workingDirectory}/testing/test.properties"
- />
-
- <!--load the property file created with the directory names for all test plugins-->
- <property file="${workingDirectory}/testing/test.properties" />
-
- <!-- Remove the plugin version number appended to the org.eclipse.test plugin directory.
- This is so that contributors of test.xml's do not have to update their paths to
- library.xml in org.eclipse.test whenever its version is updated.
- -->
- <move todir="${workingDirectory}/eclipse/plugins/org.eclipse.test">
- <fileset dir="${workingDirectory}/eclipse/plugins/${org.eclipse.test}" />
- </move>
-
- <!--the Ant move task leaves behind an empty directory-->
- <delete dir="${workingDirectory}/eclipse/plugins/${org.eclipse.test}" includeEmptyDirs="true" />
-
- <!-- rezip the JUnit plugin tests -->
- <zip destfile="${workingDirectory}/testing/<c:get select="$build/@parentProjectName"/>-${subprojectName}-junit-tests-${buildAlias}.zip">
- <zipfileset dir="${workingDirectory}/eclipse" prefix="eclipse"/>
- </zip>
-
- <!--Copy scripts and doc used in the automated testing to the testing directory-->
- <copy todir="${workingDirectory}/testing">
- <fileset dir="${buildDirectory}/plugins/org.eclipse.test" includes="testframework.html,JUNIT.XSL" />
- </copy>
- <copy todir="${workingDirectory}/testing">
- <fileset dir="${builderDirectory}/scripts" />
- </copy>
-
- <!--copy in the file containing the URL of the Eclipse build used for testing-->
- <copy todir="${workingDirectory}/testing" file="${buildDirectory}/../build.cfg" />
-
- <!--create zip file of the automated testing framework-->
- <zip destfile="${buildDirectory}/${buildLabel}/<c:get select="$build/@parentProjectName"/>-${subprojectName}-automated-tests-${buildAlias}.zip">
- <zipfileset dir="${workingDirectory}/testing" prefix="testing"/>
- </zip>
-
- <delete file="${buildDirectory}/${buildLabel}/<c:get select="$build/@parentProjectName"/>-${subprojectName}-junit-tests-${buildAlias}.zip" />
-</target>
-
-<!-- ===================================================================== -->
-<!-- Default target -->
-<!-- ===================================================================== -->
-<target name="noDefault">
- <echo message="You must specify a target when invoking this file" />
-</target>
-
-</project>
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/scripts/readme.html.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/scripts/readme.html.jet
deleted file mode 100644
index 174335f..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/scripts/readme.html.jet
+++ /dev/null
@@ -1,165 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-<html>
-<head>
-<title>Instructions</title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-</head>
-
-<body bgcolor="#FFFFFF" text="#000000">
-<font size="+2"> Automated Testing of Modeling Project Builds</font>
-<p>last updated: November 9, 2005</p>
-<p><font size="+1">Description</font></p>
-<p>This document describes how to run the your project's JUnit test plugins from the command
- line. This is the same mechanism used in the builds.</p>
-<p>Click <a href="testframework.html">here</a> for a description of the testing
- framework, and how it can be used outside of the setup described here.</p>
-<p>If you simply wish to write and run JUnit tests interactively from an Eclipse
- workbench, try one of the links below:</p>
-<p><a href="http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/jdt-ui-home/plugins/org.eclipse.jdt.junit/index.html">JUnit
- Support in Eclipse</a><br>
-<a href="http://dev.eclipse.org:8080/help/content/help:/org.eclipse.jdt.doc.user/tasks/tasks-207.htm?resultof=%6a%75%6e%69%74%20&toc=%2Forg.eclipse.jdt.doc.user%2Ftoc.xml">Using
- JUnit</a></p>
-
-<p><font size="+1">Requirements</font></p>
-<p>1. All test machines must have a java runtime environment (version 1.3.1) installed and added to the path environment variable (see
- <a href="#vm">-vm</a> parameter below).<br>
- 2. <a href="http://www.info-zip.org/pub/infozip/UnZip.html">Info-ZIP UnZip</a>
- version 5.41 or later installed and added to the path.<br>
- 3. The Automated Test feature from a
- <a href="http://www.eclipse.org/modeling/<c:get select="$build/@parentProjectName"/>">downloads</a>.
- This contains the test framework plugins and the JUnit test plugins to run.<br>
- 4. The zip file from the same build as the Automated Test feature. You can use the <c:get select="$build/@parentProjectName"/>-*-SDK zip file instead of the individual files.<br>
- 5. An Eclipse SDK zip file. The URL and build name of the required builds
- are specified in the build.cfg file included in the Automated Test zip file.</p>
-<p><font size="+1">Setup</font></p>
-<p>1. Extract the <c:get select="$build/@parentProjectName"/>-*-automated-tests-<c:get select="$build/@incubationTag"/>&lt;buildid&gt;.zip. On Window, extract
- this file close to the root of the drive to prevent some path names from exceeding
- the 255 character limit. This will create a top-level directory &quot;<i>testing</i>&quot;.<br>
- 2. Place the Eclipse SDK zip file and the project's runtime in the <i>testing</i> directory.
- Do not unzip these files. (The test scripts will take care of this)<br>
-</p>
-<p><font size="+1">Running Tests</font></p>
-<p>1. cd to the <i>testing</i> directory<br>
- 2. Run the following script:</p>
-<p><b>runtests.sh [-os &lt;operating system&gt;] [-ws &lt;windowing system&gt;] [-arch
- &lt;architecture&gt;] [-noclean] [&lt;testTarget&gt;][-properties &lt;path&gt;][-vm
- &lt;path to java executable&gt;]</b></p>
-All parameters and targets are optional on windows systems. Just running &quot;runtests.sh&quot;
-will run <b>ALL</b> tests on Windows, installing a clean Eclipse and your project's SDK between
-each test target. On *nix systems, the os, ws and arch parameters must be specified.
-<br>
-<br>
-Test results are placed in the <i>testing</i>/<i>results</i> directory in xml and html format.<br>
-<p><font size="+1"><a name="vm"></a>Parameters</font></p>
-<table width="90%" border="1">
- <tr>
- <td>Parameter</td>
- <td>Description</td>
- </tr>
- <tr>
- <td>-os &lt;operating system&gt;</td>
- <td>The OS the tests are being run on. One of: aix, hpux, linux, qnx, solaris,
- win32. <b>Default win32</b></td>
- </tr>
- <tr>
- <td>-ws &lt;windowing system&gt;</td>
- <td>The windowing system the tests are being run on. One of: motif, gtk, photon,
- win32. <b>Default win32</b></td>
- </tr>
- <tr>
- <td>-arch &lt;architecture&gt;</td>
- <td>The architecture the tests are being run on. One of: ppc, PA_RISC, x86,
- sparc. <b>Default x86</b></td>
- </tr>
- <tr>
- <td>-noclean</td>
- <td>Run tests without installing an Eclipse and GEF SDK and tests between
- test targets. Default is to re-install these between test targets.</td>
- </tr>
- <tr>
- <td>-properties</td>
- <td>Used to reference a properties file containing additional Ant properties
- used in running tests.Can be used to pass additional vm arguments to the
- Java virtual machine running the tests by adding the entry &quot;extraVMargs=&lt;the
- args to pass to the vm&gt;&quot; to the specified properties file.</td>
- </tr>
- <tr>
- <td>-vm</td>
- <td>The full path to the java executable with which to run the tests. Use
- this to specify a specific virtual machine with which to run the tests.
- For example, &quot;-vm c:\sun131\jre\bin\java&quot;. Default set to &quot;java&quot;
- (i.e. java executable on system path). </td>
- </tr>
-</table>
-
-<p><font size="+1">Test Targets</font></p>
-<p>Specifies which ant target to run in the main test.xml. Typically this corresponds
- to a test project's tests. If you do not specify a test target then the <b>all</b>
- test target is run.</p>
-
-<table width="90%" border="1">
- <tr>
- <td>all</td>
- <td>Runs all the targets below.</td>
- </tr>
- <tr>
- <td><c:get select="$build/@parentProjectName"/></td>
- <td>Runs the JUnit tests located in the test plug-ins</td>
- </tr>
- <tr>
- <td>genHtml</td>
- <td>Converts xml test results in the &quot;<i>testing</i>/<i>results</i>&quot; directory
- to html.</td>
- </tr>
-</table>
-<p>&nbsp;</p>
-<p><font size="+1"><a name="appendixb"></a>Appendix A- Supported os, ws, and arch
- value combinations</font></p>
-<p>The following table contains the values that can be used with the -os, -ws,
- and -arch switches.</p>
-<table width="75%" border="1">
- <tr>
- <td>Operating System (os)</td>
- <td>Windowing System (ws)</td>
- <td>Architecture (arch)</td>
- </tr>
- <tr>
- <td>aix</td>
- <td>motif</td>
- <td>ppc</td>
- </tr>
- <tr>
- <td>hpux</td>
- <td>motif</td>
- <td>PA_RISC</td>
- </tr>
- <tr>
- <td>linux</td>
- <td>gtk</td>
- <td>x86</td>
- </tr>
- <tr>
- <td>linux</td>
- <td>motif</td>
- <td>x86</td>
- </tr>
- <tr>
- <td height="24">qnx</td>
- <td height="24">photon</td>
- <td height="24">x86</td>
- </tr>
- <tr>
- <td>solaris</td>
- <td>motif</td>
- <td>sparc</td>
- </tr>
- <tr>
- <td>win32</td>
- <td>win32</td>
- <td>x86</td>
- </tr>
-</table>
-</body>
-</html>
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/scripts/test.xml.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/scripts/test.xml.jet
deleted file mode 100644
index 59d0859..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/builder/tests/scripts/test.xml.jet
+++ /dev/null
@@ -1,90 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-<project name="Automated Testing" default="all" basedir="." >
-
- <!--properties file containing the plugin directory name including version number-->
- <property file="test.properties" />
-
- <!-- urls and such from the build -->
- <property file="${basedir}/../../../build.cfg" />
-
- <!--default directory where test-eclipse will be installed-->
- <property name="install" value="${basedir}/target" />
-
- <!--name that can be added to report name to identify which platform tests results come from-->
- <property name="platform" value="" />
-
- <!-- The root of the eclipse installation -->
- <property name="eclipse-home" value="${install}/eclipse" />
-
- <!-- The directory that will contain the xml and html results from the tests that are run -->
- <property name="results" value="${basedir}/results" />
-
- <target name="setup" if="clean" description="Reinstall the test Eclipse installation if specified by user">
- <delete dir="${install}" /><mkdir dir="${install}" />
-
- <!-- TODO: if your project requires more dependencies, add them here -->
- <echo message="Download, then unpack: Eclipse, EMF ..." />
- <property name="common.releng.dir" value="${basedir}/../../../org.eclipse.modeling.common.releng"/>
- <property name="getTestDependencies.xml" value="${common.releng.dir}/scripts/getTestDependencies.xml"/>
- <ant target="getTestDependency" antfile="${getTestDependencies.xml}" dir="${common.releng.dir}">
- <property name="url" value="${eclipseURL}" />
- <property name="file" value="${eclipseFile}" />
- <property name="unpackDest" value="${install}"/>
- </ant>
- <ant target="getTestDependency" antfile="${getTestDependencies.xml}" dir="${common.releng.dir}">
- <property name="url" value="${emfURL}" />
- <property name="file" value="${emfFile}" />
- <property name="unpackDest" value="${install}"/>
- </ant>
-
- <property name="dir" location="."/>
- <echo message="Unpack SDK + JUnit Tests (${dir}/<c:get select="$build/@parentProjectName"/>-*.zip) ..."/>
- <unzip dest="${install}" overwrite="true">
- <fileset dir="${dir}"><include name="**/<c:get select="$build/@parentProjectName"/>-*.zip"/></fileset>
- </unzip>
- </target>
-
- <target name="runtests" depends="setup" description="Runs ant on the test.xml for a specified plugin. Requires a property value setting for testPlugin only if test.properties is not available. The property testPlugin represents a directory name made up of the plugin id and plugin version. This directory must contain a valid test.xml.">
-<c:if test="$build/@testsAreJarred = 'false'">
- <echo message="${eclipse-home}/plugins/${testPlugin} is not a jarred plugin. No unpack required!"/>
-</c:if>
- <echo message="Unpack ${eclipse-home}/plugins/${testPlugin}.jar to ${eclipse-home}/plugins/${testPlugin} ... "/>
- <move file="${eclipse-home}/plugins/${testPlugin}.jar" tofile="${eclipse-home}/plugins/${testPlugin}_.jar"/>
- <unjar src="${eclipse-home}/plugins/${testPlugin}_.jar" dest="${eclipse-home}/plugins/${testPlugin}"/>
- <delete file="${eclipse-home}/plugins/${testPlugin}_.jar"/>
-
- <echo message="Running test.xml from jarfile ${eclipse-home}/plugins/${testPlugin} ... "/>
- <ant antfile="${eclipse-home}/plugins/${testPlugin}/test.xml" dir="${eclipse-home}"/>
- <copy file="${eclipse-home}/${report}.xml" tofile="${results}/xml/${report}_${platform}.xml" />
- </target>
-
- <target name="<c:get select="$build/@parentProjectName"/>" description="Runs the test.xml of the tests plugin">
- <antcall target="runtests">
- <param name="testPlugin" value="${org.eclipse.<c:get select="$build/@projectNamespace"/>.tests}" />
- <param name="report" value="org.eclipse.<c:get select="$build/@projectNamespace"/>.tests" />
- </antcall>
-
- <!-- test if chkpii script exists before proceeding -->
- <property name="common.releng.dir" value="${basedir}/../../../org.eclipse.modeling.common.releng"/>
- <property name="chkpii.xml" value="${common.releng.dir}/scripts/chkpii.xml"/>
- <available file="${chkpii.xml}" property="chkpiiXMLAvailable"/>
- <antcall target="runChkpii"/>
- </target>
-
- <target name="runChkpii" if="chkpiiXMLAvailable">
- <ant target="chkpii" antfile="${chkpii.xml}" inheritall="true">
- <property name="zipPattern" value="<c:get select="$build/@parentProjectName"/>-*.zip"/>
- </ant>
- </target>
-
- <target name="all">
- <antcall target="<c:get select="$build/@parentProjectName"/>" />
- <antcall target="genHtml" />
- </target>
-
- <target name="genHtml" description="Generates HTML results with provided JUNIT.XSL provided">
- <style style="JUNIT.XSL" basedir="${results}/xml" destdir="${results}/html" />
- </target>
-</project>
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/cvsignore.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/cvsignore.jet
deleted file mode 100644
index 2c0d863..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/cvsignore.jet
+++ /dev/null
@@ -1,4 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-.project
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/maps/_SHORTNAME_.map.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/maps/_SHORTNAME_.map.jet
deleted file mode 100644
index cdd7232..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/maps/_SHORTNAME_.map.jet
+++ /dev/null
@@ -1,12 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-!*************** PROJECT CONTRIBUTION ********************************************************
-
-!*** Special entries from eclipse
-
-plugin@org.eclipse.test=v20070226,:pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse,
-fragment@org.eclipse.ant.optional.junit=v20050226,:pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse,
-
-!*** Project's plugins, features and fragments
-
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/maps/build.cfg.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/maps/build.cfg.jet
deleted file mode 100644
index 71b6fb9..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/maps/build.cfg.jet
+++ /dev/null
@@ -1,4 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-# this file's contents are generated \ No newline at end of file
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/project.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/project.jet
deleted file mode 100644
index 88ef3d5..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/project.jet
+++ /dev/null
@@ -1,14 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name><c:get select="$build/@relengProjectName"/></name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/promoteToEclipse._SHORTNAME_.properties.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/promoteToEclipse._SHORTNAME_.properties.jet
deleted file mode 100644
index 31fdfe8..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/promoteToEclipse._SHORTNAME_.properties.jet
+++ /dev/null
@@ -1,171 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-## promoteToEclipse.*.properties
-## specific version of promoteToEclipse.sh properties
-##
-## NOTE:
-## You must rename this file to promoteToEclipse.$subprojectName.properties for it to be
-## found when using the -sub flag; otherwise you'll have to use the -f flag to specify
-## a CUSTOM-named properties file
-
-# product being built (folder name prefix)
-projectName=<c:get select="$build/@parentProjectName"/>
-subprojectName=<c:get select="$build/@shortName"/>
-projectNameVanity=`echo $buildName $subprojectName | tr "a-z" "A-Z"`; # or something else manually assigned
-
-# used to determine the actual name of the SDK zip (when builds are aliased)
-SDKfilenamepattern="$buildName-$subprojectName-SDK-<c:get select="$build/@incubationTag"/>*.zip"
-
-# the following two arrays must be the same size (or else the second one will default to blank)
-javadocModuleArray=( "$buildName-$subprojectName" ); # array, project-subproject, for the name of the zip scp'd to remote, eg. foo-bar-doc.zip
-# if "", create in $buildName/javadoc; if "/path", create in $buildName/$subprojectName/javadoc
-javadocFolderArray=( "/$subprojectName" ); # array of path fragments
-# list of targets to use when executing fixJavadocs.sh
-javadocTargetArray=( "-sub $subprojectName" );
-
-# publisher of newsgroup announcements
-newsgroupPublisherEmail="<c:get select="$build/@newsgroupPublisherName"/> <<c:get select="$build/@newsgroupPublisherEmail"/>>"
-newsgroup=eclipse.modeling.$buildName
-# to thread posts under an existing post (or posts) enter the slash-escaped Message-ID for which this is a reply,
-# eg: <du7hic\$qos\$1@utils.eclipse.org>
-newsgroupThreadReferences=""
-
-# default eclipse.org, build server, mapfile server usernames
-user=$USER
-# if no value set here or by -userIES flag, default to -user flag or value in properties file
-userIES=
-
-# group permissions on eclipse.org so that anyone can change files
-eclipseUserGroup="$buildName"admin
-eclipsePermsDir=2775
-eclipsePermsFile=664
-
-# group permissions on build box so that anyone can change files
-buildUserGroup="www"
-buildPermsDir=2775
-buildPermsFile=664
-
-# IES map file branch (required)
-branchIES=
-
-# IES map file template: use "buildIDactual" and "webPath" as placeholders
-IESmapfileArray=(
-"$buildName-$subprojectName-runtime-<c:get select="$build/@incubationTag"/>buildIDactual.zip=webPath | | | runtime | $subprojectName"
-"$buildName-$subprojectName-SDK-<c:get select="$build/@incubationTag"/>buildIDactual.zip=webPath | | | sdk | $subprojectName" ); # array of lines
-
-### DEFAULT BEHAVIOUR OPTIONS ###
-
-# default setting for whether to do or skip the drop upload section: 0 = do, 1 = skip
-dodrop=1
-
-# default setting for whether to do or skip the javadoc section: 0 = do, 1 = skip
-dodocs=1
-
-# default setting for whether to do or skip the Update Manager jars section: 0 = do, 1 = skip
-UMjars=1
-
-#default buildID
-buildID=
-
-#default branch
-branch=1.0.0
-cvsbranch=HEAD
-
-#do RSS feed file update?
-RSS=1
-
-# do search cvs update?
-searchCVS=1
-# how long to block before giving up (in seconds, eg., 1200 for 20 mins wait)
-searchCVSTimeout=1200
-
-#do IES mapping file update?
-IES=0
-
-#close bugzillas?
-bugz=0
-# default setting for whether to do or skip checking for the existence of the new build in the release notes / database before attempting to close bugs: 1 = do, 0 = skip
-checkReleaseExists=1
-
-# debug output
-debug=0 ; # values can be 0,1,2
-
-#clean up /tmp folder?
-noclean=0;
-
-# compare drops folder after scp upload?
-noCompareDropsFolders=0 ; # default 0, do compare; set 1 to bypass or pass in querystring
-
-# compare UM folder after scp upload?
-noCompareUMFolders= ; # default 0, do compare; set 1 to bypass or pass in querystring
-
-# announce new build in newsgroup? (default 0)
-announce=0;
-
-### SERVER & PATH CONFIG OPTIONS ###
-
-#server on which builds occur (need to ssh to this box as $user@$buildServerFullName)
-buildServerFullName=`hostname`
-
-#server on which eclipse's production CVS is located (need to ssh to this box as $user@$eclipseServerFullName)
-eclipseServerFullName=prodbox
-
-#server on which eclipse's production files are located (downloads, javadoc, etc.): ssh as $user@$downloadServerFullName)
-downloadServerFullName=prodbox
-
-#paths on \$downloadServerFullName where files are published
-projectWWWDir=/home/data2/httpd/download.eclipse.org/modeling/$buildName
-projectDropsDir=$buildWWWDir/$subprojectName/downloads/drops
-
-#paths to build base, scripts, and drops on build server
-baseBuildDir=/home/www-data/build/modeling/$buildName
-buildScriptsDir=/home/www-data/build/modeling/scripts
-buildDropsDir=$baseBuildDir/$subprojectName/downloads/drops
-
-# path to website on build server
-localWebDir=/var/www/html/modeling/$buildName
-
-# urls
-releaseNotesURL=http://www.eclipse.org/modeling/$buildName/news/relnotes.php?project=$subprojectName
-downloadsURL=http://www.eclipse.org/modeling/$buildName/downloads/?project=$subprojectName
-
-### ANT OPTIONS ###
-ANT=/opt/apache-ant-1.6/bin/ant
-
-### DEFAULT BEHAVIOUR AND JVM OPTIONS :: buildUpdate.sh ###
-
-# specify the correct java home & vm used to run the build
-javaHome=/opt/sun-java2-1.4
-vm=$javaHome/bin/java
-
-# zips to unpack for UM jar generation
-filePrefixesToUnzipArray=( "$buildName-$subprojectName-SDK-<c:get select="$build/@incubationTag"/>" "$buildName-$subprojectName-examples-<c:get select="$build/@incubationTag"/>" );
-
-# ant script and target to be executed
-antScript=org.eclipse.releng.generators/buildProductUpdateJars.xml
-target=run
-
-# default operations
-builder=1 # get builder packages from cvs
-promote=0 # don't promote by default
-skipjars=0 # when promoting, upload all jars (don't skip)
-cleanup=1 # delete temp stuff when done
-
-# compare UM folder after scp upload?
-noCompareUMFolders=0 ; # default 0, do compare; set 1 to bypass or pass in querystring
-
-# do 4-part jars?
-no4thPart=0;
-
-# where to get releng.generators.ProductUpdateBuilder, jars & ant scripts
-relengGeneratorsCVSPath=releng-common/tools/updates/org.eclipse.releng.generators
-
-# use a default value for basebuilderBranch? 0 = no, 1 = yes
-useDefaultBasebuilderBranch=0
-
-# See http://wiki.eclipse.org/Modeling_Project_Releng/Releasing#Contributing_To_Ganymede_Update_Site
-# pattern to use when searching for features to include in coordsite; defaults to ".*eclipse/features/org.eclipse..*(${subprojectName}|${subprojectName}.sdk)_.*\/$"
-coordsiteFeaturePattern=""
-# pattern to use when setting feature to include in coordsite's main feature ('Models and Model Development'); all other matching features will go in 'Enabling Features'
-coordsiteMainFeaturePattern=""
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/repoInfo.properties.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/repoInfo.properties.jet
deleted file mode 100644
index f49349b..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/repoInfo.properties.jet
+++ /dev/null
@@ -1,10 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-cvsHost=buildbox
-cvsReadProtocol=ext
-cvsWriteProtocol=ext
-cvsReadUser=build
-cvsWriteUser=build
-cvsWriteRelengUser=build
-cvsRep=/cvsroot/modeling
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/templateFiles/_SHORTNAME_.map.template.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/templateFiles/_SHORTNAME_.map.template.jet
deleted file mode 100644
index c2c022e..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/templateFiles/_SHORTNAME_.map.template.jet
+++ /dev/null
@@ -1,13 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-!*************** PROJECT CONTRIBUTION ********************************************************
-
-!*** Special entries from eclipse
-
-plugin@org.eclipse.test=v20070226,build@buildbox:/cvsroot/eclipse,
-fragment@org.eclipse.ant.optional.junit=v20050226,build@buildbox:/cvsroot/eclipse,
-
-!*** Project's plugins, features and fragments
-
-@entries@
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/templateFiles/testManifest.xml.template.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/templateFiles/testManifest.xml.template.jet
deleted file mode 100644
index 5eb0a13..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/templateFiles/testManifest.xml.template.jet
+++ /dev/null
@@ -1,53 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-<?xml version="1.0"?>
-<topLevel>
- <zipTypes>
- <zipType name="projruntime">
- <platform
- id="projRUN"
- name="All"
- fileName='&lt;a href="<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-runtime-<c:get select="$build/@incubationTag"/>@build@.zip"&gt;<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-runtime-<c:get select="$build/@incubationTag"/>@build@.zip&lt;/a&gt; &lt;font size="2"&gt;(size:@<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-runtime-<c:get select="$build/@incubationTag"/>@build@.zip.size@ - checksum:&lt;a href="<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-runtime-<c:get select="$build/@incubationTag"/>@build@.zip.md5"&gt;md5&lt;/a&gt;)&lt;/font&gt;'>
- </platform>
- </zipType>
- <zipType name="projsdk">
- <platform
- id="projSRC"
- name="All"
- fileName='&lt;a href="<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-SDK-<c:get select="$build/@incubationTag"/>@build@.zip"&gt;<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-SDK-<c:get select="$build/@incubationTag"/>@build@.zip&lt;/a&gt; &lt;font size="2"&gt;(size:@<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-SDK-<c:get select="$build/@incubationTag"/>@build@.zip.size@ - checksum:&lt;a href="<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-SDK-<c:get select="$build/@incubationTag"/>@build@.zip.md5"&gt;md5&lt;/a&gt;)&lt;/font&gt;'>
- </platform>
- </zipType>
- <zipType name="projtests">
- <platform
- id="T"
- name="All"
- fileName='&lt;a href="<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-automated-tests-<c:get select="$build/@incubationTag"/>@build@.zip"&gt;<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-automated-tests-<c:get select="$build/@incubationTag"/>@build@.zip&lt;/a&gt; &lt;font size="2"&gt;(size:@<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-automated-tests-<c:get select="$build/@incubationTag"/>@build@.zip.size@ - checksum:&lt;a href="<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-automated-tests-<c:get select="$build/@incubationTag"/>@build@.zip.md5"&gt;md5&lt;/a&gt;)&lt;/font&gt;'>
- </platform>
- </zipType>
- <zipType name="projexamples">
- <platform
- id="EX"
- name="All"
- fileName='&lt;a href="<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-examples-<c:get select="$build/@incubationTag"/>@build@.zip"&gt;<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-examples-<c:get select="$build/@incubationTag"/>@build@.zip&lt;/a&gt; &lt;font size="2"&gt;(size:@<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-examples-<c:get select="$build/@incubationTag"/>@build@.zip.size@ - checksum:&lt;a href="<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-examples-<c:get select="$build/@incubationTag"/>@build@.zip.md5"&gt;md5&lt;/a&gt;)&lt;/font&gt;'>
- </platform>
- </zipType>
- </zipTypes>
-
- <logFiles>
- <logFile name="org.eclipse.<c:get select="$build/@shortName"/>.tests_linux.gtk.xml">
- <effectedFile id="SDK"></effectedFile>
- <effectedFile id="projRUN"></effectedFile>
- </logFile>
-
- <!-- Comment out for now until we get tests on various platforms.
- <logFile name="org.eclipse.<c:get select="$build/@shortName"/>.tests_win32.xml">
- <effectedFile id="SDK"></effectedFile>
- <effectedFile id="projRUN"></effectedFile>
- </logFile>
- -->
-
-@entries@
-
- </logFiles>
-</topLevel>
diff --git a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/testManifest.xml.jet b/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/testManifest.xml.jet
deleted file mode 100644
index dfefec2..0000000
--- a/examples/org.eclipse.jet.ec2008.pushbuttonbuild/templates/project/testManifest.xml.jet
+++ /dev/null
@@ -1,62 +0,0 @@
-<%!
-/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
-%>
-<?xml version="1.0"?>
-<topLevel>
- <zipTypes>
- <zipType name="projruntime">
- <platform
- id="projRUN"
- name="All"
- fileName='&lt;a href="<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-runtime-<c:get select="$build/@incubationTag"/>@build@.zip"&gt;<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-runtime-<c:get select="$build/@incubationTag"/>@build@.zip&lt;/a&gt; &lt;font size="2"&gt;(size:@<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-runtime-<c:get select="$build/@incubationTag"/>@build@.zip.size@ - checksum:&lt;a href="<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-runtime-<c:get select="$build/@incubationTag"/>@build@.zip.md5"&gt;md5&lt;/a&gt;)&lt;/font&gt;'>
- </platform>
- </zipType>
- <zipType name="projsdk">
- <platform
- id="projSRC"
- name="All"
- fileName='&lt;a href="<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-SDK-<c:get select="$build/@incubationTag"/>@build@.zip"&gt;<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-SDK-<c:get select="$build/@incubationTag"/>@build@.zip&lt;/a&gt; &lt;font size="2"&gt;(size:@<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-SDK-<c:get select="$build/@incubationTag"/>@build@.zip.size@ - checksum:&lt;a href="<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-SDK-<c:get select="$build/@incubationTag"/>@build@.zip.md5"&gt;md5&lt;/a&gt;)&lt;/font&gt;'>
- </platform>
- </zipType>
- <zipType name="projtests">
- <platform
- id="T"
- name="All"
- fileName='&lt;a href="<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-automated-tests-<c:get select="$build/@incubationTag"/>@build@.zip"&gt;<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-automated-tests-<c:get select="$build/@incubationTag"/>@build@.zip&lt;/a&gt; &lt;font size="2"&gt;(size:@<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-automated-tests-<c:get select="$build/@incubationTag"/>@build@.zip.size@ - checksum:&lt;a href="<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-automated-tests-<c:get select="$build/@incubationTag"/>@build@.zip.md5"&gt;md5&lt;/a&gt;)&lt;/font&gt;'>
- </platform>
- </zipType>
- <zipType name="projexamples">
- <platform
- id="EX"
- name="All"
- fileName='&lt;a href="<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-examples-<c:get select="$build/@incubationTag"/>@build@.zip"&gt;<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-examples-<c:get select="$build/@incubationTag"/>@build@.zip&lt;/a&gt; &lt;font size="2"&gt;(size:@<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-examples-<c:get select="$build/@incubationTag"/>@build@.zip.size@ - checksum:&lt;a href="<c:get select="$build/@parentProjectName"/>-<c:get select="$build/@shortName"/>-examples-<c:get select="$build/@incubationTag"/>@build@.zip.md5"&gt;md5&lt;/a&gt;)&lt;/font&gt;'>
- </platform>
- </zipType>
- </zipTypes>
-
- <logFiles>
- <logFile name="org.eclipse.<c:get select="$build/@shortName"/>.tests_linux.gtk.xml">
- <effectedFile id="SDK"></effectedFile>
- <effectedFile id="projRUN"></effectedFile>
- </logFile>
-
- <!-- Comment out for now until we get tests on various platforms.
- <logFile name="org.eclipse.<c:get select="$build/@shortName"/>.tests_win32.xml">
- <effectedFile id="SDK"></effectedFile>
- <effectedFile id="projRUN"></effectedFile>
- </logFile>
- -->
-
- <logFile name="plugins/org.eclipse.<c:get select="$build/@shortName"/>.examples_*/*.bin.log">
- <effectedFile id="EX"></effectedFile>
- </logFile>
- <logFile name="plugins/org.eclipse.<c:get select="$build/@shortName"/>_*/*.bin.log">
- <effectedFile id="SDK"></effectedFile>
- <effectedFile id="projRUN"></effectedFile>
- </logFile>
- <logFile name="plugins/org.eclipse.<c:get select="$build/@shortName"/>.tests_*/*.bin.log">
- <effectedFile id="T"></effectedFile>
- </logFile>
-
- </logFiles>
-</topLevel>

Back to the top