Skip to content
Snippets Groups Projects
Commit 12def435 authored by david_williams's avatar david_williams
Browse files

prep towards e4 based builds

parent 819d7eb7
No related branches found
No related tags found
No related merge requests found
Showing
with 2737 additions and 0 deletions
<project
name="allElements Delegator">
<property
name="defaultAssemblyEnabled"
value="true"/>
<!--
=====================================================================
-->
<!-- Run a given ${target} on all elements being built -->
<!--
By default ${topLevelElementType} and ${topLevelElementId}
should be
-->
<!--
defined in the builder's build.properties file. You can
customize by
-->
<!-- setting the type/id values directly here. -->
<!--
You can add additional calls to ${genericTargets} to build more
top
-->
<!-- level elements. -->
<!-- -->
<!--
The top level must exist in the ${buildDirectory},
${baseLocation} or
-->
<!-- ${pluginPath} locations. -->
<!--
=====================================================================
-->
<target
name="allElementsDelegator">
<ant
antfile="${genericTargets}"
target="${target}">
<property
name="type"
value="${topLevelElementType}"/>
<property
name="id"
value="${topLevelElementId}"/>
</ant>
</target>
<!--
======================================================================
-->
<!--
The default assemble target, this will be called to assemble
each
-->
<!-- config if a custom assemble target is not defined. -->
<!-- The following properties will be defined: -->
<!--
config : The configuration being assembled eg "win32.win32.x86"
-->
<!-- element: The element being assembled eg "org.eclipse.sdk" -->
<!-- assembleScriptName: The assemble script to be called -->
<!--
======================================================================
-->
<target
name="defaultAssemble">
<echo
message="defaultAssemble assembleScriptName: ${assembleScriptName}"/>
<ant
antfile="${assembleScriptName}"
dir="${buildDirectory}"/>
</target>
<!--
=====================================================================
-->
<!-- Custom 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 for
which
-->
<!--
custom processing is desired. Replace element.id with the id of
the
-->
<!--
top level element being built. A property with a matching name
must
-->
<!--
be defined for this custom target to be called instead of the
-->
<!-- defaultAssemble target above. -->
<!-- Example: name="assemble.org.eclipse.sdk" -->
<!-- Example: name="assemble.org.eclipse.sdk.win32.win32.x86" -->
<!--
======================================================================
-->
<property
name="assemble.element.id[.config.spec]"
value="true"/>
<target
name="assemble.element.id[.config.spec]">
<ant
antfile="${assembleScriptName}"
dir="${buildDirectory}"/>
</target>
</project>
\ No newline at end of file
###############################################################################
# Copyright (c) 2006 Oracle.
# 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:
# Oracle - initial API and implementation
###############################################################################
# This property file is used automatically by the PDE build process
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
logExtension=.xml
# 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=true
# Whether or not to fail the build if there are compiler errors
javacFailOnError=false
##################################################
# 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
sign=true
p2.gathering=true
p2.compress=true
skipMirroring=true
compilelogsDir=compilelogs
topLevelElementType=feature
topLevelElementId=org.eclipse.jpt_sdk.assembly.feature
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature
url="features/org.eclipse.jpt_sdk.feature_2.3.0.qualifier.jar"
id="org.eclipse.jpt_sdk.feature"
version="2.3.0.qualifier">
<category
name="Web Tools Platform SDK (WTP SDK) 3.2.0"/>
</feature>
<feature
url="features/org.eclipse.jpt.eclipselink_sdk.feature_2.3.0.qualifier.jar"
id="org.eclipse.jpt.eclipselink_sdk.feature"
version="2.3.0.qualifier">
<category
name="Web Tools Platform SDK (WTP SDK) 3.2.0"/>
</feature>
<feature
url="features/org.eclipse.jpt.feature_2.3.0.qualifier.jar"
id="org.eclipse.jpt.feature"
version="2.3.0.qualifier">
<category
name="Web Tools Platform (WTP) 3.2.0"/>
</feature>
<feature
url="features/org.eclipse.jpt.eclipselink.feature_2.3.0.qualifier.jar"
id="org.eclipse.jpt.eclipselink.feature"
version="2.3.0.qualifier">
<category
name="Web Tools Platform (WTP) 3.2.0"/>
</feature>
<category-def
name="Web Tools Platform (WTP) 3.2.0"
label="Web Tools Platform (WTP) 3.2.0">
<description>
These features provide functionality with the executable code only and are recommended for most users.
</description>
</category-def>
<category-def
name="Web Tools Platform SDK (WTP SDK) 3.2.0"
label="Web Tools Platform SDK (WTP SDK) 3.2.0">
<description>
These features provide functionality with the executable code and the source code and are recommended for those
extending or debugging
WTP.
</description>
</category-def>
</site>
\ No newline at end of file
<project
name="PDECustomTargets"
default="noDefault"
basedir=".">
<!--
= = = standard properties pattern = = = Note to be
cross-platform, "environment variables" are only appropriate for
some variables, e.g. ones we set, since properties are case
sensitive, even if the environment variables on your operating
system are not, e.g. it will be ${env.Path} not ${env.PATH} on
Windows
-->
<property
environment="env"/>
<!--
Let users override standard properties, if desired. If
directory, file, or some properties do not exist, then standard
properties will be used.
-->
<property
file="${env.LOCAL_BUILD_PROPERTIES_DIR}/${ant.project.name}.properties"/>
<!-- let this project specify properties, if not already set -->
<property
file="build.properties"/>
<fail
message="dependency.properties must be specified by distribution script"
unless="dependency.properties"/>
<fail
unless="buildDirectory"
message="buildDirectory must be set"/>
<echo
message="buildDirectory: ${buildDirectory}"/>
<property
name="archiveName"
value="${component}-buildrepo-${buildLabel}.zip"/>
<property
name="p2.metadata.repo.name"
value="WTP Build repository: ${buildLabel}/${component}"/>
<property
name="p2.artifact.repo.name"
value="WTP Build repository: ${buildLabel}/${component}"/>
<property
name="p2buildrepoDirectory"
value="${buildDirectory}/${buildLabel}/buildrepository/${component}/"/>
<property
name="p2.build.repo"
value="file://${p2buildrepoDirectory}/"/>
<property
name="p2.category.definition"
value="file://${wtp.builder.home}/components/${component}/category.xml"/>
<echo
message="p2.build.repo: ${p2.build.repo}"/>
<echo
message="p2.category.definition: ${p2.category.definition}"/>
<!--
Run a given ${target} on all elements being built Add on <ant>
task for each top level element being built.
-->
<available
property="allElementsFile"
file="${builder}/allElements.xml"
value="${builder}/allElements.xml"/>
<property
name="allElementsFile"
location="${eclipse.pdebuild.templates}/headless-build/allElements.xml"/>
<import
file="${allElementsFile}"/>
<target
name="allElements">
<echo
level="info"
message="target: ${target} "/>
<echo
level="info"
message="basedir: ${basedir}"/>
<echo
level="info"
message="component: ${component}"/>
<echo
level="info"
message="buildDirectory: ${buildDirectory}"/>
<echo
level="info"
message="baseLocation: ${baseLocation}"/>
<echo
level="info"
message="generic target: ${genericTargets}"/>
<echo
level="info"
message="topLevelElementId: ${topLevelElementId}"/>
<echo
message="compilerArg: ${compilerArg}"/>
<echo
message="individualSourceBundles: ${individualSourceBundles}"/>
<antcall
target="allElementsDelegator"/>
</target>
<!--
Check out map files from repository
-->
<target
name="getMapFiles">
<!-- for now, get all, at once. May componetize later. -->
<ant
antfile="${wtp.builder.home}/scripts/build/maptasks.xml"
target="fetchAllMaps"/>
</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"/>
<echo
level="debug"
message="ant.file: ${ant.file}"/>
<echo
level="debug"
message="component.dir: ${component.dir}"/>
<!-- Get the dependencies -->
<antcall
target="getDependencies"/>
</target>
<!--
=====================================================================
-->
<!-- Get the dependencies based on releng maps -->
<!--
=====================================================================
-->
<target
name="getDependencies">
<ant
antfile="${component.dir}/dependency.xml"
target="get">
<property
name="base.install.dir"
value="${buildRoot}"/>
</ant>
</target>
<!--
Steps to do before fetching the build elements
-->
<target
name="preFetch">
</target>
<target
name="postFetch">
</target>
<!--
Steps to do before the repositories are being processed
-->
<target
name="preProcessRepos">
</target>
<!--
Steps to do after the repositories have been processed
-->
<target
name="postProcessRepos">
</target>
<!--
Steps to do before generating the build scripts.
-->
<target
name="preGenerate">
</target>
<!--
Steps to do after generating the build scripts.
-->
<target
name="postGenerate">
<echo
message="buildDirectory: ${buildDirectory}"/>
<customizeAccessRules
bundleDirectory="${buildDirectory}/plugins"
defaultRules="+org/eclipse/wst/**/*, +org/eclipse/jst/**/*"/>
</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">
<ant
antfile="${wtp.builder.home}/scripts/build/buildutilitiesp2.xml"
target="conditionAndSignJars"/>
<ant
antfile="${wtp.builder.home}/scripts/build/buildutilitiesp2.xml"
target="finishPackages"/>
<ant
antfile="${wtp.builder.home}/scripts/build/buildutilitiesp2.xml"
target="createTraditionalZipFiles">
</ant>
</target>
<!--
Steps to do after the build is done.
-->
<target
name="prePackage">
</target>
<!-- Steps to do after running package. -->
<target
name="postPackage">
</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}/${compilelogsDir}"/>
<echo
level="debug"
message="logExtension: ${logExtension}"/>
<antcall
target="allElements">
<param
name="target"
value="gatherLogs"/>
<param
name="logExtension"
value="${logExtension}"/>
</antcall>
<unzip
dest="${buildDirectory}/${buildLabel}/${compilelogsDir}"
overwrite="true">
<fileset
dir="${buildDirectory}/features/${topLevelElementId}">
<include
name="**/*.log.zip"/>
</fileset>
</unzip>
<!--
workaround: see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=156043 and
https://bugs.eclipse.org/bugs/show_bug.cgi?id=172361 and
https://bugs.eclipse.org/bugs/show_bug.cgi?id=294070
-->
<copy
todir="${buildDirectory}/${buildLabel}/${compilelogsDir}/plugins"
overwrite="true">
<!--
we want all @dot.xml files, but assumes a certain
structure, to include directory for name of plugin
-->
<fileset
dir="${buildDirectory}/features/">
<include
name="**/feature.temp.folder/"/>
<exclude
name="**/*tests*feature*/feature.temp.folder/"/>
</fileset>
<compositemapper>
<mapper
type="regexp"
from="(.*)/plugins/(.*)/@dot.xml"
to="/\2/@dot.xml"/>
<mapper
type="regexp"
from="(.*)/plugins/(.*)/(.*)bin.xml"
to="/\2/\3bin.xml"/>
</compositemapper>
</copy>
</target>
<target
name="clean"
unless="noclean">
<antcall
target="allElements">
<param
name="target"
value="cleanElement"/>
</antcall>
</target>
<!--
Default target
-->
<target
name="noDefault">
<echo
level="error"
message="You must specify a target when invoking this file"/>
</target>
</project>
\ No newline at end of file
<?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">
<!--
read in this properties, just so we can make sure our
requested pre-reqs are defined via {groupId}.url
-->
<property
file="${dependency.properties}"/>
<antcall
target="getAndInstall">
<param
name="groupId"
value="emf"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="emfxsd"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="gef"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="dtp"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="e4"/>
</antcall>
</target>
<target
name="getAndInstall"
if="${groupId}.url">
<ant
antfile="${dependencyTargets}"
target="checkDependency">
<property
name="groupId"
value="${groupId}"/>
</ant>
<ant
antfile="${dependencyTargets}"
target="installDependency">
<property
name="groupId"
value="${groupId}"/>
<property
name="install.destination"
value="${base.install.dir}"/>
</ant>
</target>
</project>
<project
name="allElements Delegator">
<property
name="defaultAssemblyEnabled"
value="true"/>
<!--
=====================================================================
-->
<!-- Run a given ${target} on all elements being built -->
<!--
By default ${topLevelElementType} and ${topLevelElementId}
should be
-->
<!--
defined in the builder's build.properties file. You can
customize by
-->
<!-- setting the type/id values directly here. -->
<!--
You can add additional calls to ${genericTargets} to build more
top
-->
<!-- level elements. -->
<!-- -->
<!--
The top level must exist in the ${buildDirectory},
${baseLocation} or
-->
<!-- ${pluginPath} locations. -->
<!--
=====================================================================
-->
<target
name="allElementsDelegator">
<ant
antfile="${genericTargets}"
target="${target}">
<property
name="type"
value="${topLevelElementType}"/>
<property
name="id"
value="${topLevelElementId}"/>
</ant>
</target>
<!--
======================================================================
-->
<!--
The default assemble target, this will be called to assemble
each
-->
<!-- config if a custom assemble target is not defined. -->
<!-- The following properties will be defined: -->
<!--
config : The configuration being assembled eg "win32.win32.x86"
-->
<!-- element: The element being assembled eg "org.eclipse.sdk" -->
<!-- assembleScriptName: The assemble script to be called -->
<!--
======================================================================
-->
<target
name="defaultAssemble">
<echo
message="defaultAssemble assembleScriptName: ${assembleScriptName}"/>
<ant
antfile="${assembleScriptName}"
dir="${buildDirectory}"/>
</target>
<!--
=====================================================================
-->
<!-- Custom 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 for
which
-->
<!--
custom processing is desired. Replace element.id with the id of
the
-->
<!--
top level element being built. A property with a matching name
must
-->
<!--
be defined for this custom target to be called instead of the
-->
<!-- defaultAssemble target above. -->
<!-- Example: name="assemble.org.eclipse.sdk" -->
<!-- Example: name="assemble.org.eclipse.sdk.win32.win32.x86" -->
<!--
======================================================================
-->
<property
name="assemble.element.id[.config.spec]"
value="true"/>
<target
name="assemble.element.id[.config.spec]">
<ant
antfile="${assembleScriptName}"
dir="${buildDirectory}"/>
</target>
</project>
\ No newline at end of file
###############################################################################
# Copyright (c) 2005 Oracle 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:
# Oracle Corporation - initial API and implementation
###############################################################################
# This property file is used automatically by the PDE build process
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
logExtension=.xml
# 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=true
# Whether or not to fail the build if there are compiler errors
javacFailOnError=false
##################################################
# 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
sign=false
p2.gathering=true
p2.compress=true
skipMirroring=true
compilelogsDir=testcompilelogs
topLevelElementType=feature
topLevelElementId=org.eclipse.jpt.tests.assembly.feature
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature
url="features/org.eclipse.jpt.tests_2.1.0.qualifier.jar"
id="org.eclipse.jpt.tests"
version="2.1.0.qualifier">
<category
name="Web Tools Platform Tests (WTP Tests) 3.2.0"/>
</feature>
<category-def
name="Web Tools Platform Tests (WTP Tests) 3.2.0"
label="Web Tools Platform Tests (WTP Tests) 3.2.0">
<description>
These features provide Unit tests for WTP. WTP Committers, or others testing WTP, will need these in at least
their PDE Targets.
</description>
</category-def>
</site>
<project
name="PDECustomTargets"
default="noDefault"
basedir=".">
<!--
= = = standard properties pattern = = = Note to be
cross-platform, "environment variables" are only appropriate for
some variables, e.g. ones we set, since properties are case
sensitive, even if the environment variables on your operating
system are not, e.g. it will be ${env.Path} not ${env.PATH} on
Windows
-->
<property
environment="env"/>
<!--
Let users override standard properties, if desired. If
directory, file, or some properties do not exist, then standard
properties will be used.
-->
<property
file="${env.LOCAL_BUILD_PROPERTIES_DIR}/${ant.project.name}.properties"/>
<!-- let this project specify properties, if not already set -->
<property
file="build.properties"/>
<fail
message="dependency.properties must be specified by distribution script"
unless="dependency.properties"/>
<fail
unless="buildDirectory"
message="buildDirectory must be set"/>
<echo
message="buildDirectory: ${buildDirectory}"/>
<property
name="archiveName"
value="${component}-buildrepo-${buildLabel}.zip"/>
<property
name="p2.metadata.repo.name"
value="WTP Build repository: ${buildLabel}/${component}"/>
<property
name="p2.artifact.repo.name"
value="WTP Build repository: ${buildLabel}/${component}"/>
<property
name="p2buildrepoDirectory"
value="${buildDirectory}/${buildLabel}/buildrepository/${component}/"/>
<property
name="p2.build.repo"
value="file://${p2buildrepoDirectory}/"/>
<property
name="p2.category.definition"
value="file://${wtp.builder.home}/components/${component}/category.xml"/>
<echo
message="p2.build.repo: ${p2.build.repo}"/>
<echo
message="p2.category.definition: ${p2.category.definition}"/>
<!--
Run a given ${target} on all elements being built Add on <ant>
task for each top level element being built.
-->
<available
property="allElementsFile"
file="${builder}/allElements.xml"
value="${builder}/allElements.xml"/>
<property
name="allElementsFile"
location="${eclipse.pdebuild.templates}/headless-build/allElements.xml"/>
<import
file="${allElementsFile}"/>
<target
name="allElements">
<echo
level="info"
message="target: ${target} "/>
<echo
level="info"
message="basedir: ${basedir}"/>
<echo
level="info"
message="component: ${component}"/>
<echo
level="info"
message="buildDirectory: ${buildDirectory}"/>
<echo
level="info"
message="baseLocation: ${baseLocation}"/>
<echo
level="info"
message="generic target: ${genericTargets}"/>
<echo
level="info"
message="topLevelElementId: ${topLevelElementId}"/>
<echo
message="compilerArg: ${compilerArg}"/>
<echo
message="individualSourceBundles: ${individualSourceBundles}"/>
<antcall
target="allElementsDelegator"/>
</target>
<!--
Check out map files from repository
-->
<target
name="getMapFiles">
<!-- for now, get all, at once. May componetize later. -->
<ant
antfile="${wtp.builder.home}/scripts/build/maptasks.xml"
target="fetchAllMaps"/>
</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"/>
<echo
level="debug"
message="ant.file: ${ant.file}"/>
<echo
level="debug"
message="component.dir: ${component.dir}"/>
<!-- Get the dependencies -->
<antcall
target="getDependencies"/>
</target>
<!--
=====================================================================
-->
<!-- Get the dependencies based on releng maps -->
<!--
=====================================================================
-->
<target
name="getDependencies">
<ant
antfile="${component.dir}/dependency.xml"
target="get">
<property
name="base.install.dir"
value="${buildRoot}"/>
</ant>
</target>
<!--
Steps to do before fetching the build elements
-->
<target
name="preFetch">
</target>
<target
name="postFetch">
</target>
<!--
Steps to do before the repositories are being processed
-->
<target
name="preProcessRepos">
</target>
<!--
Steps to do after the repositories have been processed
-->
<target
name="postProcessRepos">
</target>
<!--
Steps to do before generating the build scripts.
-->
<target
name="preGenerate">
</target>
<!--
Steps to do after generating the build scripts.
-->
<target
name="postGenerate">
<echo
message="buildDirectory: ${buildDirectory}"/>
<customizeAccessRules
bundleDirectory="${buildDirectory}/plugins"
defaultRules="+org/eclipse/wst/**/*, +org/eclipse/jst/**/*"/>
</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">
<ant
antfile="${wtp.builder.home}/scripts/build/buildutilitiesp2.xml"
target="conditionAndSignJars"/>
<ant
antfile="${wtp.builder.home}/scripts/build/buildutilitiesp2.xml"
target="finishPackages"/>
<ant
antfile="${wtp.builder.home}/scripts/build/buildutilitiesp2.xml"
target="createTraditionalZipFiles">
</ant>
</target>
<!--
Steps to do after the build is done.
-->
<target
name="prePackage">
</target>
<!-- Steps to do after running package. -->
<target
name="postPackage">
</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}/${compilelogsDir}"/>
<echo
level="debug"
message="logExtension: ${logExtension}"/>
<antcall
target="allElements">
<param
name="target"
value="gatherLogs"/>
<param
name="logExtension"
value="${logExtension}"/>
</antcall>
<unzip
dest="${buildDirectory}/${buildLabel}/${compilelogsDir}"
overwrite="true">
<fileset
dir="${buildDirectory}/features/${topLevelElementId}">
<include
name="**/*.log.zip"/>
</fileset>
</unzip>
<!--
workaround: see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=156043 and
https://bugs.eclipse.org/bugs/show_bug.cgi?id=172361 and
https://bugs.eclipse.org/bugs/show_bug.cgi?id=294070
-->
<copy
todir="${buildDirectory}/${buildLabel}/${compilelogsDir}/plugins"
overwrite="true">
<!--
we want all @dot.xml files, but assumes a certain
structure, to include directory for name of plugin
-->
<fileset
dir="${buildDirectory}/features/">
<include
name="**/*tests*feature*/feature.temp.folder/"/>
</fileset>
<compositemapper>
<mapper
type="regexp"
from="(.*)/plugins/(.*)/@dot.xml"
to="/\2/@dot.xml"/>
<mapper
type="regexp"
from="(.*)/plugins/(.*)/(.*)bin.xml"
to="/\2/\3bin.xml"/>
</compositemapper>
</copy>
</target>
<target
name="clean"
unless="noclean">
<antcall
target="allElements">
<param
name="target"
value="cleanElement"/>
</antcall>
</target>
<!--
Default target
-->
<target
name="noDefault">
<echo
level="error"
message="You must specify a target when invoking this file"/>
</target>
</project>
\ No newline at end of file
<?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">
<!--
read in this properties, just so we can make sure our
requested pre-reqs are defined via {groupId}.url
-->
<property
file="${dependency.properties}"/>
<antcall
target="getAndInstall">
<param
name="groupId"
value="emf"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="emfxsd"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="gef"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="dtp"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="e4"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="eclipseTestFramework"/>
</antcall>
</target>
<target
name="getAndInstall"
unless="skipGetAndInstall"
if="${groupId}.url">
<ant
antfile="${dependencyTargets}"
target="checkDependency">
<property
name="groupId"
value="${groupId}"/>
</ant>
<ant
antfile="${dependencyTargets}"
target="installDependency">
<property
name="groupId"
value="${groupId}"/>
<property
name="install.destination"
value="${base.install.dir}"/>
</ant>
</target>
</project>
<project
name="allElements Delegator">
<property
name="defaultAssemblyEnabled"
value="true"/>
<!--
=====================================================================
-->
<!-- Run a given ${target} on all elements being built -->
<!--
By default ${topLevelElementType} and ${topLevelElementId}
should be
-->
<!--
defined in the builder's build.properties file. You can
customize by
-->
<!-- setting the type/id values directly here. -->
<!--
You can add additional calls to ${genericTargets} to build more
top
-->
<!-- level elements. -->
<!-- -->
<!--
The top level must exist in the ${buildDirectory},
${baseLocation} or
-->
<!-- ${pluginPath} locations. -->
<!--
=====================================================================
-->
<target
name="allElementsDelegator">
<ant
antfile="${genericTargets}"
target="${target}">
<property
name="type"
value="${topLevelElementType}"/>
<property
name="id"
value="${topLevelElementId}"/>
</ant>
</target>
<!--
======================================================================
-->
<!--
The default assemble target, this will be called to assemble
each
-->
<!-- config if a custom assemble target is not defined. -->
<!-- The following properties will be defined: -->
<!--
config : The configuration being assembled eg "win32.win32.x86"
-->
<!-- element: The element being assembled eg "org.eclipse.sdk" -->
<!-- assembleScriptName: The assemble script to be called -->
<!--
======================================================================
-->
<target
name="defaultAssemble">
<echo
message="defaultAssemble assembleScriptName: ${assembleScriptName}"/>
<ant
antfile="${assembleScriptName}"
dir="${buildDirectory}"/>
</target>
<!--
=====================================================================
-->
<!-- Custom 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 for
which
-->
<!--
custom processing is desired. Replace element.id with the id of
the
-->
<!--
top level element being built. A property with a matching name
must
-->
<!--
be defined for this custom target to be called instead of the
-->
<!-- defaultAssemble target above. -->
<!-- Example: name="assemble.org.eclipse.sdk" -->
<!-- Example: name="assemble.org.eclipse.sdk.win32.win32.x86" -->
<!--
======================================================================
-->
<property
name="assemble.element.id[.config.spec]"
value="true"/>
<target
name="assemble.element.id[.config.spec]">
<ant
antfile="${assembleScriptName}"
dir="${buildDirectory}"/>
</target>
</project>
\ No newline at end of file
###############################################################################
# Copyright (c) 2003, 2010 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
###############################################################################
# This property file is used automatically by the PDE build process
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
logExtension=.xml
# 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=true
# Whether or not to fail the build if there are compiler errors
javacFailOnError=false
##################################################
# 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
sign=true
p2.gathering=true
p2.compress=true
skipMirroring=true
compilelogsDir=compilelogs
topLevelElementType=feature
topLevelElementId=org.eclipse.jst.sdk
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature
url="features/org.eclipse.jst.enterprise_ui.feature_3.2.0.qualifier.jar"
id="org.eclipse.jst.enterprise_ui.feature"
version="3.2.0.qualifier">
<category
name="Web Tools Platform (WTP) 3.2.0"/>
</feature>
<feature
url="features/org.eclipse.jsf.feature_3.2.0.qualifier.jar"
id="org.eclipse.jsf.feature"
version="3.2.0.qualifier">
<category
name="Web Tools Platform (WTP) 3.2.0"/>
</feature>
<feature
url="features/org.eclipse.jst.enterprise_sdk.feature_3.2.0.qualifier.jar"
id="org.eclipse.jst.enterprise_sdk.feature"
version="3.2.0.qualifier">
<category
name="Web Tools Platform SDK (WTP SDK) 3.2.0"/>
</feature>
<feature
url="features/org.eclipse.jsf_sdk.feature_3.2.0.qualifier.jar"
id="org.eclipse.jsf_sdk.feature"
version="3.2.0.qualifier">
<category
name="Web Tools Platform SDK (WTP SDK) 3.2.0"/>
</feature>
<feature
url="features/org.eclipse.jst.ws.jaxws_sdk.feature_1.0.0.qualifier.jar"
id="org.eclipse.jst.ws.jaxws_sdk.feature"
version="1.0.0.qualifier">
<category
name="Web Tools Platform SDK (WTP SDK) 3.2.0"/>
</feature>
<feature
url="features/org.eclipse.jst.ws.jaxws.dom_sdk.feature_1.0.0.qualifier.jar"
id="org.eclipse.jst.ws.jaxws.dom_sdk.feature"
version="1.0.0.qualifier">
<category
name="Web Tools Platform SDK (WTP SDK) 3.2.0"/>
</feature>
<feature
url="features/org.eclipse.jst.ws.cxf_sdk.feature_1.0.0.qualifier.jar"
id="org.eclipse.jst.ws.cxf_sdk.feature"
version="1.0.0.qualifier">
<category
name="Web Tools Platform SDK (WTP SDK) 3.2.0"/>
</feature>
<feature
url="features/org.eclipse.jst.jsf.apache.trinidad.tagsupport_sdk.feature_2.2.100.qualifier.jar"
id="org.eclipse.jst.jsf.apache.trinidad.tagsupport_sdk.feature"
version="2.2.100.qualifier">
<category
name="Web Tools Platform SDK (WTP SDK) 3.2.0"/>
</feature>
<feature
url="features/org.eclipse.jst.ws.axis2tools_sdk.feature_1.1.100.qualifier.jar"
id="org.eclipse.jst.ws.axis2tools_sdk.feature"
version="1.1.100.qualifier">
<category
name="Web Tools Platform SDK (WTP SDK) 3.2.0"/>
</feature>
<feature
url="features/org.eclipse.jst.webpageeditor_sdk.feature_2.3.0.qualifier.jar"
id="org.eclipse.jst.webpageeditor_sdk.feature"
version="2.3.0.qualifier">
<category
name="Web Tools Platform SDK (WTP SDK) 3.2.0"/>
</feature>
<feature
url="features/org.eclipse.jst.ws.axis2tools.feature_1.1.100.qualifier.jar"
id="org.eclipse.jst.ws.axis2tools.feature"
version="1.1.100.qualifier">
<category
name="Web Tools Platform (WTP) 3.2.0"/>
</feature>
<feature
url="features/org.eclipse.jst.webpageeditor.feature_2.3.0.qualifier.jar"
id="org.eclipse.jst.webpageeditor.feature"
version="2.3.0.qualifier">
<category
name="Web Tools Platform (WTP) 3.2.0"/>
</feature>
<feature
url="features/org.eclipse.jst.ws.jaxws.feature_1.0.0.qualifier.jar"
id="org.eclipse.jst.ws.jaxws.feature"
version="1.0.0.qualifier">
<category
name="Web Tools Platform (WTP) 3.2.0"/>
</feature>
<feature
url="features/org.eclipse.jst.ws.jaxws.dom.feature_1.0.0.qualifier.jar"
id="org.eclipse.jst.ws.jaxws.dom.feature"
version="1.0.0.qualifier">
<category
name="Web Tools Platform (WTP) 3.2.0"/>
</feature>
<feature
url="features/org.eclipse.jst.jsf.apache.trinidad.tagsupport.feature_2.2.100.qualifier.jar"
id="org.eclipse.jst.jsf.apache.trinidad.tagsupport.feature"
version="2.2.100.qualifier">
<category
name="Web Tools Platform (WTP) 3.2.0"/>
</feature>
<feature
url="features/org.eclipse.jst.ws.cxf.feature_1.0.0.qualifier.jar"
id="org.eclipse.jst.ws.cxf.feature"
version="1.0.0.qualifier">
<category
name="Web Tools Platform (WTP) 3.2.0"/>
</feature>
<category-def
name="Web Tools Platform (WTP) 3.2.0"
label="Web Tools Platform (WTP) 3.2.0">
<description>
These features provide functionality with the executable code only and are recommended for most users.
</description>
</category-def>
<category-def
name="Web Tools Platform SDK (WTP SDK) 3.2.0"
label="Web Tools Platform SDK (WTP SDK) 3.2.0">
<description>
These features provide functionality with the executable code and the source code and are recommended for those
extending or debugging
WTP.
</description>
</category-def>
</site>
<project
name="PDECustomTargets"
default="noDefault"
basedir=".">
<!--
= = = standard properties pattern = = = Note to be
cross-platform, "environment variables" are only appropriate for
some variables, e.g. ones we set, since properties are case
sensitive, even if the environment variables on your operating
system are not, e.g. it will be ${env.Path} not ${env.PATH} on
Windows
-->
<property
environment="env"/>
<!--
Let users override standard properties, if desired. If
directory, file, or some properties do not exist, then standard
properties will be used.
-->
<property
file="${env.LOCAL_BUILD_PROPERTIES_DIR}/${ant.project.name}.properties"/>
<!-- let this project specify properties, if not already set -->
<property
file="build.properties"/>
<fail
message="dependency.properties must be specified by distribution script"
unless="dependency.properties"/>
<fail
unless="buildDirectory"
message="buildDirectory must be set"/>
<echo
message="buildDirectory: ${buildDirectory}"/>
<property
name="archiveName"
value="${component}-buildrepo-${buildLabel}.zip"/>
<property
name="p2.metadata.repo.name"
value="WTP Build repository: ${buildLabel}/${component}"/>
<property
name="p2.artifact.repo.name"
value="WTP Build repository: ${buildLabel}/${component}"/>
<property
name="p2buildrepoDirectory"
value="${buildDirectory}/${buildLabel}/buildrepository/${component}/"/>
<property
name="p2.build.repo"
value="file://${p2buildrepoDirectory}/"/>
<property
name="p2.category.definition"
value="file://${wtp.builder.home}/components/${component}/category.xml"/>
<echo
message="p2.build.repo: ${p2.build.repo}"/>
<echo
message="p2.category.definition: ${p2.category.definition}"/>
<!--
Run a given ${target} on all elements being built Add on <ant>
task for each top level element being built.
-->
<available
property="allElementsFile"
file="${builder}/allElements.xml"
value="${builder}/allElements.xml"/>
<property
name="allElementsFile"
location="${eclipse.pdebuild.templates}/headless-build/allElements.xml"/>
<import
file="${allElementsFile}"/>
<target
name="allElements">
<echo
level="info"
message="target: ${target} "/>
<echo
level="info"
message="basedir: ${basedir}"/>
<echo
level="info"
message="component: ${component}"/>
<echo
level="info"
message="buildDirectory: ${buildDirectory}"/>
<echo
level="info"
message="baseLocation: ${baseLocation}"/>
<echo
level="info"
message="generic target: ${genericTargets}"/>
<echo
level="info"
message="topLevelElementId: ${topLevelElementId}"/>
<echo
message="compilerArg: ${compilerArg}"/>
<echo
message="individualSourceBundles: ${individualSourceBundles}"/>
<antcall
target="allElementsDelegator"/>
</target>
<!--
Check out map files from repository
-->
<target
name="getMapFiles">
<!-- for now, get all, at once. May componetize later. -->
<ant
antfile="${wtp.builder.home}/scripts/build/maptasks.xml"
target="fetchAllMaps"/>
</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"/>
<echo
level="debug"
message="ant.file: ${ant.file}"/>
<echo
level="debug"
message="component.dir: ${component.dir}"/>
<!-- Get the dependencies -->
<antcall
target="getDependencies"/>
</target>
<!--
=====================================================================
-->
<!-- Get the dependencies based on releng maps -->
<!--
=====================================================================
-->
<target
name="getDependencies">
<ant
antfile="${component.dir}/dependency.xml"
target="get">
<property
name="base.install.dir"
value="${buildRoot}"/>
</ant>
</target>
<!--
Steps to do before fetching the build elements
-->
<target
name="preFetch">
</target>
<target
name="postFetch">
</target>
<!--
Steps to do before the repositories are being processed
-->
<target
name="preProcessRepos">
</target>
<!--
Steps to do after the repositories have been processed
-->
<target
name="postProcessRepos">
</target>
<!--
Steps to do before generating the build scripts.
-->
<target
name="preGenerate">
</target>
<!--
Steps to do after generating the build scripts.
-->
<target
name="postGenerate">
<echo
message="buildDirectory: ${buildDirectory}"/>
<customizeAccessRules
bundleDirectory="${buildDirectory}/plugins"
defaultRules="+org/eclipse/wst/**/*, +org/eclipse/jst/**/*"/>
</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">
<ant
antfile="${wtp.builder.home}/scripts/build/buildutilitiesp2.xml"
target="conditionAndSignJars"/>
<ant
antfile="${wtp.builder.home}/scripts/build/buildutilitiesp2.xml"
target="finishPackages"/>
<ant
antfile="${wtp.builder.home}/scripts/build/buildutilitiesp2.xml"
target="createTraditionalZipFiles">
</ant>
</target>
<!--
Steps to do after the build is done.
-->
<target
name="prePackage">
</target>
<!-- Steps to do after running package. -->
<target
name="postPackage">
</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}/${compilelogsDir}"/>
<echo
level="debug"
message="logExtension: ${logExtension}"/>
<antcall
target="allElements">
<param
name="target"
value="gatherLogs"/>
<param
name="logExtension"
value="${logExtension}"/>
</antcall>
<unzip
dest="${buildDirectory}/${buildLabel}/${compilelogsDir}"
overwrite="true">
<fileset
dir="${buildDirectory}/features/${topLevelElementId}">
<include
name="**/*.log.zip"/>
</fileset>
</unzip>
<!--
workaround: see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=156043 and
https://bugs.eclipse.org/bugs/show_bug.cgi?id=172361 and
https://bugs.eclipse.org/bugs/show_bug.cgi?id=294070
-->
<copy
todir="${buildDirectory}/${buildLabel}/${compilelogsDir}/plugins"
overwrite="true">
<!--
we want all @dot.xml files, but assumes a certain
structure, to include directory for name of plugin
-->
<fileset
dir="${buildDirectory}/features/">
<include
name="**/feature.temp.folder/"/>
<exclude
name="**/*tests*feature*/feature.temp.folder/"/>
</fileset>
<compositemapper>
<mapper
type="regexp"
from="(.*)/plugins/(.*)/@dot.xml"
to="/\2/@dot.xml"/>
<mapper
type="regexp"
from="(.*)/plugins/(.*)/(.*)bin.xml"
to="/\2/\3bin.xml"/>
</compositemapper>
</copy>
</target>
<target
name="clean"
unless="noclean">
<antcall
target="allElements">
<param
name="target"
value="cleanElement"/>
</antcall>
</target>
<!--
Default target
-->
<target
name="noDefault">
<echo
level="error"
message="You must specify a target when invoking this file"/>
</target>
</project>
\ No newline at end of file
<?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">
<!--
read in this properties, just so we can make sure our
requested pre-reqs are defined via {groupId}.url
-->
<property
file="${dependency.properties}"/>
<mkdir
dir="${buildDirectory}/maps/${env.RELENG}/maps"/>
<antcall
target="getAndInstall">
<param
name="groupId"
value="orbitthirdpartymap"/>
<param
name="base.install.dir"
value="${buildDirectory}/maps/${env.RELENG}/maps/"/>
</antcall>
<property
name="pde.builder.path"
value="${env.BASE_BUILDERS}/${eclipse.builder.version}/${eclipse.builder}"/>
<echo
level="debug"
message="pde.builder.path: ${pde.builder.path}"/>
<echo
level="debug"
message="eclipse.builder.version: ${eclipse.builder.version}"/>
<echo
level="debug"
message="eclipse.builder: ${eclipse.builder}"/>
<antcall
target="getAndInstall">
<param
name="groupId"
value="emf"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="emfxsd"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="gef"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="dtp"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="e4"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="eclipseTestFramework"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="dita"/>
</antcall>
</target>
<target
name="getAndInstall"
if="${groupId}.url">
<ant
antfile="${dependencyTargets}"
target="checkDependency">
<property
name="groupId"
value="${groupId}"/>
</ant>
<ant
antfile="${dependencyTargets}"
target="installDependency">
<property
name="groupId"
value="${groupId}"/>
<property
name="install.destination"
value="${base.install.dir}"/>
</ant>
</target>
</project>
\ No newline at end of file
<project
name="allElements Delegator">
<property
name="defaultAssemblyEnabled"
value="true"/>
<!--
=====================================================================
-->
<!-- Run a given ${target} on all elements being built -->
<!--
By default ${topLevelElementType} and ${topLevelElementId}
should be
-->
<!--
defined in the builder's build.properties file. You can
customize by
-->
<!-- setting the type/id values directly here. -->
<!--
You can add additional calls to ${genericTargets} to build more
top
-->
<!-- level elements. -->
<!-- -->
<!--
The top level must exist in the ${buildDirectory},
${baseLocation} or
-->
<!-- ${pluginPath} locations. -->
<!--
=====================================================================
-->
<target
name="allElementsDelegator">
<ant
antfile="${genericTargets}"
target="${target}">
<property
name="type"
value="${topLevelElementType}"/>
<property
name="id"
value="${topLevelElementId}"/>
</ant>
</target>
<!--
======================================================================
-->
<!--
The default assemble target, this will be called to assemble
each
-->
<!-- config if a custom assemble target is not defined. -->
<!-- The following properties will be defined: -->
<!--
config : The configuration being assembled eg "win32.win32.x86"
-->
<!-- element: The element being assembled eg "org.eclipse.sdk" -->
<!-- assembleScriptName: The assemble script to be called -->
<!--
======================================================================
-->
<target
name="defaultAssemble">
<echo
message="defaultAssemble assembleScriptName: ${assembleScriptName}"/>
<ant
antfile="${assembleScriptName}"
dir="${buildDirectory}"/>
</target>
<!--
=====================================================================
-->
<!-- Custom 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 for
which
-->
<!--
custom processing is desired. Replace element.id with the id of
the
-->
<!--
top level element being built. A property with a matching name
must
-->
<!--
be defined for this custom target to be called instead of the
-->
<!-- defaultAssemble target above. -->
<!-- Example: name="assemble.org.eclipse.sdk" -->
<!-- Example: name="assemble.org.eclipse.sdk.win32.win32.x86" -->
<!--
======================================================================
-->
<property
name="assemble.element.id[.config.spec]"
value="true"/>
<target
name="assemble.element.id[.config.spec]">
<ant
antfile="${assembleScriptName}"
dir="${buildDirectory}"/>
</target>
</project>
\ No newline at end of file
###############################################################################
# Copyright (c) 2003, 2010 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
###############################################################################
# This property file is used automatically by the PDE build process
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
logExtension=.xml
# 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=true
# Whether or not to fail the build if there are compiler errors
javacFailOnError=false
##################################################
# 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
sign=false
p2.gathering=true
p2.compress=true
skipMirroring=true
compilelogsDir=testcompilelogs
topLevelElementType=feature
topLevelElementId=org.eclipse.jst.tests
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature
url="features/org.eclipse.jst.ws.jaxws_tests.feature_1.0.0.qualifier.jar"
id="org.eclipse.jst.ws.jaxws_tests.feature"
version="1.0.0.qualifier">
<category
name="Web Tools Platform Tests (WTP Tests) 3.2.0"/>
</feature>
<feature
url="features/org.eclipse.jst.ws.cxf_tests.feature_1.0.0.qualifier.jar"
id="org.eclipse.jst.ws.cxf_tests.feature"
version="1.0.0.qualifier">
<category
name="Web Tools Platform Tests (WTP Tests) 3.2.0"/>
</feature>
<feature
url="features/org.eclipse.jst.jsf.tests.feature_3.2.0.qualifier.jar"
id="org.eclipse.jst.jsf.tests.feature"
version="3.2.0.qualifier">
<category
name="Web Tools Platform Tests (WTP Tests) 3.2.0"/>
</feature>
<feature
url="features/org.eclipse.jst.web_tests.feature_3.2.0.qualifier.jar"
id="org.eclipse.jst.web_tests.feature"
version="3.2.0.qualifier">
<category
name="Web Tools Platform Tests (WTP Tests) 3.2.0"/>
</feature>
<feature
url="features/org.eclipse.jst.enterprise_tests.feature_3.2.0.qualifier.jar"
id="org.eclipse.jst.enterprise_tests.feature"
version="3.2.0.qualifier">
<category
name="Web Tools Platform Tests (WTP Tests) 3.2.0"/>
</feature>
<feature
url="features/org.eclipse.jst.server_tests.feature_3.2.0.qualifier.jar"
id="org.eclipse.jst.server_tests.feature"
version="3.2.0.qualifier">
<category
name="Web Tools Platform Tests (WTP Tests) 3.2.0"/>
</feature>
<feature
url="features/org.eclipse.jst.server_adapters.ext_tests.feature_3.2.0.qualifier.jar"
id="org.eclipse.jst.server_adapters.ext_tests.feature"
version="3.2.0.qualifier">
<category
name="Web Tools Platform Tests (WTP Tests) 3.2.0"/>
</feature>
<feature
url="features/org.eclipse.wtp.releng.tools.feature_1.1.3.qualifier.jar"
id="org.eclipse.wtp.releng.tools.feature"
version="1.1.3.qualifier">
<category
name="Web Tools Platform Tests (WTP Tests) 3.2.0"/>
</feature>
<feature
url="features/org.eclipse.jst.ws.jaxws.dom_tests.feature_1.0.0.qualifier.jar"
id="org.eclipse.jst.ws.jaxws.dom_tests.feature"
version="1.0.0.qualifier">
<category
name="Web Tools Platform Tests (WTP Tests) 3.2.0"/>
</feature>
<category-def
name="Web Tools Platform Tests (WTP Tests) 3.2.0"
label="Web Tools Platform Tests (WTP Tests) 3.2.0">
<description>
These features provide Unit tests for WTP. WTP Committers, or others testing WTP, will need these in at least
their PDE Targets.
</description>
</category-def>
</site>
<project
name="PDECustomTargets"
default="noDefault"
basedir=".">
<!--
= = = standard properties pattern = = = Note to be
cross-platform, "environment variables" are only appropriate for
some variables, e.g. ones we set, since properties are case
sensitive, even if the environment variables on your operating
system are not, e.g. it will be ${env.Path} not ${env.PATH} on
Windows
-->
<property
environment="env"/>
<!--
Let users override standard properties, if desired. If
directory, file, or some properties do not exist, then standard
properties will be used.
-->
<property
file="${env.LOCAL_BUILD_PROPERTIES_DIR}/${ant.project.name}.properties"/>
<!-- let this project specify properties, if not already set -->
<property
file="build.properties"/>
<fail
message="dependency.properties must be specified by distribution script"
unless="dependency.properties"/>
<fail
unless="buildDirectory"
message="buildDirectory must be set"/>
<echo
message="buildDirectory: ${buildDirectory}"/>
<property
name="archiveName"
value="${component}-buildrepo-${buildLabel}.zip"/>
<property
name="p2.metadata.repo.name"
value="WTP Build repository: ${buildLabel}/${component}"/>
<property
name="p2.artifact.repo.name"
value="WTP Build repository: ${buildLabel}/${component}"/>
<property
name="p2buildrepoDirectory"
value="${buildDirectory}/${buildLabel}/buildrepository/${component}/"/>
<property
name="p2.build.repo"
value="file://${p2buildrepoDirectory}/"/>
<property
name="p2.category.definition"
value="file://${wtp.builder.home}/components/${component}/category.xml"/>
<echo
message="p2.build.repo: ${p2.build.repo}"/>
<echo
message="p2.category.definition: ${p2.category.definition}"/>
<!--
Run a given ${target} on all elements being built Add on <ant>
task for each top level element being built.
-->
<available
property="allElementsFile"
file="${builder}/allElements.xml"
value="${builder}/allElements.xml"/>
<property
name="allElementsFile"
location="${eclipse.pdebuild.templates}/headless-build/allElements.xml"/>
<import
file="${allElementsFile}"/>
<target
name="allElements">
<echo
level="info"
message="target: ${target} "/>
<echo
level="info"
message="basedir: ${basedir}"/>
<echo
level="info"
message="component: ${component}"/>
<echo
level="info"
message="buildDirectory: ${buildDirectory}"/>
<echo
level="info"
message="baseLocation: ${baseLocation}"/>
<echo
level="info"
message="generic target: ${genericTargets}"/>
<echo
level="info"
message="topLevelElementId: ${topLevelElementId}"/>
<echo
message="compilerArg: ${compilerArg}"/>
<echo
message="individualSourceBundles: ${individualSourceBundles}"/>
<antcall
target="allElementsDelegator"/>
</target>
<!--
Check out map files from repository
-->
<target
name="getMapFiles">
<!-- for now, get all, at once. May componetize later. -->
<ant
antfile="${wtp.builder.home}/scripts/build/maptasks.xml"
target="fetchAllMaps"/>
</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"/>
<echo
level="debug"
message="ant.file: ${ant.file}"/>
<echo
level="debug"
message="component.dir: ${component.dir}"/>
<!-- Get the dependencies -->
<antcall
target="getDependencies"/>
</target>
<!--
=====================================================================
-->
<!-- Get the dependencies based on releng maps -->
<!--
=====================================================================
-->
<target
name="getDependencies">
<ant
antfile="${component.dir}/dependency.xml"
target="get">
<property
name="base.install.dir"
value="${buildRoot}"/>
</ant>
</target>
<!--
Steps to do before fetching the build elements
-->
<target
name="preFetch">
</target>
<target
name="postFetch">
</target>
<!--
Steps to do before the repositories are being processed
-->
<target
name="preProcessRepos">
</target>
<!--
Steps to do after the repositories have been processed
-->
<target
name="postProcessRepos">
</target>
<!--
Steps to do before generating the build scripts.
-->
<target
name="preGenerate">
</target>
<!--
Steps to do after generating the build scripts.
-->
<target
name="postGenerate">
<echo
message="buildDirectory: ${buildDirectory}"/>
<customizeAccessRules
bundleDirectory="${buildDirectory}/plugins"
defaultRules="+org/eclipse/wst/**/*, +org/eclipse/jst/**/*"/>
</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">
<ant
antfile="${wtp.builder.home}/scripts/build/buildutilitiesp2.xml"
target="conditionAndSignJars"/>
<ant
antfile="${wtp.builder.home}/scripts/build/buildutilitiesp2.xml"
target="finishPackages"/>
<ant
antfile="${wtp.builder.home}/scripts/build/buildutilitiesp2.xml"
target="createTraditionalZipFiles">
</ant>
</target>
<!--
Steps to do after the build is done.
-->
<target
name="prePackage">
</target>
<!-- Steps to do after running package. -->
<target
name="postPackage">
</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}/${compilelogsDir}"/>
<echo
level="debug"
message="logExtension: ${logExtension}"/>
<antcall
target="allElements">
<param
name="target"
value="gatherLogs"/>
<param
name="logExtension"
value="${logExtension}"/>
</antcall>
<unzip
dest="${buildDirectory}/${buildLabel}/${compilelogsDir}"
overwrite="true">
<fileset
dir="${buildDirectory}/features/${topLevelElementId}">
<include
name="**/*.log.zip"/>
</fileset>
</unzip>
<!--
workaround: see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=156043 and
https://bugs.eclipse.org/bugs/show_bug.cgi?id=172361 and
https://bugs.eclipse.org/bugs/show_bug.cgi?id=294070
-->
<copy
todir="${buildDirectory}/${buildLabel}/${compilelogsDir}/plugins"
overwrite="true">
<!--
we want all @dot.xml files, but assumes a certain
structure, to include directory for name of plugin
-->
<fileset
dir="${buildDirectory}/features/">
<include
name="**/*tests*feature*/feature.temp.folder/"/>
</fileset>
<compositemapper>
<mapper
type="regexp"
from="(.*)/plugins/(.*)/@dot.xml"
to="/\2/@dot.xml"/>
<mapper
type="regexp"
from="(.*)/plugins/(.*)/(.*)bin.xml"
to="/\2/\3bin.xml"/>
</compositemapper>
</copy>
</target>
<target
name="clean"
unless="noclean">
<antcall
target="allElements">
<param
name="target"
value="cleanElement"/>
</antcall>
</target>
<!--
Default target
-->
<target
name="noDefault">
<echo
level="error"
message="You must specify a target when invoking this file"/>
</target>
</project>
\ No newline at end of file
<?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">
<!--
read in this properties, just so we can make sure our
requested pre-reqs are defined via {groupId}.url
-->
<property
file="${dependency.properties}"/>
<mkdir
dir="${buildDirectory}/maps/${env.RELENG}/maps"/>
<property
name="pde.builder.path"
value="${env.BASE_BUILDERS}/${eclipse.builder.version}/${eclipse.builder}"/>
<echo
level="debug"
message="pde.builder.path: ${pde.builder.path}"/>
<echo
level="debug"
message="eclipse.builder.version: ${eclipse.builder.version}"/>
<echo
level="debug"
message="eclipse.builder: ${eclipse.builder}"/>
<antcall
target="getAndInstall">
<param
name="groupId"
value="orbitthirdpartymap"/>
<param
name="base.install.dir"
value="${buildDirectory}/maps/${env.RELENG}/maps/"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="emf"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="emfxsd"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="gef"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="dtp"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="e4"/>
</antcall>
<antcall
target="getAndInstall">
<param
name="groupId"
value="eclipseTestFramework"/>
</antcall>
</target>
<target
name="getAndInstall"
if="${groupId}.url">
<ant
antfile="${dependencyTargets}"
target="checkDependency">
<property
name="groupId"
value="${groupId}"/>
</ant>
<ant
antfile="${dependencyTargets}"
target="installDependency">
<property
name="groupId"
value="${groupId}"/>
<property
name="install.destination"
value="${base.install.dir}"/>
</ant>
</target>
</project>
\ No newline at end of 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