Skip to content
Snippets Groups Projects
Commit 948bf552 authored by david_williams's avatar david_williams
Browse files

[172361] WTP 2.0 build page didn't reflect compile error in I200701311715 build

parent e3efab5b
No related branches found
No related tags found
No related merge requests found
...@@ -120,7 +120,13 @@ ...@@ -120,7 +120,13 @@
tag="HEAD" /> tag="HEAD" />
</target> </target>
<target name="wst-R2.0-I">
<cvs quiet="true"
cvsRoot="${mapCvsRoot}"
package="releng"
dest="${codir}"
tag="HEAD" />
</target>
<!-- <!--
The order of execution of these three worker targets The order of execution of these three worker targets
......
...@@ -21,7 +21,13 @@ ...@@ -21,7 +21,13 @@
<param name="base.install.dir" <param name="base.install.dir"
value="${buildDirectory}/maps/releng/maps/" /> value="${buildDirectory}/maps/releng/maps/" />
</antcall> </antcall>
<mkdir dir="${pde.builder.path}/plugins/" />
<antcall target="getAndInstall">
<param name="groupId" value="wtpBuildTools" />
<param name="base.install.dir"
value="${pde.builder.path}/plugins/" />
</antcall>
......
###############################################################################
# Copyright (c) 2003, 2006 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
# The CVS tag to use when fetching the map files from the repository
mapVersionTag=HEAD
runPackager=true
# This is a subdirectory of $buildDirectory
# Set collectingFolder and archivePrefix to . if you want to create archives without
# trailing eclipse in the paths of the included files
collectingFolder=eclipse
# The prefix that will be used in the generated archive.
# Does not make sense to use a different archivePrefix than collectingFolder,
# because zip wouldn't find any files to include into the target zip otherwise
archivePrefix=eclipse
# Whether or not to include debug info in the output jars
javacDebugInfo=false
# Whether or not to fail the build if there are compiler errors
javacFailOnError=true
##################################################
# Asks the compiler for verbose output. This should be set to true in order for *.bin.log files to be generated when
# using the JDT Compiler Adapter to compile.
javacVerbose=true
<project
name="Build specific targets and properties"
default="noDefault">
<!-- ===================================================================== -->
<!-- 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="buildDirectory: ${buildDirectory}" />
<echo message="baseLocation: ${baseLocation}" />
<ant
antfile="${genericTargets}"
target="${target}">
<property
name="type"
value="feature" />
<property
name="id"
value="org.eclipse.wtp.releng.tests.feature" />
</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.wtp.releng.tests.feature">
<property
name="archiveName"
value="wtp-buildTools-${buildLabel}.zip" />
<ant
antfile="${assembleScriptName}"
dir="${buildDirectory}" />
</target>
<target name="prePackage" />
<target name="postPackage">
<property
name="archiveName"
value="wtp-buildTools-${buildLabel}.zip" />
<ant
antfile="${wtp.builder.home}/scripts/build/buildutilities.xml"
target="unpackUpdateJarsAndCreateZippedPackages">
<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} " />
<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>
<!-- ===================================================================== -->
<!-- Steps to do to test the build results -->
<!-- ===================================================================== -->
<target name="test"></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>
<unzip
dest="${buildDirectory}/${buildLabel}/compilelogs"
overwrite="true">
<fileset dir="${buildDirectory}/features/org.eclipse.wtp.releng.tests.feature">
<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>
<?xml version="1.0"?>
<!-- ======================================================================
Properties that must be passed to this script:
base.install.dir
dependencyTargets
local.cache.dir
dependency.properties
====================================================================== -->
<project name="test" default="get">
<target name="get">
<antcall target="getAndInstall">
<param name="groupId" value="eclipse" />
</antcall>
</target>
<target name="getAndInstall">
<ant antfile="${dependencyTargets}"
target="checkDependency">
<property name="groupId" value="${groupId}" />
</ant>
<ant antfile="${dependencyTargets}"
target="installDependency">
<property name="groupId" value="${groupId}" />
<property name="install.destination"
value="${base.install.dir}" />
</ant>
</target>
</project>
<project default="build" basedir=".">
<target name="build" depends="getBaseBuilder">
<dirname file="${ant.file}"
property="distribution.wtp.build.dir" />
<property file="${wtp.builder.home}/build.properties" />
<property name="buildTargets"
value="${wtp.builder.home}/scripts/build/runbuild.xml" />
<ant antfile="${buildTargets}">
<property name="component"
value="wtp-buildTools" />
</ant>
<ant antfile="${wtp.builder.home}/scripts/build/label.xml" />
</target>
<target name="getBaseBuilder"
if="eclipse.builder.fetch">
<dirname file="${ant.file}"
property="wtbuilder.dir" />
<property name="buildTargets"
value="${wtp.builder.home}/scripts/build/runbuild.xml" />
<!-- delete dir="${pde.builder.path}" failonerror="false"/ -->
<ant antfile="${buildTargets}"
target="getBaseBuilder" />
</target>
</project>
<project default="sync" basedir=".">
<target name="sync">
<ant antfile="${wtp.builder.home}/scripts/upload/upload.xml">
<property name="site-sub-dir"
value="wtpBuildTools" />
</ant>
</target>
</project>
...@@ -137,6 +137,13 @@ ...@@ -137,6 +137,13 @@
</selector> </selector>
</isfileselected> </isfileselected>
</condition> </condition>
<condition property="file.type" value="jar">
<isfileselected file="${dependency.file}">
<selector>
<filename name="**/*.jar" />
</selector>
</isfileselected>
</condition>
<antcall target="install-${file.type}" /> <antcall target="install-${file.type}" />
</target> </target>
...@@ -162,6 +169,11 @@ ...@@ -162,6 +169,11 @@
file="${local.cache.dir}/${dependency.file}" file="${local.cache.dir}/${dependency.file}"
overwrite="true" /> overwrite="true" />
</target> </target>
<target name="install-jar">
<copy todir="${install.destination}"
file="${local.cache.dir}/${dependency.file}"
overwrite="true" />
</target>
<target name="checkDependency"> <target name="checkDependency">
<dirname file="${ant.file}" <dirname file="${ant.file}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment