move to packaging construct
diff --git a/releng.wtpbuilder/components/jst-sdk/build.properties b/releng.wtpbuilder/components/jst-sdk/build.properties
index b229f75..b731f9c 100644
--- a/releng.wtpbuilder/components/jst-sdk/build.properties
+++ b/releng.wtpbuilder/components/jst-sdk/build.properties
@@ -21,7 +21,7 @@
############# CVS CONTROL ################
# The CVS tag to use when fetching the map files from the repository
mapVersionTag=HEAD
-
+runPackager=true
############## BUILD / GENERATION CONTROL ################
# The directory into which the build elements will be fetched and where
# the build will take place.
diff --git a/releng.wtpbuilder/components/jst-sdk/customTargets.xml b/releng.wtpbuilder/components/jst-sdk/customTargets.xml
index b8c6455..ff60dd3 100644
--- a/releng.wtpbuilder/components/jst-sdk/customTargets.xml
+++ b/releng.wtpbuilder/components/jst-sdk/customTargets.xml
@@ -1,258 +1,270 @@
<project name="Build specific targets and properties"
default="noDefault">
- <property name="postingDirectory"
+ <property name="postingDirectory"
value="${buildDirectory}" />
- <!-- ===================================================================== -->
- <!-- Run a given ${target} on all elements being built -->
- <!-- Add on <ant> task for each top level element being built. -->
- <!-- ===================================================================== -->
- <target name="allElements">
- <echo message="Target:${target} " />
- <echo message="basedir: ${basedir}" />
- <echo message="component: ${component}" />
- <echo message="buildDirectory: ${buildDirectory}" />
- <echo message="baseLocation: ${baseLocation}" />
- <ant antfile="${genericTargets}" target="${target}">
- <property name="type" value="feature" />
- <property name="id"
+ <!-- ===================================================================== -->
+ <!-- Run a given ${target} on all elements being built -->
+ <!-- Add on <ant> task for each top level element being built. -->
+ <!-- ===================================================================== -->
+ <target name="allElements">
+ <echo message="Target:${target} " />
+ <echo message="basedir: ${basedir}" />
+ <echo message="component: ${component}" />
+ <echo message="buildDirectory: ${buildDirectory}" />
+ <echo message="baseLocation: ${baseLocation}" />
+ <ant antfile="${genericTargets}" target="${target}">
+ <property name="type" value="feature" />
+ <property name="id"
value="org.eclipse.jst.sdk" />
- </ant>
- </target>
+ </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 -->
- <!-- ===================================================================== -->
+ <!-- ===================================================================== -->
+ <!-- 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.jst.sdk">
- <property name="archiveName"
+ <target name="assemble.org.eclipse.jst.sdk">
+ <property name="archiveName"
value="wtp-jst-sdk-${buildLabel}.zip" />
- <ant antfile="${assembleScriptName}"
+ <ant antfile="${assembleScriptName}"
dir="${buildDirectory}" />
-
- <ant antfile="${wtp.builder.home}/scripts/build/buildutilities.xml" target="unpackUpdateJarsAndCreateZippedPackages">
- <property name="postingDirectory" value="${postingDirectory}"/>
- <property name="buildDirectory" value="${buildDirectory}"/>
- <property name="buildLabel" value="${buildLabel}"/>
- <property name="archiveName" value="${archiveName}"/>
- </ant>
-
- <ant antfile="${wtp.builder.home}/scripts/build/buildutilities.xml" target="createChecksums">
- <property name="postingDirectory" value="${postingDirectory}"/>
- <property name="buildLabel" value="${buildLabel}"/>
- <property name="archiveName" value="${archiveName}"/>
- </ant>
-
-
-
- </target>
+ </target>
- <!-- ===================================================================== -->
- <!-- Check out map files from correct repository -->
- <!-- Replace values for cvsRoot, package and mapVersionTag as desired. -->
- <!-- ===================================================================== -->
- <target name="checkLocal">
- <available property="mapsLocal"
+ <target name="prePackage" />
+
+ <target name="postPackage">
+
+ <property name="archiveName"
+ value="wtp-jst-sdk-${buildLabel}.zip" />
+
+ <ant antfile="${wtp.builder.home}/scripts/build/buildutilities.xml" target="unpackUpdateJarsAndCreateZippedPackages">
+ <property name="postingDirectory" value="${postingDirectory}"/>
+ <property name="buildDirectory" value="${buildDirectory}"/>
+ <property name="buildLabel" value="${buildLabel}"/>
+ <property name="archiveName" value="${archiveName}"/>
+ </ant>
+
+
+ <!-- not sure this merge should be necessary here ... it is current partially because currently
+ third party plugins do not have "src" build properties.
+ but, eventually, we also want to make sdk features "require" (not include)
+ runtime features, so then we'll always have to "manually" merge when creating the
+ zips.
+ -->
+ <zip destfile="${postingDirectory}/${buildLabel}/${archiveName}" update="true" >
+ <zipfileset src="${postingDirectory}/${buildLabel}/wtp-jst-${buildLabel}.zip"/>
+ </zip>
+
+ <ant antfile="${wtp.builder.home}/scripts/build/buildutilities.xml" target="createChecksums">
+ <property name="postingDirectory" value="${postingDirectory}"/>
+ <property name="buildLabel" value="${buildLabel}"/>
+ <property name="archiveName" value="${archiveName}"/>
+ </ant>
+
+ <!-- post, post packaging, for WTP -->
+
+ <property name="wtparchiveName"
+ value="wtp-sdk-${buildLabel}.zip" />
+
+ <zip destfile="${postingDirectory}/${buildLabel}/${wtparchiveName}" >
+ <zipfileset src="${postingDirectory}/${buildLabel}/wtp-wst-sdk-${buildLabel}.zip"/>
+ <zipfileset src="${postingDirectory}/${buildLabel}/wtp-jst-sdk-${buildLabel}.zip"/>
+ </zip>
+
+
+ <ant antfile="${wtp.builder.home}/scripts/build/buildutilities.xml" target="createChecksums">
+ <property name="postingDirectory" value="${postingDirectory}" />
+ <property name="buildLabel" value="${buildLabel}"/>
+ <property name="archiveName" value="${wtparchiveName}"/>
+ </ant>
+
+
+
+
+ </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/releng" />
- </target>
- <target name="getMapFiles"
+ </target>
+ <target name="getMapFiles"
depends="checkLocal"
unless="mapsLocal">
- <!-- *** change the repo info -->
- <property name="mapCvsRoot"
+ <!-- *** change the repo info -->
+ <property name="mapCvsRoot"
value=":${cvsProtocol}:${cvsUser}@${cvsServer}:${cvsRoot}" />
- <property name="mapVersionTag" value="HEAD" />
- <echo message="${mapCvsRoot} ${mapVersionTag} ">
- </echo>
- <cvs cvsRoot="${mapCvsRoot}"
+ <property name="mapVersionTag" value="HEAD" />
+ <echo message="${mapCvsRoot} ${mapVersionTag} ">
+ </echo>
+ <cvs cvsRoot="${mapCvsRoot}"
package="releng"
dest="${buildDirectory}/maps"
tag="${mapVersionTag}" />
- <!--tag the map files project-->
- <antcall target="tagMapFiles">
- <param name="mapCvsRoot"
+ <!--tag the map files project-->
+ <antcall target="tagMapFiles">
+ <param name="mapCvsRoot"
value="${mapCvsRoot}" />
- </antcall>
- </target>
+ </antcall>
+ </target>
- <target name="tagMapFiles" if="tagMaps">
- <cvs cvsRoot="${mapCvsRoot}"
+ <target name="tagMapFiles" if="tagMaps">
+ <cvs cvsRoot="${mapCvsRoot}"
dest="${buildDirectory}/maps"
command="tag v${buildType}${timestamp}" />
- </target>
+ </target>
- <!-- ===================================================================== -->
- <!-- Steps to do before setup -->
- <!-- ===================================================================== -->
- <target name="preSetup">
- </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do before setup -->
+ <!-- ===================================================================== -->
+ <target name="preSetup">
+ </target>
- <!-- ===================================================================== -->
- <!-- Steps to do after setup but before starting the build proper -->
- <!-- ===================================================================== -->
- <target name="postSetup">
- <dirname file="${ant.file}"
+ <!-- ===================================================================== -->
+ <!-- Steps to do after setup but before starting the build proper -->
+ <!-- ===================================================================== -->
+ <target name="postSetup">
+ <dirname file="${ant.file}"
property="component.dir" />
- <ant antfile="${component.dir}/dependency.xml"
+ <ant antfile="${component.dir}/dependency.xml"
target="get">
- <property name="dependency.properties"
+ <property name="dependency.properties"
value="${buildDirectory}/maps/releng/maps/dependencies.properties" />
- <property name="base.install.dir"
+ <property name="base.install.dir"
value="${buildRoot}" />
- </ant>
- </target>
+ </ant>
+ </target>
- <!-- ===================================================================== -->
- <!-- Steps to do before fetching the build elements -->
- <!-- ===================================================================== -->
- <target name="preFetch">
- </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do before fetching the build elements -->
+ <!-- ===================================================================== -->
+ <target name="preFetch">
+ </target>
- <!-- ===================================================================== -->
- <!-- Steps to do after fetching the build elements -->
- <!-- ===================================================================== -->
- <target name="postFetch">
- </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after fetching the build elements -->
+ <!-- ===================================================================== -->
+ <target name="postFetch">
+ </target>
- <!-- ===================================================================== -->
- <!-- Steps to do before generating the build scripts. -->
- <!-- ===================================================================== -->
- <target name="preGenerate">
- </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do before generating the build scripts. -->
+ <!-- ===================================================================== -->
+ <target name="preGenerate">
+ </target>
- <!-- ===================================================================== -->
- <!-- Steps to do after generating the build scripts. -->
- <!-- ===================================================================== -->
- <target name="postGenerate">
- </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after generating the build scripts. -->
+ <!-- ===================================================================== -->
+ <target name="postGenerate">
+ </target>
- <!-- ===================================================================== -->
- <!-- Steps to do before running the build.xmls for the elements being built. -->
- <!-- ===================================================================== -->
- <target name="preProcess">
- <replace dir="${buildDirectory}/plugins"
+ <!-- ===================================================================== -->
+ <!-- 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>
+ <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 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 before running assemble. -->
- <!-- ===================================================================== -->
- <target name="preAssemble">
- <!--
+ <!-- ===================================================================== -->
+ <!-- Steps to do before running assemble. -->
+ <!-- ===================================================================== -->
+ <target name="preAssemble">
+ <!--
<ant antfile="${relengDir}/fetchVendorContent.xml" target="cleanup">
<property name="basedir" value="${relengDir}"/>
<property name="buildDirectory" value="${buildDirectory}/plugins"/>
<property name="sdk" value="true"/>
</ant>
-->
- </target>
+ </target>
- <!-- ===================================================================== -->
- <!-- Steps to do after running assemble. -->
- <!-- ===================================================================== -->
- <target name="postAssemble">
- <!--
+ <!-- ===================================================================== -->
+ <!-- Steps to do after running assemble. -->
+ <!-- ===================================================================== -->
+ <target name="postAssemble">
+ <!--
<ant antfile="${relengDir}/fetchVendorContent.xml">
<property name="basedir" value="${relengDir}"/>
<property name="buildDirectory" value="${buildDirectory}/plugins"/>
<property name="sdk" value="true"/>
</ant>
-->
- </target>
+ </target>
- <!-- ===================================================================== -->
- <!-- Steps to do after the build is done. -->
- <!-- ===================================================================== -->
- <target name="postBuild">
- <property name="assemble-dir"
- value="${buildDirectory}/temp-assemble-dir" />
-
- <!-- delete and recreate to be sure it does not have files left from a previous step -->
- <delete dir="${assemble-dir}" failonerror="false"/>
- <mkdir dir="${assemble-dir}"/>
-
- <unzip dest="${assemble-dir}"
- src="${postingDirectory}/${buildLabel}/wtp-wst-sdk-${buildLabel}.zip"
- overwrite="true" />
- <unzip dest="${assemble-dir}"
- src="${postingDirectory}/${buildLabel}/wtp-jst-sdk-${buildLabel}.zip"
- overwrite="true" />
-
- <property name="archiveName"
- value="wtp-sdk-${buildLabel}.zip" />
- <zip destfile="${postingDirectory}/${buildLabel}/${archiveName}"
- basedir="${assemble-dir}" />
-
- <ant antfile="${wtp.builder.home}/scripts/build/buildutilities.xml" target="createChecksums">
- <property name="postingDirectory" value="${postingDirectory}" />
- <property name="buildLabel" value="${buildLabel}"/>
- <property name="archiveName" value="${archiveName}"/>
- </ant>
-
- </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after the build is done. -->
+ <!-- ===================================================================== -->
+ <target name="postBuild">
+ </target>
- <!-- ===================================================================== -->
- <!-- Steps to do to test the build results -->
- <!-- ===================================================================== -->
- <target name="test">
- </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do to test the build results -->
+ <!-- ===================================================================== -->
+ <target name="test">
+ </target>
- <!-- ===================================================================== -->
- <!-- Steps to do to publish the build results -->
- <!-- ===================================================================== -->
- <target name="publish">
- </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do to publish the build results -->
+ <!-- ===================================================================== -->
+ <target name="publish">
+ </target>
- <!-- ===================================================================== -->
- <!-- Helper targets -->
- <!-- ===================================================================== -->
- <target name="gatherLogs" if="logsAvailable">
- <mkdir dir="${buildDirectory}/${buildLabel}/compilelogs" />
- <antcall target="allElements">
- <param name="target" value="gatherLogs" />
- </antcall>
+ <!-- ===================================================================== -->
+ <!-- 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"
+ <unzip dest="${buildDirectory}/${buildLabel}/compilelogs"
overwrite="true">
- <fileset dir="${buildDirectory}/features/org.eclipse.jst.sdk">
- <include name="*.log.zip" />
- </fileset>
- </unzip>
- </target>
+ <fileset dir="${buildDirectory}/features/org.eclipse.jst.sdk">
+ <include name="*.log.zip" />
+ </fileset>
+ </unzip>
+ </target>
- <target name="clean" unless="noclean">
- <antcall target="allElements">
- <param name="target" value="cleanElement" />
- </antcall>
- </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>
+ <!-- ===================================================================== -->
+ <!-- Default target -->
+ <!-- ===================================================================== -->
+ <target name="noDefault">
+ <echo message="You must specify a target when invoking this file" />
+ </target>
</project>
diff --git a/releng.wtpbuilder/components/jst.tests/build.properties b/releng.wtpbuilder/components/jst.tests/build.properties
index b229f75..63b9c05 100644
--- a/releng.wtpbuilder/components/jst.tests/build.properties
+++ b/releng.wtpbuilder/components/jst.tests/build.properties
@@ -21,7 +21,7 @@
############# CVS CONTROL ################
# The CVS tag to use when fetching the map files from the repository
mapVersionTag=HEAD
-
+#runPackager=false
############## BUILD / GENERATION CONTROL ################
# The directory into which the build elements will be fetched and where
# the build will take place.
diff --git a/releng.wtpbuilder/components/jst.tests/customTargets.xml b/releng.wtpbuilder/components/jst.tests/customTargets.xml
index c62e5f1..aa45c13 100644
--- a/releng.wtpbuilder/components/jst.tests/customTargets.xml
+++ b/releng.wtpbuilder/components/jst.tests/customTargets.xml
@@ -33,6 +33,16 @@
<ant antfile="${assembleScriptName}"
dir="${buildDirectory}" />
+ </target>
+
+ <target name="prePackage" />
+
+
+ <target name="postPackage">
+
+ <property name="archiveName"
+ value="wtp-jst-Automated-Tests-${buildLabel}.zip" />
+
<ant antfile="${wtp.builder.home}/scripts/build/buildutilities.xml" target="unpackUpdateJarsAndCreateZippedPackages">
<property name="postingDirectory" value="${postingDirectory}" />
<property name="buildDirectory" value="${buildDirectory}" />
diff --git a/releng.wtpbuilder/components/jst/build.properties b/releng.wtpbuilder/components/jst/build.properties
index b229f75..b731f9c 100644
--- a/releng.wtpbuilder/components/jst/build.properties
+++ b/releng.wtpbuilder/components/jst/build.properties
@@ -21,7 +21,7 @@
############# CVS CONTROL ################
# The CVS tag to use when fetching the map files from the repository
mapVersionTag=HEAD
-
+runPackager=true
############## BUILD / GENERATION CONTROL ################
# The directory into which the build elements will be fetched and where
# the build will take place.
diff --git a/releng.wtpbuilder/components/jst/customTargets.xml b/releng.wtpbuilder/components/jst/customTargets.xml
index b7d7aaf..590b45f 100644
--- a/releng.wtpbuilder/components/jst/customTargets.xml
+++ b/releng.wtpbuilder/components/jst/customTargets.xml
@@ -1,196 +1,56 @@
<project name="Build specific targets and properties"
default="noDefault">
- <property name="postingDirectory"
+ <property name="postingDirectory"
value="${buildDirectory}" />
- <!-- ===================================================================== -->
- <!-- Run a given ${target} on all elements being built -->
- <!-- Add on <ant> task for each top level element being built. -->
- <!-- ===================================================================== -->
- <target name="allElements">
- <echo message="Target:${target} " />
- <echo message="basedir: ${basedir}" />
- <echo message="component: ${component}" />
- <echo message="buildDirectory: ${buildDirectory}" />
- <echo message="baseLocation: ${baseLocation}" />
- <ant antfile="${genericTargets}" target="${target}">
- <property name="type" value="feature" />
- <property name="id" value="org.eclipse.jst" />
- </ant>
- </target>
+ <!-- ===================================================================== -->
+ <!-- Run a given ${target} on all elements being built -->
+ <!-- Add on <ant> task for each top level element being built. -->
+ <!-- ===================================================================== -->
+ <target name="allElements">
+ <echo message="Target:${target} " />
+ <echo message="basedir: ${basedir}" />
+ <echo message="component: ${component}" />
+ <echo message="buildDirectory: ${buildDirectory}" />
+ <echo message="baseLocation: ${baseLocation}" />
+ <ant antfile="${genericTargets}" target="${target}">
+ <property name="type" value="feature" />
+ <property name="id" value="org.eclipse.jst" />
+ </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 -->
- <!-- ===================================================================== -->
+ <!-- ===================================================================== -->
+ <!-- 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.jst">
- <property name="archiveName"
+ <target name="assemble.org.eclipse.jst">
+ <property name="archiveName"
value="wtp-jst-${buildLabel}.zip" />
- <ant antfile="${assembleScriptName}"
+ <ant antfile="${assembleScriptName}"
dir="${buildDirectory}" />
- <ant antfile="${wtp.builder.home}/scripts/build/buildutilities.xml" target="unpackUpdateJarsAndCreateZippedPackages">
- <property name="postingDirectory" value="${postingDirectory}"/>
- <property name="buildDirectory" value="${buildDirectory}"/>
- <property name="buildLabel" value="${buildLabel}"/>
- <property name="archiveName" value="${archiveName}"/>
- </ant>
-
- <ant antfile="${wtp.builder.home}/scripts/build/buildutilities.xml" target="createChecksums">
- <property name="postingDirectory" value="${postingDirectory}" />
+ </target>
+
+ <target name="prePackage" />
+
+ <target name="postPackage">
+
+ <property name="archiveName"
+ value="wtp-jst-${buildLabel}.zip" />
+
+ <ant antfile="${wtp.builder.home}/scripts/build/buildutilities.xml" target="unpackUpdateJarsAndCreateZippedPackages">
+ <property name="postingDirectory" value="${postingDirectory}"/>
+ <property name="buildDirectory" value="${buildDirectory}"/>
<property name="buildLabel" value="${buildLabel}"/>
<property name="archiveName" value="${archiveName}"/>
</ant>
-
- </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/releng" />
- </target>
- <target name="getMapFiles"
- depends="checkLocal"
- unless="mapsLocal">
-
- <!-- *** change the repo info -->
- <property name="mapCvsRoot"
- value=":${cvsProtocol}:${cvsUser}@${cvsServer}:${cvsRoot}" />
- <property name="mapVersionTag" value="HEAD" />
- <echo message="${mapCvsRoot} ${mapVersionTag} ">
- </echo>
- <cvs cvsRoot="${mapCvsRoot}"
- package="releng"
- dest="${buildDirectory}/maps"
- tag="${mapVersionTag}" />
- <!--tag the map files project-->
- <antcall target="tagMapFiles">
- <param name="mapCvsRoot"
- value="${mapCvsRoot}" />
- </antcall>
- </target>
-
- <target name="tagMapFiles" if="tagMaps">
- <cvs cvsRoot="${mapCvsRoot}"
- dest="${buildDirectory}/maps"
- command="tag v${buildType}${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">
- <dirname file="${ant.file}"
- property="component.dir" />
- <ant antfile="${component.dir}/dependency.xml"
- target="get">
- <property name="dependency.properties"
- value="${buildDirectory}/maps/releng/maps/dependencies.properties" />
- <property name="base.install.dir"
- value="${buildRoot}" />
- </ant>
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before fetching the build elements -->
- <!-- ===================================================================== -->
- <target name="preFetch">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after fetching the build elements -->
- <!-- ===================================================================== -->
- <target name="postFetch">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do before generating the build scripts. -->
- <!-- ===================================================================== -->
- <target name="preGenerate">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after generating the build scripts. -->
- <!-- ===================================================================== -->
- <target name="postGenerate">
- </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 before running assemble. -->
- <!-- ===================================================================== -->
- <target name="preAssemble">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after running assemble. -->
- <!-- ===================================================================== -->
- <target name="postAssemble">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do after the build is done. -->
- <!-- ===================================================================== -->
- <target name="postBuild">
- <antcall target="postBuild-${buildType}" />
-
- <property name="assemble-dir"
- value="${buildDirectory}/temp-assemble-dir" />
-
- <!-- delete and recreate to be sure it does not have files left from a previous step -->
- <delete dir="${assemble-dir}" failonerror="false"/>
- <mkdir dir="${assemble-dir}"/>
-
- <!-- Here we are making the WTP zip (not the JST zip). -->
-
- <!-- this section should just be making some handy zips, updates/conditioning should already be done -->
- <unzip dest="${assemble-dir}"
- src="${postingDirectory}/${buildLabel}/wtp-wst-${buildLabel}.zip"
- overwrite="true" />
- <unzip dest="${assemble-dir}"
- src="${postingDirectory}/${buildLabel}/wtp-jst-${buildLabel}.zip"
- overwrite="true" />
-
- <property name="archiveName"
- value="wtp-${buildLabel}.zip" />
- <zip destfile="${postingDirectory}/${buildLabel}/${archiveName}"
- basedir="${assemble-dir}" />
<ant antfile="${wtp.builder.home}/scripts/build/buildutilities.xml" target="createChecksums">
<property name="postingDirectory" value="${postingDirectory}" />
@@ -198,75 +58,198 @@
<property name="archiveName" value="${archiveName}"/>
</ant>
-
- </target>
- <target name="postBuild-I">
+ <!-- post, post packaging, for WTP -->
- </target>
+ <property name="wtparchiveName"
+ value="${postingDirectory}/${buildLabel}/wtp-${buildLabel}.zip" />
- <target name="postBuild-N">
- </target>
+ <zip destfile="${postingDirectory}/${buildLabel}/${wtparchiveName}">
+ <zipfileset src="${postingDirectory}/${buildLabel}/wtp-wst-${buildLabel}.zip"/>
+ <zipfileset src="${postingDirectory}/${buildLabel}/wtp-jst-${buildLabel}.zip"/>
+ </zip>
- <target name="postBuild-M">
- </target>
- <target name="postBuild-R">
- </target>
+ <ant antfile="${wtp.builder.home}/scripts/build/buildutilities.xml" target="createChecksums">
+ <property name="postingDirectory" value="${postingDirectory}" />
+ <property name="buildLabel" value="${buildLabel}"/>
+ <property name="archiveName" value="${wtparchiveName}"/>
+ </ant>
- <target name="postBuild-S">
- </target>
- <target name="postBuild-T">
- </target>
- <target name="getEclipseWindows"
+ </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/releng" />
+ </target>
+ <target name="getMapFiles"
+ depends="checkLocal"
+ unless="mapsLocal">
+
+ <!-- *** change the repo info -->
+ <property name="mapCvsRoot"
+ value=":${cvsProtocol}:${cvsUser}@${cvsServer}:${cvsRoot}" />
+ <property name="mapVersionTag" value="HEAD" />
+ <echo message="${mapCvsRoot} ${mapVersionTag} ">
+ </echo>
+ <cvs cvsRoot="${mapCvsRoot}"
+ package="releng"
+ dest="${buildDirectory}/maps"
+ tag="${mapVersionTag}" />
+ <!--tag the map files project-->
+ <antcall target="tagMapFiles">
+ <param name="mapCvsRoot"
+ value="${mapCvsRoot}" />
+ </antcall>
+ </target>
+
+ <target name="tagMapFiles" if="tagMaps">
+ <cvs cvsRoot="${mapCvsRoot}"
+ dest="${buildDirectory}/maps"
+ command="tag v${buildType}${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">
+ <dirname file="${ant.file}"
+ property="component.dir" />
+ <ant antfile="${component.dir}/dependency.xml"
+ target="get">
+ <property name="dependency.properties"
+ value="${buildDirectory}/maps/releng/maps/dependencies.properties" />
+ <property name="base.install.dir"
+ value="${buildRoot}" />
+ </ant>
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do before fetching the build elements -->
+ <!-- ===================================================================== -->
+ <target name="preFetch">
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do after fetching the build elements -->
+ <!-- ===================================================================== -->
+ <target name="postFetch">
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do before generating the build scripts. -->
+ <!-- ===================================================================== -->
+ <target name="preGenerate">
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do after generating the build scripts. -->
+ <!-- ===================================================================== -->
+ <target name="postGenerate">
+ </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 before running assemble. -->
+ <!-- ===================================================================== -->
+ <target name="preAssemble">
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do after running assemble. -->
+ <!-- ===================================================================== -->
+ <target name="postAssemble">
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do after the build is done. -->
+ <!-- ===================================================================== -->
+ <target name="postBuild">
+ </target>
+
+
+ <target name="getEclipseWindows"
unless="eclipsefilewin.exists">
- <get src="${eclipseURL.win32}"
+ <get src="${eclipseURL.win32}"
dest="${localDownloads}/${eclipseFile.win32}" />
- </target>
+ </target>
- <!-- ===================================================================== -->
- <!-- Steps to do to test the build results -->
- <!-- ===================================================================== -->
- <target name="test">
- </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do to test the build results -->
+ <!-- ===================================================================== -->
+ <target name="test">
+ </target>
- <!-- ===================================================================== -->
- <!-- Steps to do to publish the build results -->
- <!-- ===================================================================== -->
- <target name="publish">
- </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do to publish the build results -->
+ <!-- ===================================================================== -->
+ <target name="publish">
+ </target>
- <!-- ===================================================================== -->
- <!-- Helper targets -->
- <!-- ===================================================================== -->
- <target name="gatherLogs" if="logsAvailable">
- <mkdir dir="${buildDirectory}/${buildLabel}/compilelogs" />
- <antcall target="allElements">
- <param name="target" value="gatherLogs" />
- </antcall>
+ <!-- ===================================================================== -->
+ <!-- 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"
+ <unzip dest="${buildDirectory}/${buildLabel}/compilelogs"
overwrite="true">
- <fileset dir="${buildDirectory}/features/org.eclipse.jst">
- <include name="*.log.zip" />
- </fileset>
- </unzip>
- </target>
+ <fileset dir="${buildDirectory}/features/org.eclipse.jst">
+ <include name="*.log.zip" />
+ </fileset>
+ </unzip>
+ </target>
- <target name="clean" unless="noclean">
- <antcall target="allElements">
- <param name="target" value="cleanElement" />
- </antcall>
- </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>
+ <!-- ===================================================================== -->
+ <!-- Default target -->
+ <!-- ===================================================================== -->
+ <target name="noDefault">
+ <echo message="You must specify a target when invoking this file" />
+ </target>
</project>
diff --git a/releng.wtpbuilder/components/wst-sdk/build.properties b/releng.wtpbuilder/components/wst-sdk/build.properties
index b229f75..b731f9c 100644
--- a/releng.wtpbuilder/components/wst-sdk/build.properties
+++ b/releng.wtpbuilder/components/wst-sdk/build.properties
@@ -21,7 +21,7 @@
############# CVS CONTROL ################
# The CVS tag to use when fetching the map files from the repository
mapVersionTag=HEAD
-
+runPackager=true
############## BUILD / GENERATION CONTROL ################
# The directory into which the build elements will be fetched and where
# the build will take place.
diff --git a/releng.wtpbuilder/components/wst-sdk/customTargets.xml b/releng.wtpbuilder/components/wst-sdk/customTargets.xml
index e941d21..948abf2 100644
--- a/releng.wtpbuilder/components/wst-sdk/customTargets.xml
+++ b/releng.wtpbuilder/components/wst-sdk/customTargets.xml
@@ -1,231 +1,252 @@
<project name="Build specific targets and properties"
default="noDefault">
- <property name="postingDirectory"
+ <property name="postingDirectory"
value="${buildDirectory}" />
- <!-- ===================================================================== -->
- <!-- Run a given ${target} on all elements being built -->
- <!-- Add on <ant> task for each top level element being built. -->
- <!-- ===================================================================== -->
- <target name="allElements">
- <echo message="Target:${target} " />
- <echo message="basedir: ${basedir}" />
- <echo message="component: ${component}" />
- <echo message="buildDirectory: ${buildDirectory}" />
- <echo message="baseLocation: ${baseLocation}" />
- <ant antfile="${genericTargets}" target="${target}">
- <property name="type" value="feature" />
- <property name="id"
- value="org.eclipse.wst.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.wst.sdk">
- <property name="archiveName"
- value="wtp-wst-sdk-${buildLabel}.zip" />
- <ant antfile="${assembleScriptName}"
- dir="${buildDirectory}" />
-
- <ant antfile="${wtp.builder.home}/scripts/build/buildutilities.xml" target="unpackUpdateJarsAndCreateZippedPackages">
- <property name="postingDirectory" value="${postingDirectory}"/>
- <property name="buildDirectory" value="${buildDirectory}"/>
- <property name="buildLabel" value="${buildLabel}"/>
- <property name="archiveName" value="${archiveName}"/>
- </ant>
-
- <ant antfile="${wtp.builder.home}/scripts/build/buildutilities.xml" target="createChecksums">
- <property name="postingDirectory" value="${postingDirectory}"/>
- <property name="buildLabel" value="${buildLabel}"/>
- <property name="archiveName" value="${archiveName}"/>
- </ant>
-
-
- </target>
-
-
-
<!-- ===================================================================== -->
- <!-- Check out map files from correct repository -->
- <!-- Replace values for cvsRoot, package and mapVersionTag as desired. -->
- <!-- ===================================================================== -->
- <target name="checkLocal">
- <available property="mapsLocal"
+ <!-- Run a given ${target} on all elements being built -->
+ <!-- Add on <ant> task for each top level element being built. -->
+ <!-- ===================================================================== -->
+ <target name="allElements">
+ <echo message="Target:${target} " />
+ <echo message="basedir: ${basedir}" />
+ <echo message="component: ${component}" />
+ <echo message="buildDirectory: ${buildDirectory}" />
+ <echo message="baseLocation: ${baseLocation}" />
+ <ant antfile="${genericTargets}" target="${target}">
+ <property name="type" value="feature" />
+ <property name="id"
+ value="org.eclipse.wst.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.wst.sdk">
+ <property name="archiveName"
+ value="wtp-wst-sdk-${buildLabel}.zip" />
+ <ant antfile="${assembleScriptName}"
+ dir="${buildDirectory}" />
+ </target>
+
+ <target name="prePackage" />
+
+ <target name="postPackage">
+
+ <property name="archiveName"
+ value="wtp-wst-sdk-${buildLabel}.zip" />
+
+ <ant antfile="${wtp.builder.home}/scripts/build/buildutilities.xml" target="unpackUpdateJarsAndCreateZippedPackages">
+ <property name="postingDirectory" value="${postingDirectory}"/>
+ <property name="buildDirectory" value="${buildDirectory}"/>
+ <property name="buildLabel" value="${buildLabel}"/>
+ <property name="archiveName" value="${archiveName}"/>
+ </ant>
+
+
+
+ <!-- not sure this merge should be necessary here ... it is current partially because currently
+ third party plugins do not have "src" build properties.
+ but, eventually, we also want to make sdk features "require" (not include)
+ runtime features, so then we'll always have to "manually" merge when creating the
+ zips.
+ -->
+ <zip destfile="${postingDirectory}/${buildLabel}/${archiveName}" update="true">
+ <zipfileset src="${postingDirectory}/${buildLabel}/wtp-wst-${buildLabel}.zip"/>
+ </zip>
+
+
+
+ <ant antfile="${wtp.builder.home}/scripts/build/buildutilities.xml" target="createChecksums">
+ <property name="postingDirectory" value="${postingDirectory}"/>
+ <property name="buildLabel" value="${buildLabel}"/>
+ <property name="archiveName" value="${archiveName}"/>
+ </ant>
+
+
+ </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/releng" />
- </target>
- <target name="getMapFiles"
+ </target>
+ <target name="getMapFiles"
depends="checkLocal"
unless="mapsLocal">
- <!-- *** change the repo info -->
- <property name="mapCvsRoot"
+ <!-- *** change the repo info -->
+ <property name="mapCvsRoot"
value=":${cvsProtocol}:${cvsUser}@${cvsServer}:${cvsRoot}" />
- <property name="mapVersionTag" value="HEAD" />
- <echo message="${mapCvsRoot} ${mapVersionTag} ">
- </echo>
- <cvs cvsRoot="${mapCvsRoot}"
+ <property name="mapVersionTag" value="HEAD" />
+ <echo message="${mapCvsRoot} ${mapVersionTag} ">
+ </echo>
+ <cvs cvsRoot="${mapCvsRoot}"
package="releng"
dest="${buildDirectory}/maps"
tag="${mapVersionTag}" />
- <!--tag the map files project-->
- <antcall target="tagMapFiles">
- <param name="mapCvsRoot"
+ <!--tag the map files project-->
+ <antcall target="tagMapFiles">
+ <param name="mapCvsRoot"
value="${mapCvsRoot}" />
- </antcall>
- </target>
+ </antcall>
+ </target>
- <target name="tagMapFiles" if="tagMaps">
- <cvs cvsRoot="${mapCvsRoot}"
+ <target name="tagMapFiles" if="tagMaps">
+ <cvs cvsRoot="${mapCvsRoot}"
dest="${buildDirectory}/maps"
command="tag v${buildType}${timestamp}" />
- </target>
+ </target>
- <!-- ===================================================================== -->
- <!-- Steps to do before setup -->
- <!-- ===================================================================== -->
- <target name="preSetup">
- </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do before setup -->
+ <!-- ===================================================================== -->
+ <target name="preSetup">
+ </target>
- <!-- ===================================================================== -->
- <!-- Steps to do after setup but before starting the build proper -->
- <!-- ===================================================================== -->
- <target name="postSetup">
- <dirname file="${ant.file}"
+ <!-- ===================================================================== -->
+ <!-- Steps to do after setup but before starting the build proper -->
+ <!-- ===================================================================== -->
+ <target name="postSetup">
+ <dirname file="${ant.file}"
property="component.dir" />
- <echo message="${buildDirectory}/maps/releng/maps/dependencies.properties" />
- <ant antfile="${component.dir}/dependency.xml"
+ <echo message="${buildDirectory}/maps/releng/maps/dependencies.properties" />
+ <ant antfile="${component.dir}/dependency.xml"
target="get">
- <property name="dependency.properties"
+ <property name="dependency.properties"
value="${buildDirectory}/maps/releng/maps/dependencies.properties" />
- <property name="base.install.dir"
+ <property name="base.install.dir"
value="${buildRoot}" />
- </ant>
- </target>
+ </ant>
+ </target>
- <!-- ===================================================================== -->
- <!-- Steps to do before fetching the build elements -->
- <!-- ===================================================================== -->
- <target name="preFetch">
- </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do before fetching the build elements -->
+ <!-- ===================================================================== -->
+ <target name="preFetch">
+ </target>
- <!-- ===================================================================== -->
- <!-- Steps to do after fetching the build elements -->
- <!-- ===================================================================== -->
- <target name="postFetch">
- </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after fetching the build elements -->
+ <!-- ===================================================================== -->
+ <target name="postFetch">
+ </target>
- <!-- ===================================================================== -->
- <!-- Steps to do before generating the build scripts. -->
- <!-- ===================================================================== -->
- <target name="preGenerate">
- </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do before generating the build scripts. -->
+ <!-- ===================================================================== -->
+ <target name="preGenerate">
+ </target>
- <!-- ===================================================================== -->
- <!-- Steps to do after generating the build scripts. -->
- <!-- ===================================================================== -->
- <target name="postGenerate">
- </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after generating the build scripts. -->
+ <!-- ===================================================================== -->
+ <target name="postGenerate">
+ </target>
- <!-- ===================================================================== -->
- <!-- Steps to do before running the build.xmls for the elements being built. -->
- <!-- ===================================================================== -->
- <target name="preProcess">
- <replace dir="${buildDirectory}/plugins"
+ <!-- ===================================================================== -->
+ <!-- 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>
+ <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 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 before running assemble. -->
- <!-- ===================================================================== -->
- <target name="preAssemble">
- <ant antfile="${buildDirectory}/plugins/org.eclipse.wst.ws.explorer/build-war.xml">
- <property name="baseLocation"
+ <!-- ===================================================================== -->
+ <!-- Steps to do before running assemble. -->
+ <!-- ===================================================================== -->
+ <target name="preAssemble">
+ <ant antfile="${buildDirectory}/plugins/org.eclipse.wst.ws.explorer/build-war.xml">
+ <property name="baseLocation"
value="${baseLocation}" />
- <property name="basedir"
+ <property name="basedir"
value="${buildDirectory}/plugins/org.eclipse.wst.ws.explorer" />
- <property name="buildDirectory"
+ <property name="buildDirectory"
value="${buildDirectory}" />
- </ant>
+ </ant>
- </target>
+ </target>
- <!-- ===================================================================== -->
- <!-- Steps to do after running assemble. -->
- <!-- ===================================================================== -->
- <target name="postAssemble">
+ <!-- ===================================================================== -->
+ <!-- Steps to do after running assemble. -->
+ <!-- ===================================================================== -->
+ <target name="postAssemble">
- </target>
+ </target>
- <!-- ===================================================================== -->
- <!-- Steps to do after the build is done. -->
- <!-- ===================================================================== -->
- <target name="postBuild">
- </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after the build is done. -->
+ <!-- ===================================================================== -->
+ <target name="postBuild">
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do to test the build results -->
+ <!-- ===================================================================== -->
+ <target name="test">
+ </target>
- <!-- ===================================================================== -->
- <!-- Steps to do to test the build results -->
- <!-- ===================================================================== -->
- <target name="test">
- </target>
-
- <!-- ===================================================================== -->
- <!-- Steps to do to publish the build results -->
- <!-- ===================================================================== -->
- <target name="publish">
- </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do to publish the build results -->
+ <!-- ===================================================================== -->
+ <target name="publish">
+ </target>
- <!-- ===================================================================== -->
- <!-- Helper targets -->
- <!-- ===================================================================== -->
- <target name="gatherLogs" if="logsAvailable">
- <mkdir dir="${buildDirectory}/${buildLabel}/compilelogs" />
- <antcall target="allElements">
- <param name="target" value="gatherLogs" />
- </antcall>
+ <!-- ===================================================================== -->
+ <!-- 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"
+ <unzip dest="${buildDirectory}/${buildLabel}/compilelogs"
overwrite="true">
- <fileset dir="${buildDirectory}/features/org.eclipse.wst.sdk">
- <include name="*.log.zip" />
- </fileset>
- </unzip>
- </target>
+ <fileset dir="${buildDirectory}/features/org.eclipse.wst.sdk">
+ <include name="*.log.zip" />
+ </fileset>
+ </unzip>
+ </target>
- <target name="clean" unless="noclean">
- <antcall target="allElements">
- <param name="target" value="cleanElement" />
- </antcall>
- </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>
+ <!-- ===================================================================== -->
+ <!-- Default target -->
+ <!-- ===================================================================== -->
+ <target name="noDefault">
+ <echo message="You must specify a target when invoking this file" />
+ </target>
</project>
diff --git a/releng.wtpbuilder/components/wst.tests/build.properties b/releng.wtpbuilder/components/wst.tests/build.properties
index b229f75..63b9c05 100644
--- a/releng.wtpbuilder/components/wst.tests/build.properties
+++ b/releng.wtpbuilder/components/wst.tests/build.properties
@@ -21,7 +21,7 @@
############# CVS CONTROL ################
# The CVS tag to use when fetching the map files from the repository
mapVersionTag=HEAD
-
+#runPackager=false
############## BUILD / GENERATION CONTROL ################
# The directory into which the build elements will be fetched and where
# the build will take place.
diff --git a/releng.wtpbuilder/components/wst.tests/customTargets.xml b/releng.wtpbuilder/components/wst.tests/customTargets.xml
index b8c7f2f..3e0b1c4 100644
--- a/releng.wtpbuilder/components/wst.tests/customTargets.xml
+++ b/releng.wtpbuilder/components/wst.tests/customTargets.xml
@@ -33,6 +33,13 @@
value="wtp-wst-Automated-Tests-${buildLabel}.zip" />
<ant antfile="${assembleScriptName}"
dir="${buildDirectory}" />
+ </target>
+ <target name="prePackage" />
+
+
+ <target name="postPackage">
+ <property name="archiveName"
+ value="wtp-wst-Automated-Tests-${buildLabel}.zip" />
<ant antfile="${wtp.builder.home}/scripts/build/buildutilities.xml" target="unpackUpdateJarsAndCreateZippedPackages">
<property name="postingDirectory" value="${postingDirectory}" />
@@ -173,6 +180,8 @@
<target name="postBuild">
</target>
+
+
<!-- ===================================================================== -->
<!-- Steps to do to test the build results -->
<!-- ===================================================================== -->
diff --git a/releng.wtpbuilder/components/wst/build.properties b/releng.wtpbuilder/components/wst/build.properties
index 18567d8..dc9f506 100644
--- a/releng.wtpbuilder/components/wst/build.properties
+++ b/releng.wtpbuilder/components/wst/build.properties
@@ -21,7 +21,7 @@
############# CVS CONTROL ################
# The CVS tag to use when fetching the map files from the repository
mapVersionTag=HEAD
-
+runPackager=true
############## BUILD / GENERATION CONTROL ################
# The directory into which the build elements will be fetched and where
# the build will take place.
diff --git a/releng.wtpbuilder/components/wst/customTargets.xml b/releng.wtpbuilder/components/wst/customTargets.xml
index 8812f85..4fc702f 100644
--- a/releng.wtpbuilder/components/wst/customTargets.xml
+++ b/releng.wtpbuilder/components/wst/customTargets.xml
@@ -33,12 +33,19 @@
<ant antfile="${assembleScriptName}"
dir="${buildDirectory}" />
-
+ </target>
+
+ <target name="prePackage" />
+
+ <target name="postPackage">
+ <property name="archiveName"
+ value="wtp-wst-${buildLabel}.zip" />
+
<ant antfile="${wtp.builder.home}/scripts/build/buildutilities.xml" target="unpackUpdateJarsAndCreateZippedPackages">
<property name="postingDirectory" value="${postingDirectory}"/>
<property name="buildDirectory" value="${buildDirectory}"/>
<property name="buildLabel" value="${buildLabel}"/>
- <property name="archiveName" value="${archiveName}"/>
+ <property name="archiveName" value="${archiveName}"/>
</ant>
<ant antfile="${wtp.builder.home}/scripts/build/buildutilities.xml" target="createChecksums">
@@ -181,9 +188,11 @@
<!-- Steps to do after the build is done. -->
<!-- ===================================================================== -->
<target name="postBuild">
-
+
</target>
+
+
<!-- ===================================================================== -->
<!-- Steps to do to test the build results -->