This commit was manufactured by cvs2svn to create branch
'R1_5_5_patches_patches'.
diff --git a/releng.wtpbuilder/.cache/.cvsignore b/releng.wtpbuilder/.cache/.cvsignore
new file mode 100644
index 0000000..03de8ac
--- /dev/null
+++ b/releng.wtpbuilder/.cache/.cvsignore
@@ -0,0 +1 @@
+.dataModel
diff --git a/releng.wtpbuilder/.cvsignore b/releng.wtpbuilder/.cvsignore
new file mode 100644
index 0000000..d59b24d
--- /dev/null
+++ b/releng.wtpbuilder/.cvsignore
@@ -0,0 +1,2 @@
+.cache
+.cache/.dataModel
\ No newline at end of file
diff --git a/releng.wtpbuilder/.project b/releng.wtpbuilder/.project
index ab26697..92eabd2 100644
--- a/releng.wtpbuilder/.project
+++ b/releng.wtpbuilder/.project
@@ -1,10 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
- <name>releng.wtpbuilder R1_5_5_patches</name>
+ <name>releng.wtpbuilder</name>
<comment></comment>
<projects></projects>
<buildSpec>
+ <buildCommand>
+ <name>
+ org.eclipse.php.core.PhpIncrementalProjectBuilder
+ </name>
+ <arguments></arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments></arguments>
+ </buildCommand>
</buildSpec>
<natures>
+ <nature>org.eclipse.php.core.PHPNature</nature>
</natures>
-</projectDescription>
\ No newline at end of file
+</projectDescription>
diff --git a/releng.wtpbuilder/.settings/org.eclipse.core.resources.prefs b/releng.wtpbuilder/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..c8361d7
--- /dev/null
+++ b/releng.wtpbuilder/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Tue Apr 25 23:14:35 EDT 2006
+eclipse.preferences.version=1
+encoding/<project>=ISO-8859-1
diff --git a/releng.wtpbuilder/.settings/org.eclipse.core.runtime.prefs b/releng.wtpbuilder/.settings/org.eclipse.core.runtime.prefs
new file mode 100644
index 0000000..97e8c82
--- /dev/null
+++ b/releng.wtpbuilder/.settings/org.eclipse.core.runtime.prefs
@@ -0,0 +1,3 @@
+#Sat Jun 30 23:53:40 EDT 2007
+eclipse.preferences.version=1
+line.separator=\n
diff --git a/releng.wtpbuilder/.settings/org.eclipse.php.core.prefs b/releng.wtpbuilder/.settings/org.eclipse.php.core.prefs
new file mode 100644
index 0000000..7f1ff5f
--- /dev/null
+++ b/releng.wtpbuilder/.settings/org.eclipse.php.core.prefs
@@ -0,0 +1,4 @@
+#Sun Sep 30 02:13:25 EDT 2007
+eclipse.preferences.version=1
+phpVersion=php5
+use_asp_tags_as_php=false
diff --git a/releng.wtpbuilder/build.properties b/releng.wtpbuilder/build.properties
new file mode 100644
index 0000000..4612d01
--- /dev/null
+++ b/releng.wtpbuilder/build.properties
@@ -0,0 +1,31 @@
+
+# This is the eclipse releng driver
+# It is only used to drive the build process
+# it must be relative to the build home
+#
+
+# uncomment if its desired to skip unit tests
+# (if not already defined from elsewhere)
+# skipUnitTests=yes
+
+#
+# in 3.2 based builds, this version is no longer appended to
+# pde builder directory name.
+#eclipse.base.version=3.1.0
+
+archivesFormat=*,*,*-antZip
+
+logExtension=.xml
+# 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
+# javacFailOnError must be false otherwise the
+# build will terminated at the first compile error
+javacFailOnError=false
+javacDebugInfo=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
+#############################################################
diff --git a/releng.wtpbuilder/build.xml b/releng.wtpbuilder/build.xml
new file mode 100644
index 0000000..2851fcd
--- /dev/null
+++ b/releng.wtpbuilder/build.xml
@@ -0,0 +1,197 @@
+<project
+ name="build"
+ default="build"
+ 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" />
+
+ <property name="keyCfgFile" value="${env.PROJECT_BUILDERS}/${projectname}/${env.RELENG}/maps/build.cfg" />
+ <echo message="keyCfgFile: ${keyCfgFile}" />
+ <property
+ file="${keyCfgFile}" />
+
+ <property
+ file="${ant.project.name}.properties" />
+
+ <!-- = = = end standard properties pattern = = = -->
+
+ <fail unless="build.distribution" message="distribution must be specified" />
+ <echo message="build.distribution: ${build.distribution}" />
+
+ <target
+ name="build"
+ depends="init"
+ if="build_distro_target_exists">
+ <property
+ name="buildfile"
+ value="${wtp.builder.home}/distribution/${build.distribution}.build/build.xml" />
+ <echo
+ level="info"
+ message="buildfile: ${buildfile}" />
+ <ant
+ antfile="${buildfile}" />
+ </target>
+ <target
+ name="site"
+ depends="init"
+ if="site_distro_target_exists">
+ <ant
+ antfile="${wtp.builder.home}/distribution/${build.distribution}.site/build.xml">
+ </ant>
+ </target>
+ <target
+ name="test"
+ depends="init"
+ if="tests_distro_target_exists">
+ <ant
+ antfile="${wtp.builder.home}/distribution/${build.distribution}.tests/build.xml">
+ <property
+ name="testRoot"
+ value="${env.PROJECT_TESTS}/${projectname}" />
+ <property
+ name="dependencyTargets"
+ value="${wtp.builder.home}/scripts/dependency/build.xml" />
+ <property
+ name="local.cache.dir"
+ value="${env.LOCAL_PREREQS_CACHE}" />
+ </ant>
+ </target>
+ <target
+ name="upload"
+ depends="init"
+ if="upload_distro_target_exists">
+ <ant
+ antfile="${wtp.builder.home}/distribution/${build.distribution}.upload/build.xml" />
+ </target>
+ <target
+ name="copyArtifacts"
+ depends="init">
+ <mkdir
+ dir="${localStampedArtifactsDirectory}" />
+ <mkdir
+ dir="${localStampedArtifactsDirectory}/${buildLabel}" />
+ <copy
+ todir="${localStampedArtifactsDirectory}/${buildLabel}"
+ overwrite="true">
+ <fileset
+ dir="${buildDirectory}/${buildLabel}" />
+ </copy>
+ </target>
+ <target
+ name="init">
+ <dirname
+ file="${ant.file}"
+ property="wtp.builder.home" />
+ <condition
+ property="buildBranch"
+ value="R3.0">
+ <equals
+ arg1="${mapVersionTag}"
+ arg2="HEAD" />
+ </condition>
+ <condition
+ property="buildBranch"
+ value="R0.7">
+ <equals
+ arg1="${mapVersionTag}"
+ arg2="R0_7_maintenance" />
+ </condition>
+ <condition
+ property="buildBranch"
+ value="R1.0">
+ <equals
+ arg1="${mapVersionTag}"
+ arg2="R1_0_maintenance" />
+ </condition>
+ <condition
+ property="buildBranch"
+ value="R1.5">
+ <equals
+ arg1="${mapVersionTag}"
+ arg2="R1_5_maintenance" />
+ </condition>
+ <condition
+ property="buildBranch"
+ value="R1.5">
+ <equals
+ arg1="${mapVersionTag}"
+ arg2="R1_5_5_patches" />
+ </condition>
+ <condition
+ property="buildBranch"
+ value="R2.0">
+ <equals
+ arg1="${mapVersionTag}"
+ arg2="R2_0_maintenance" />
+ </condition>
+ <!-- if not set above, assume R3.0 -->
+ <!-- this happens, for example, when using a "tempTest" branch -->
+ <property
+ name="buildBranch"
+ value="R3.0" />
+ <touch
+ file="${user.home}/.cvspass" />
+
+ <!-- strip trailing blanks. Seems either Eclipse, or CVS make it hard to not have trailing spaces -->
+ <replaceregexp
+ flags="gm"
+ file="${wtp.builder.home}/build.properties"
+ match=" *$"
+ replace="" />
+ <property
+ file="${wtp.builder.home}/build.properties" />
+ <ant
+ antfile="${wtp.builder.home}/scripts/build/label.xml" />
+ <property
+ file="${buildDirectory}/label.properties" />
+ <property
+ name="build.distribution"
+ value="${wtp.builder.home}/distribution/${wtp.builder.home}/distribution/${build.distribution}" />
+ <available
+ file="${wtp.builder.home}/distribution/${build.distribution}.build/build.xml"
+ type="file"
+ property="build_distro_target_exists" />
+ <available
+ file="${wtp.builder.home}/distribution/${build.distribution}.site/build.xml"
+ type="file"
+ property="site_distro_target_exists" />
+ <available
+ file="${wtp.builder.home}/distribution/${build.distribution}.tests/build.xml"
+ type="file"
+ property="tests_distro_target_exists" />
+ <available
+ file="${wtp.builder.home}/distribution/${build.distribution}.upload/build.xml"
+ type="file"
+ property="upload_distro_target_exists" />
+
+ <!--fetch the HEAD stream of all projects if build type specified as N-->
+ <condition
+ property="fetchTag"
+ value="HEAD">
+ <equals
+ arg1="${buildType}"
+ arg2="N" />
+ </condition>
+ <condition
+ property="tagMaps">
+ <equals
+ arg1="${build.trial}"
+ arg2="false" />
+ </condition>
+ </target>
+</project>
\ No newline at end of file
diff --git a/releng.wtpbuilder/components/dali-sdk/build.properties b/releng.wtpbuilder/components/dali-sdk/build.properties
new file mode 100644
index 0000000..81ef1bf
--- /dev/null
+++ b/releng.wtpbuilder/components/dali-sdk/build.properties
@@ -0,0 +1,36 @@
+###############################################################################
+# 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
+
+# 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
+logExtension=.xml
+# 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
+
diff --git a/releng.wtpbuilder/components/dali-sdk/customTargets.xml b/releng.wtpbuilder/components/dali-sdk/customTargets.xml
new file mode 100644
index 0000000..90882c4
--- /dev/null
+++ b/releng.wtpbuilder/components/dali-sdk/customTargets.xml
@@ -0,0 +1,400 @@
+<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" />
+
+
+ <property
+ name="cvsProtocol"
+ value="${env.BUILD_CVS_WRITE_PROTOCOL}" />
+ <property
+ name="cvsUser"
+ value="${env.BUILD_CVS_WRITE_USER}" />
+ <property
+ name="cvsServer"
+ value="${env.BUILD_CVS_SERVER}" />
+ <property
+ name="cvsRoot"
+ value="${env.BUILD_CVS_ROOT}" />
+
+ <!-- ===================================================================== -->
+ <!-- Run a given ${target} on all elements being built -->
+ <!-- Add on <ant> task for each top level element being built. -->
+ <!-- ===================================================================== -->
+ <target name="allElements">
+ <echo
+ level="info"
+ message="Target:${target} " />
+ <echo
+ level="debug"
+ message="basedir: ${basedir}" />
+ <echo
+ level="debug"
+ message="buildDirectory: ${buildDirectory}" />
+ <echo
+ level="debug"
+ message="baseLocation: ${baseLocation}" />
+ <echo
+ level="debug"
+ message="generic target: ${genericTargets}" />
+ <ant
+ antfile="${genericTargets}"
+ target="${target}">
+ <property
+ name="type"
+ value="feature" />
+ <property
+ name="id"
+ value="org.eclipse.jpt.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.jpt.sdk">
+ <property
+ name="archiveName"
+ value="wtp-jpt-sdk-${buildLabel}.zip" />
+ <ant
+ antfile="${assembleScriptName}"
+ dir="${buildDirectory}" />
+ </target>
+
+ <target name="prePackage" />
+
+ <target name="postPackage">
+ <property
+ name="archiveName"
+ value="wtp-jpt-sdk-${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/${env.RELENGDALI}" />
+ </target>
+ <target
+ name="getMapFiles"
+ depends="checkLocal"
+ unless="mapsLocal">
+
+ <!-- *** change the repo info -->
+ <property
+ name="mapCvsRoot"
+ value=":${cvsProtocol}:${cvsUser}@${cvsServer}:${cvsRoot}" />
+
+ <!-- if not otherwise set, use these default values -->
+ <property
+ name="mapVersionTag"
+ value="HEAD" />
+ <property
+ name="releng.dali-mapVersionTag"
+ value="HEAD" />
+
+ <!-- get primary maps first, since if there happens to be
+ duplicates, the first one "wins" (such as for dependancies.properties)
+ -->
+
+ <!-- get releng maps -->
+ <antcall target="checkOutMaps">
+ <param
+ name="cvsPackage"
+ value="${env.RELENG}" />
+ <param
+ name="versionTagParam"
+ value="${mapVersionTag}" />
+ </antcall>
+
+ <!-- get releng.dali/maps -->
+ <antcall target="checkOutMaps">
+ <param
+ name="cvsPackage"
+ value="${env.RELENGDALI}" />
+ <param
+ name="versionTagParam"
+ value="${releng.dali-mapVersionTag}" />
+ </antcall>
+
+ <!-- tag the map files project -->
+ <antcall target="tagMapFiles">
+ <param
+ name="mapCvsRoot"
+ value="${mapCvsRoot}" />
+ </antcall>
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Check out the cvsPackage -->
+ <!-- ===================================================================== -->
+ <target name="checkOutMaps">
+ <echo
+ level="info"
+ message="mapCvsRoot: ${mapCvsRoot}" />
+ <echo
+ level="info"
+ message="cvsPackage = ${cvsPackage} " />
+ <echo
+ level="info"
+ message="versionTagParam: ${versionTagParam}" />
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${cvsPackage}"
+ dest="${buildDirectory}/maps"
+ tag="${versionTagParam}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Tag Map Files mapCvsRoot -->
+ <!-- ===================================================================== -->
+ <target
+ name="tagMapFiles"
+ if="tagMaps">
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ dest="${buildDirectory}/maps"
+ command="tag v${buildType}${timestamp}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ </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}" />
+
+ <condition
+ property="daliLocalBuild"
+ value="true">
+ <equals
+ arg1="${build.distribution}"
+ arg2="dali"
+ casesensitive="false"
+ trim="true" />
+ </condition>
+
+ <!-- Get the dependencies -->
+ <antcall target="getDependencies" />
+
+ <!-- Get Dali dependencies -->
+ <antcall target="getDaliLocalDependencies" />
+
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Get the dependencies based on releng maps -->
+ <!-- ===================================================================== -->
+ <target name="getDependencies">
+
+ <ant
+ antfile="${component.dir}/dependency.xml"
+ target="get">
+ <property
+ name="dependency.properties"
+ value="${buildDirectory}/maps/${env.RELENG}/maps/dependencies.properties" />
+ <property
+ name="base.install.dir"
+ value="${buildRoot}" />
+ </ant>
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Get Dali dependencies based on releng.dali maps -->
+ <!-- ===================================================================== -->
+ <target
+ name="getDaliLocalDependencies"
+ if="daliLocalBuild">
+
+ <ant
+ antfile="${component.dir}/localDependency.xml"
+ target="get">
+ <property
+ name="dependency.properties"
+ value="${buildDirectory}/maps/${env.RELENGDALI}/maps/dali.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="postGenerate">
+ <customizeAccessRules
+ bundleDirectory="${buildDirectory}/plugins"
+ defaultRules="+org/eclipse/wst/**/*, +org/eclipse/jst/**/*" />
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after generating the build scripts. -->
+ <!-- ===================================================================== -->
+ <target name="preGenerate"></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 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" />
+ <echo
+ level="debug"
+ message="logExtension: ${logExtension}" />
+ <antcall target="allElements">
+ <param
+ name="target"
+ value="gatherLogs" />
+ <param
+ name="logExtension"
+ value="${logExtension}" />
+ </antcall>
+ <unzip
+ dest="${buildDirectory}/${buildLabel}/compilelogs"
+ overwrite="true">
+ <fileset
+ dir="${buildDirectory}/features/org.eclipse.jpt.sdk">
+ <include name="**/*.log.zip" />
+ </fileset>
+ </unzip>
+ </target>
+
+ <target
+ name="clean"
+ unless="noclean">
+ <antcall target="allElements">
+ <param
+ name="target"
+ value="cleanElement" />
+ </antcall>
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Default target -->
+ <!-- ===================================================================== -->
+ <target name="noDefault">
+ <echo
+ level="error"
+ message="You must specify a target when invoking this file" />
+ </target>
+
+</project>
diff --git a/releng.wtpbuilder/components/dali-sdk/dependency.xml b/releng.wtpbuilder/components/dali-sdk/dependency.xml
new file mode 100644
index 0000000..badfc5e
--- /dev/null
+++ b/releng.wtpbuilder/components/dali-sdk/dependency.xml
@@ -0,0 +1,67 @@
+<?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="emf" />
+ </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="eclipse" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="eclipseTestFramework" />
+ </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>
+
diff --git a/releng.wtpbuilder/components/dali-sdk/localDependency.xml b/releng.wtpbuilder/components/dali-sdk/localDependency.xml
new file mode 100644
index 0000000..66e82d4
--- /dev/null
+++ b/releng.wtpbuilder/components/dali-sdk/localDependency.xml
@@ -0,0 +1,44 @@
+<?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="wtp" />
+ </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>
diff --git a/releng.wtpbuilder/components/dali.tests/build.properties b/releng.wtpbuilder/components/dali.tests/build.properties
new file mode 100644
index 0000000..00400ad
--- /dev/null
+++ b/releng.wtpbuilder/components/dali.tests/build.properties
@@ -0,0 +1,35 @@
+###############################################################################
+# 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
+
+# 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
+logExtension=.xml
+# 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
diff --git a/releng.wtpbuilder/components/dali.tests/customTargets.xml b/releng.wtpbuilder/components/dali.tests/customTargets.xml
new file mode 100644
index 0000000..c25f15f
--- /dev/null
+++ b/releng.wtpbuilder/components/dali.tests/customTargets.xml
@@ -0,0 +1,440 @@
+<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" />
+
+
+ <property
+ name="cvsProtocol"
+ value="${env.BUILD_CVS_WRITE_PROTOCOL}" />
+ <property
+ name="cvsUser"
+ value="${env.BUILD_CVS_WRITE_USER}" />
+ <property
+ name="cvsServer"
+ value="${env.BUILD_CVS_SERVER}" />
+ <property
+ name="cvsRoot"
+ value="${env.BUILD_CVS_ROOT}" />
+
+ <!-- ===================================================================== -->
+ <!-- Run a given ${target} on all elements being built -->
+ <!-- Add on <ant> task for each top level element being built. -->
+ <!-- ===================================================================== -->
+ <target name="allElements">
+ <echo
+ level="info"
+ message="Target: ${target} " />
+ <echo
+ level="debug"
+ message="basedir: ${basedir}" />
+ <echo
+ level="debug"
+ message="buildDirectory: ${buildDirectory}" />
+ <echo
+ level="debug"
+ message="baseLocation: ${baseLocation}" />
+ <echo
+ level="debug"
+ message="generic target: ${genericTargets}" />
+ <ant
+ antfile="${genericTargets}"
+ target="${target}">
+ <property
+ name="type"
+ value="feature" />
+ <property
+ name="id"
+ value="org.eclipse.jpt.tests" />
+ </ant>
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Targets to assemble the built elements for particular configurations -->
+ <!-- These generally call the generated assemble scripts (named in -->
+ <!-- ${assembleScriptName}) but may also add pre and post processing -->
+ <!-- Add one target for each root element and each configuration -->
+ <!-- ===================================================================== -->
+
+ <target name="assemble.org.eclipse.jpt.tests">
+ <property
+ name="archiveName"
+ value="wtp-jpt-Automated-Tests-${buildLabel}.zip" />
+ <ant
+ antfile="${assembleScriptName}"
+ dir="${buildDirectory}" />
+
+ </target>
+
+ <target name="prePackage" />
+
+
+ <target name="postPackage">
+ <property
+ name="archiveName"
+ value="wtp-jpt-Automated-Tests-${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/${env.RELENGDALI}" />
+ </target>
+
+ <target
+ name="getMapFiles"
+ depends="checkLocal"
+ unless="mapsLocal">
+
+ <!-- *** change the repo info -->
+ <property
+ name="mapCvsRoot"
+ value=":${cvsProtocol}:${cvsUser}@${cvsServer}:${cvsRoot}" />
+
+ <!-- if not otherwise set, use these default values -->
+ <property
+ name="mapVersionTag"
+ value="HEAD" />
+ <property
+ name="releng.dali-mapVersionTag"
+ value="HEAD" />
+
+ <!-- get primary maps first, since if there happens to be
+ duplicates, the first one "wins" (such as for dependancies.properties)
+ -->
+
+ <!-- get releng maps -->
+ <antcall target="checkOutMaps">
+ <param
+ name="cvsPackage"
+ value="${env.RELENG}" />
+ <param
+ name="versionTagParam"
+ value="${mapVersionTag}" />
+ </antcall>
+
+ <!-- get releng.dali/maps -->
+ <antcall target="checkOutMaps">
+ <param
+ name="cvsPackage"
+ value="${env.RELENGDALI}" />
+ <param
+ name="versionTagParam"
+ value="${releng.dali-mapVersionTag}" />
+ </antcall>
+
+ <!-- tag the map files project -->
+ <antcall target="tagMapFiles">
+ <param
+ name="mapCvsRoot"
+ value="${mapCvsRoot}" />
+ </antcall>
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Check out the cvsPackage -->
+ <!-- ===================================================================== -->
+ <target name="checkOutMaps">
+ <echo
+ level="info"
+ message="mapCvsRoot: ${mapCvsRoot}" />
+ <echo
+ level="info"
+ message="cvsPackage = ${cvsPackage} " />
+ <echo
+ level="info"
+ message="versionTagParam: ${versionTagParam}" />
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${cvsPackage}"
+ dest="${buildDirectory}/maps"
+ tag="${versionTagParam}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Tag Map Files mapCvsRoot -->
+ <!-- ===================================================================== -->
+ <target
+ name="tagMapFiles"
+ if="tagMaps">
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ dest="${buildDirectory}/maps"
+ command="tag v${buildType}${timestamp}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ </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}" />
+
+ <property
+ name="dependencies.combined"
+ value="dependencies.combined.properties" />
+
+ <!-- Combine releng and releng.dali -->
+ <delete
+ file="${buildDirectory}/maps/${env.RELENGDALI}/maps/${dependencies.combined}"
+ failonerror="false" />
+ <concat
+ destfile="${buildDirectory}/maps/${env.RELENGDALI}/maps/${dependencies.combined}">
+ <fileset dir="${buildDirectory}/maps">
+ <include
+ name="${env.RELENG}/maps/dependencies.properties" />
+ <include
+ name="${env.RELENGDALI}/maps/dali.dependencies.properties" />
+ </fileset>
+ </concat>
+
+ <ant
+ antfile="${component.dir}/dependency.xml"
+ target="get">
+ <property
+ name="dependency.properties"
+ value="${buildDirectory}/maps/${env.RELENGDALI}/maps/${dependencies.combined}" />
+ <property
+ name="base.install.dir"
+ value="${buildRoot}" />
+ </ant>
+ <!--fetch the additional pieces to build tests -->
+ <property
+ name="featureOnly"
+ value="false" />
+ <property
+ name="featureAndPlugins"
+ value="true" />
+ <property
+ name="featuresRecursively"
+ value="true" />
+
+ <ant
+ antfile="${genericTargets}"
+ dir="${pde.build.scripts}"
+ target="fetchElement">
+ <property
+ name="type"
+ value="feature" />
+ <property
+ name="id"
+ value="org.eclipse.jpt.feature" />
+ </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="postGenerate">
+ <customizeAccessRules
+ bundleDirectory="${buildDirectory}/plugins"
+ defaultRules="+org/eclipse/wst/**/*, +org/eclipse/jst/**/*" />
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after generating the build scripts. -->
+ <!-- ===================================================================== -->
+ <target name="preGenerate"></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 test the build results -->
+ <!-- ===================================================================== -->
+ <target
+ name="test"
+ unless="dontRunTests">
+ <property
+ name="eclipseAutomatedTestHome"
+ value="${buildDirectory}/plugins/org.eclipse.jpt.utility.tests" />
+
+ <echo
+ level="info"
+ message="Setting up tests in ${eclipseAutomatedTestHome}" />
+
+ <copy
+ file="${buildDirectory}/${buildLabel}/wtp-jpt-${buildLabel}.zip"
+ tofile="${eclipseAutomatedTestHome}/eclipse-SDK-wtp-jpt-${buildLabel}.zip" />
+ <copy
+ file="${buildDirectory}/${buildLabel}/wtp-jpt-Automated-Tests-${buildLabel}.zip"
+ tofile="${eclipseAutomatedTestHome}/eclipse-junit-tests-wtp-jpt-${buildLabel}.zip" />
+
+ <ant
+ antfile="${eclipseAutomatedTestHome}/test.xml"
+ target="run"
+ dir="${eclipseAutomatedTestHome}">
+ <property
+ name="os"
+ value="${baseos}" />
+ <property
+ name="ws"
+ value="${basews}" />
+ <property
+ name="arch"
+ value="${basearch}" />
+ <property
+ name="eclipse-home"
+ value="${baseLocation}" />
+ </ant>
+
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do to publish the build results -->
+ <!-- ===================================================================== -->
+ <target name="publish"></target>
+
+
+
+ <!-- ===================================================================== -->
+ <!-- Helper targets -->
+ <!-- ===================================================================== -->
+ <target
+ name="gatherLogs"
+ if="logsAvailable">
+ <mkdir dir="${buildDirectory}/${buildLabel}/testcompilelogs" />
+ <echo
+ level="debug"
+ message="logExtension: ${logExtension}" />
+ <antcall target="allElements">
+ <param
+ name="target"
+ value="gatherLogs" />
+ <param
+ name="logExtension"
+ value="${logExtension}" />
+ </antcall>
+ <unzip
+ dest="${buildDirectory}/${buildLabel}/testcompilelogs"
+ overwrite="true">
+ <fileset
+ dir="${buildDirectory}/features/org.eclipse.jpt.tests">
+ <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
+ level="error"
+ message="You must specify a target when invoking this file" />
+ </target>
+
+</project>
diff --git a/releng.wtpbuilder/components/dali.tests/dependency.xml b/releng.wtpbuilder/components/dali.tests/dependency.xml
new file mode 100644
index 0000000..46cd72e
--- /dev/null
+++ b/releng.wtpbuilder/components/dali.tests/dependency.xml
@@ -0,0 +1,70 @@
+<?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="emf" />
+ </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="eclipse" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="eclipseTestFramework" />
+ </antcall>
+
+ </target>
+
+
+ <target
+ name="getAndInstall"
+ unless="skipGetAndInstall">
+
+ <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>
diff --git a/releng.wtpbuilder/components/dali/build.properties b/releng.wtpbuilder/components/dali/build.properties
new file mode 100644
index 0000000..81ef1bf
--- /dev/null
+++ b/releng.wtpbuilder/components/dali/build.properties
@@ -0,0 +1,36 @@
+###############################################################################
+# 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
+
+# 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
+logExtension=.xml
+# 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
+
diff --git a/releng.wtpbuilder/components/dali/customTargets.xml b/releng.wtpbuilder/components/dali/customTargets.xml
new file mode 100644
index 0000000..1206d18
--- /dev/null
+++ b/releng.wtpbuilder/components/dali/customTargets.xml
@@ -0,0 +1,401 @@
+<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" />
+
+
+ <property
+ name="cvsProtocol"
+ value="${env.BUILD_CVS_WRITE_PROTOCOL}" />
+ <property
+ name="cvsUser"
+ value="${env.BUILD_CVS_WRITE_USER}" />
+ <property
+ name="cvsServer"
+ value="${env.BUILD_CVS_SERVER}" />
+ <property
+ name="cvsRoot"
+ value="${env.BUILD_CVS_ROOT}" />
+
+ <!-- ===================================================================== -->
+ <!-- Run a given ${target} on all elements being built -->
+ <!-- Add on <ant> task for each top level element being built. -->
+ <!-- ===================================================================== -->
+ <target name="allElements">
+ <echo
+ level="info"
+ message="Target: ${target} " />
+ <echo
+ level="debug"
+ message="basedir: ${basedir}" />
+ <echo
+ level="debug"
+ message="buildDirectory: ${buildDirectory}" />
+ <echo
+ level="debug"
+ message="baseLocation: ${baseLocation}" />
+ <echo
+ level="debug"
+ message="generic target: ${genericTargets}" />
+ <ant
+ antfile="${genericTargets}"
+ target="${target}">
+ <property
+ name="type"
+ value="feature" />
+ <property
+ name="id"
+ value="org.eclipse.jpt" />
+ </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.jpt">
+ <property
+ name="archiveName"
+ value="wtp-jpt-${buildLabel}.zip" />
+ <ant
+ antfile="${assembleScriptName}"
+ dir="${buildDirectory}" />
+ </target>
+
+ <target name="prePackage" />
+
+ <target name="postPackage">
+ <property
+ name="archiveName"
+ value="wtp-jpt-${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/${env.RELENGDALI}" />
+ </target>
+
+ <target
+ name="getMapFiles"
+ depends="checkLocal"
+ unless="mapsLocal">
+
+ <!-- *** change the repo info -->
+ <property
+ name="mapCvsRoot"
+ value=":${cvsProtocol}:${cvsUser}@${cvsServer}:${cvsRoot}" />
+
+ <!-- if not otherwise set, use these default values -->
+ <property
+ name="mapVersionTag"
+ value="HEAD" />
+ <property
+ name="releng.dali-mapVersionTag"
+ value="HEAD" />
+
+ <!-- get primary maps first, since if there happens to be
+ duplicates, the first one "wins" (such as for dependancies.properties)
+ -->
+
+ <!-- get releng maps -->
+ <antcall target="checkOutMaps">
+ <param
+ name="cvsPackage"
+ value="${env.RELENG}" />
+ <param
+ name="versionTagParam"
+ value="${mapVersionTag}" />
+ </antcall>
+
+ <!-- get releng.dali/maps -->
+ <antcall target="checkOutMaps">
+ <param
+ name="cvsPackage"
+ value="${env.RELENGDALI}" />
+ <param
+ name="versionTagParam"
+ value="${releng.dali-mapVersionTag}" />
+ </antcall>
+
+
+ <!-- tag the map files project -->
+ <antcall target="tagMapFiles">
+ <param
+ name="mapCvsRoot"
+ value="${mapCvsRoot}" />
+ </antcall>
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Check out the cvsPackage -->
+ <!-- ===================================================================== -->
+ <target name="checkOutMaps">
+ <echo
+ level="info"
+ message="mapCvsRoot: ${mapCvsRoot}" />
+ <echo
+ level="info"
+ message="cvsPackage = ${cvsPackage} " />
+ <echo
+ level="info"
+ message="versionTagParam: ${versionTagParam}" />
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${cvsPackage}"
+ dest="${buildDirectory}/maps"
+ tag="${versionTagParam}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Tag Map Files mapCvsRoot -->
+ <!-- ===================================================================== -->
+ <target
+ name="tagMapFiles"
+ if="tagMaps">
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ dest="${buildDirectory}/maps"
+ command="tag v${buildType}${timestamp}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ </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}" />
+
+ <condition
+ property="daliLocalBuild"
+ value="true">
+ <equals
+ arg1="${build.distribution}"
+ arg2="dali"
+ casesensitive="false"
+ trim="true" />
+ </condition>
+
+ <!-- Get the dependencies -->
+ <antcall target="getDependencies" />
+
+ <!-- Get Dali dependencies -->
+ <antcall target="getDaliLocalDependencies" />
+
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Get the dependencies based on releng maps -->
+ <!-- ===================================================================== -->
+ <target name="getDependencies">
+
+ <ant
+ antfile="${component.dir}/dependency.xml"
+ target="get">
+ <property
+ name="dependency.properties"
+ value="${buildDirectory}/maps/${env.RELENG}/maps/dependencies.properties" />
+ <property
+ name="base.install.dir"
+ value="${buildRoot}" />
+ </ant>
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Get Dali dependencies based on releng.dali maps -->
+ <!-- ===================================================================== -->
+ <target
+ name="getDaliLocalDependencies"
+ if="daliLocalBuild">
+
+ <ant
+ antfile="${component.dir}/localDependency.xml"
+ target="get">
+ <property
+ name="dependency.properties"
+ value="${buildDirectory}/maps/${env.RELENGDALI}/maps/dali.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="postGenerate">
+ <customizeAccessRules
+ bundleDirectory="${buildDirectory}/plugins"
+ defaultRules="+org/eclipse/wst/**/*, +org/eclipse/jst/**/*" />
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after generating the build scripts. -->
+ <!-- ===================================================================== -->
+ <target name="preGenerate"></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 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" />
+ <echo
+ level="debug"
+ message="logExtension: ${logExtension}" />
+ <antcall target="allElements">
+ <param
+ name="target"
+ value="gatherLogs" />
+ <param
+ name="logExtension"
+ value="${logExtension}" />
+ </antcall>
+ <unzip
+ dest="${buildDirectory}/${buildLabel}/compilelogs"
+ overwrite="true">
+ <fileset dir="${buildDirectory}/features/org.eclipse.jpt">
+ <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
+ level="error"
+ message="You must specify a target when invoking this file" />
+ </target>
+
+</project>
diff --git a/releng.wtpbuilder/components/dali/dependency.xml b/releng.wtpbuilder/components/dali/dependency.xml
new file mode 100644
index 0000000..544676c
--- /dev/null
+++ b/releng.wtpbuilder/components/dali/dependency.xml
@@ -0,0 +1,64 @@
+<?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="emf" />
+ </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="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>
+
diff --git a/releng.wtpbuilder/components/dali/localDependency.xml b/releng.wtpbuilder/components/dali/localDependency.xml
new file mode 100644
index 0000000..66e82d4
--- /dev/null
+++ b/releng.wtpbuilder/components/dali/localDependency.xml
@@ -0,0 +1,44 @@
+<?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="wtp" />
+ </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>
diff --git a/releng.wtpbuilder/components/jst-sdk/build.properties b/releng.wtpbuilder/components/jst-sdk/build.properties
new file mode 100644
index 0000000..40de418
--- /dev/null
+++ b/releng.wtpbuilder/components/jst-sdk/build.properties
@@ -0,0 +1,35 @@
+###############################################################################
+# 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
+###############################################################################
+
+# 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
+
+# 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
+logExtension=.xml
+# 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
diff --git a/releng.wtpbuilder/components/jst-sdk/customTargets.xml b/releng.wtpbuilder/components/jst-sdk/customTargets.xml
new file mode 100644
index 0000000..62ecda78
--- /dev/null
+++ b/releng.wtpbuilder/components/jst-sdk/customTargets.xml
@@ -0,0 +1,563 @@
+<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" />
+
+
+ <property
+ name="cvsProtocol"
+ value="${env.BUILD_CVS_WRITE_PROTOCOL}" />
+ <property
+ name="cvsUser"
+ value="${env.BUILD_CVS_WRITE_USER}" />
+ <property
+ name="cvsServer"
+ value="${env.BUILD_CVS_SERVER}" />
+ <property
+ name="cvsRoot"
+ value="${env.BUILD_CVS_ROOT}" />
+
+ <!-- ===================================================================== -->
+ <!-- Run a given ${target} on all elements being built -->
+ <!-- Add on <ant> task for each top level element being built. -->
+ <!-- ===================================================================== -->
+ <target name="allElements">
+ <echo
+ level="info"
+ message="Target:${target} " />
+ <echo
+ level="debug"
+ message="basedir: ${basedir}" />
+ <echo
+ level="debug"
+ message="component: ${component}" />
+ <echo
+ level="debug"
+ message="buildDirectory: ${buildDirectory}" />
+ <echo
+ level="debug"
+ message="baseLocation: ${baseLocation}" />
+ <echo
+ level="debug"
+ message="generic target: ${genericTargets}" />
+ <ant
+ antfile="${genericTargets}"
+ target="${target}">
+ <property
+ name="type"
+ value="feature" />
+ <property
+ name="id"
+ value="org.eclipse.jst.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.jst.sdk">
+ <property
+ name="archiveName"
+ value="wtp-jst-sdk-${buildLabel}.zip" />
+ <ant
+ antfile="${assembleScriptName}"
+ dir="${buildDirectory}" />
+ </target>
+
+ <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="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"
+ depends="check.useLocalMaps"
+ if="useLocalMaps">
+ <available
+ property="mapsLocal"
+ file="${buildDirectory}/maps/${env.RELENG}" />
+ </target>
+ <target
+ name="getMapFiles"
+ depends="checkLocal"
+ unless="mapsLocal">
+
+ <!-- *** change the repo info -->
+ <property
+ name="mapCvsRoot"
+ value=":${cvsProtocol}:${cvsUser}@${cvsServer}:${cvsRoot}" />
+
+ <!-- if not otherwise set, assume HEAD -->
+ <property
+ name="mapVersionTag"
+ value="HEAD" />
+ <property
+ name="releng.jsf-mapVersionTag"
+ value="HEAD" />
+
+
+ <echo
+ level="info"
+ message="${mapCvsRoot} ${mapVersionTag} ">
+ </echo>
+ <property
+ name="cvsPackage"
+ value="${env.RELENGMAPS}" />
+ <echo
+ level="debug"
+ message="${mapCvsRoot} ${mapVersionTag} " />
+ <echo
+ level="debug"
+ message="cvsPackage = ${cvsPackage} " />
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${cvsPackage}"
+ dest="${buildDirectory}/maps"
+ tag="${mapVersionTag}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ <!--
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${env.RELENGMAPS}"
+ dest="${buildDirectory}/maps"
+ tag="${mapVersionTag}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ -->
+
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${env.RELENGJSF}"
+ dest="${buildDirectory}/maps"
+ tag="${releng.jsf-mapVersionTag}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+
+
+ <!--tag the map files project-->
+ <antcall target="tagMapFiles">
+ <param
+ name="mapCvsRoot"
+ value="${mapCvsRoot}" />
+ </antcall>
+
+ <!-- copy all maps to the same place. Be sure to copy only "maps", as there may be "dependancies" etc,
+ that could be out of date -->
+ <!-- turns out this "one flat directory" appears not needed!
+ <copy todir="${buildDirectory}/maps/${env.RELENG}/maps" flatten="true">
+ <fileset dir="${buildDirectory}/maps/">
+ <include name="**/*.map" />
+ </fileset>
+ </copy>
+ -->
+
+ </target>
+
+ <target
+ name="tagMapFiles"
+ if="tagMaps">
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ dest="${buildDirectory}/maps"
+ command="tag v${buildType}${timestamp}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ </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}" />
+
+ <ant
+ antfile="${component.dir}/dependency.xml"
+ target="get">
+ <property
+ name="dependency.properties"
+ value="${buildDirectory}/maps/${env.RELENG}/maps/dependencies.properties" />
+ <property
+ name="base.install.dir"
+ value="${buildRoot}" />
+ </ant>
+
+ <condition
+ property="packAllInOne"
+ value="true">
+ <and>
+ <equals
+ arg1="true"
+ arg2="${build.pack-all-in-one}" />
+ </and>
+ </condition>
+
+ <antcall target="all-in-one">
+ <param
+ name="bos"
+ value="win32" />
+ <param
+ name="bws"
+ value="win32" />
+ <param
+ name="barch"
+ value="x86" />
+ <param
+ name="iszip"
+ value="true" />
+ </antcall>
+
+ <antcall target="all-in-one">
+ <param
+ name="bos"
+ value="linux" />
+ <param
+ name="bws"
+ value="gtk" />
+ <param
+ name="barch"
+ value="x86" />
+ <param
+ name="istar"
+ value="true" />
+ </antcall>
+
+ <antcall target="all-in-one">
+ <param
+ name="bos"
+ value="macosx" />
+ <param
+ name="bws"
+ value="carbon" />
+ <param
+ name="barch"
+ value="ppc" />
+ <param
+ name="istar"
+ value="true" />
+ </antcall>
+
+
+
+ </target>
+
+ <target
+ name="all-in-one"
+ if="packAllInOne">
+ <delete
+ dir="${buildDirectory}/${buildLabel}/temp"
+ failonerror="false" />
+ <mkdir dir="${buildDirectory}/${buildLabel}/temp" />
+ <ant
+ antfile="${component.dir}/dependency.xml"
+ target="get">
+
+ <property
+ name="basearch"
+ value="${barch}" />
+ <property
+ name="baseos"
+ value="${bos}" />
+ <property
+ name="basews"
+ value="${bws}" />
+
+ <property
+ name="dependency.properties"
+ value="${buildDirectory}/maps/${env.RELENG}/maps/dependencies.properties" />
+ <property
+ name="base.install.dir"
+ value="${buildDirectory}/${buildLabel}/temp" />
+ </ant>
+ <unzip
+ src="${buildDirectory}/${buildLabel}/wtp-sdk-${buildLabel}.zip"
+ dest="${buildDirectory}/${buildLabel}/temp" />
+ <copy todir="${buildDirectory}/${buildLabel}/temp">
+ <fileset dir="${component.dir}/prod">
+ <include name="**/*" />
+ </fileset>
+ </copy>
+
+
+ <antcall target="pack-all-in-one-tar"></antcall>
+ <antcall target="pack-all-in-one-zip"></antcall>
+ </target>
+
+ <target
+ name="pack-all-in-one-tar"
+ if="istar">
+ <property
+ name="packName"
+ value="wtp-all-in-one-sdk-${buildLabel}-${bos}-${bws}.tar.gz" />
+ <tar
+ longfile="gnu"
+ compression="gzip"
+ destfile="${buildDirectory}/${buildLabel}/${packName}"
+ excludes="installmanifest.properties"
+ basedir="${buildDirectory}/${buildLabel}/temp" />
+ <antcall target="checksum-all-in-one">
+ <param
+ name="packName"
+ value="${packName}" />
+ </antcall>
+ </target>
+ <target
+ name="pack-all-in-one-zip"
+ if="iszip">
+ <property
+ name="packName"
+ value="wtp-all-in-one-sdk-${buildLabel}-${bos}.zip" />
+
+ <zip destfile="${buildDirectory}/${buildLabel}/${packName}">
+ <fileset dir="${buildDirectory}/${buildLabel}/temp">
+ <include name="**/*" />
+ <exclude name="installmanifest.properties" />
+ </fileset>
+ </zip>
+ <antcall target="checksum-all-in-one">
+ <param
+ name="packName"
+ value="${packName}" />
+ </antcall>
+ </target>
+ <target name="checksum-all-in-one">
+ <mkdir dir="${buildDirectory}/${buildLabel}/checksum" />
+ <checksum
+ file="${buildDirectory}/${buildLabel}/${packName}"
+ property="md5" />
+ <echo
+ message="${md5} *${archiveName}"
+ file="${buildDirectory}/${buildLabel}/checksum/${packName}.md5" />
+ <echo
+ message="${md5}"
+ file="${buildDirectory}/${buildLabel}/checksum/${packName}.md5antformat" />
+
+ </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="postGenerate">
+ <customizeAccessRules
+ bundleDirectory="${buildDirectory}/plugins"
+ defaultRules="+org/eclipse/wst/**/*, +org/eclipse/jst/**/*" />
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after generating the build scripts. -->
+ <!-- ===================================================================== -->
+ <target name="preGenerate"></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">
+ <!--
+ <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>
+
+ <!-- ===================================================================== -->
+ <!-- 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" />
+ <echo
+ level="debug"
+ message="logExtension: ${logExtension}" />
+ <antcall target="allElements">
+ <param
+ name="target"
+ value="gatherLogs" />
+ <param
+ name="logExtension"
+ value="${logExtension}" />
+ </antcall>
+ <unzip
+ dest="${buildDirectory}/${buildLabel}/compilelogs"
+ overwrite="true">
+ <fileset
+ dir="${buildDirectory}/features/org.eclipse.jst.sdk">
+ <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 -->
+ <copy
+ todir="${buildDirectory}/${buildLabel}/compilelogs"
+ overwrite="true">
+ <fileset
+ dir="${buildDirectory}/features/org.eclipse.jst.enterprise_ui.feature/feature.temp.folder" />
+ </copy>
+
+ <copy
+ todir="${buildDirectory}/${buildLabel}/compilelogs"
+ overwrite="true">
+ <fileset
+ dir="${buildDirectory}/features/org.eclipse.jst.server_ui.feature/feature.temp.folder" />
+ </copy>
+
+ <copy
+ todir="${buildDirectory}/${buildLabel}/compilelogs"
+ overwrite="true">
+ <fileset
+ dir="${buildDirectory}/features/org.eclipse.jst.web_ui.feature/feature.temp.folder" />
+ </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>
+
+ <target name="check.useLocalMaps">
+ <condition property="useLocalMaps">
+ <equals
+ arg1="${env.USE_LOCAL_MAPS}"
+ arg2="true" />
+ </condition>
+ </target>
+
+
+</project>
diff --git a/releng.wtpbuilder/components/jst-sdk/dependency.xml b/releng.wtpbuilder/components/jst-sdk/dependency.xml
new file mode 100644
index 0000000..0ffb88d
--- /dev/null
+++ b/releng.wtpbuilder/components/jst-sdk/dependency.xml
@@ -0,0 +1,86 @@
+<?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">
+
+
+ <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>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="emf" />
+ </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="eclipse" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="eclipseTestFramework" />
+ </antcall>
+
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="dtp" />
+ </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>
+
diff --git a/releng.wtpbuilder/components/jst.tests/build.properties b/releng.wtpbuilder/components/jst.tests/build.properties
new file mode 100644
index 0000000..5958187
--- /dev/null
+++ b/releng.wtpbuilder/components/jst.tests/build.properties
@@ -0,0 +1,36 @@
+###############################################################################
+# 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
+###############################################################################
+
+# 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
+
diff --git a/releng.wtpbuilder/components/jst.tests/customTargets.xml b/releng.wtpbuilder/components/jst.tests/customTargets.xml
new file mode 100644
index 0000000..ea7c285
--- /dev/null
+++ b/releng.wtpbuilder/components/jst.tests/customTargets.xml
@@ -0,0 +1,373 @@
+<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" />
+
+
+ <property
+ name="cvsProtocol"
+ value="${env.BUILD_CVS_WRITE_PROTOCOL}" />
+ <property
+ name="cvsUser"
+ value="${env.BUILD_CVS_WRITE_USER}" />
+ <property
+ name="cvsServer"
+ value="${env.BUILD_CVS_SERVER}" />
+ <property
+ name="cvsRoot"
+ value="${env.BUILD_CVS_ROOT}" />
+
+ <!-- ===================================================================== -->
+ <!-- Run a given ${target} on all elements being built -->
+ <!-- Add on <ant> task for each top level element being built. -->
+ <!-- ===================================================================== -->
+ <target name="allElements">
+ <echo
+ level="info"
+ message="Target:${target} " />
+ <echo
+ level="debug"
+ message="basedir: ${basedir}" />
+ <echo
+ level="debug"
+ message="component: ${component}" />
+ <echo
+ level="debug"
+ message="buildDirectory: ${buildDirectory}" />
+ <echo
+ level="debug"
+ message="baseLocation: ${baseLocation}" />
+ <ant
+ antfile="${genericTargets}"
+ target="${target}">
+ <property
+ name="type"
+ value="feature" />
+ <property
+ name="id"
+ value="org.eclipse.jst.tests" />
+ </ant>
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Targets to assemble the built elements for particular configurations -->
+ <!-- These generally call the generated assemble scripts (named in -->
+ <!-- ${assembleScriptName}) but may also add pre and post processing -->
+ <!-- Add one target for each root element and each configuration -->
+ <!-- ===================================================================== -->
+
+ <target name="assemble.org.eclipse.jst.tests">
+ <property
+ name="archiveName"
+ value="wtp-jst-Automated-Tests-${buildLabel}.zip" />
+ <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="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"
+ depends="check.useLocalMaps"
+ if="useLocalMaps">
+ <available
+ property="mapsLocal"
+ file="${buildDirectory}/maps/${env.RELENG}" />
+ </target>
+ <target
+ name="getMapFiles"
+ depends="checkLocal"
+ unless="mapsLocal">
+
+ <!-- *** change the repo info -->
+ <property
+ name="mapCvsRoot"
+ value=":${cvsProtocol}:${cvsUser}@${cvsServer}:${cvsRoot}" />
+
+ <!-- if not otherwise set, assume HEAD -->
+ <property
+ name="mapVersionTag"
+ value="HEAD" />
+
+ <property
+ name="releng.jsf-mapVersionTag"
+ value="HEAD" />
+
+
+ <echo
+ level="info"
+ message="${mapCvsRoot} ${mapVersionTag} ">
+ </echo>
+ <property
+ name="cvsPackage"
+ value="${env.RELENGMAPS}" />
+ <echo
+ level="debug"
+ message="${mapCvsRoot} ${mapVersionTag} " />
+ <echo
+ level="debug"
+ message="cvsPackage = ${cvsPackage} " />
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${cvsPackage}"
+ dest="${buildDirectory}/maps"
+ tag="${mapVersionTag}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ <!--
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${env.RELENGMAPS}"
+ dest="${buildDirectory}/maps"
+ tag="${mapVersionTag}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ -->
+
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${env.RELENGJSF}"
+ dest="${buildDirectory}/maps"
+ tag="${releng.jsf-mapVersionTag}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+
+ <!--tag the map files project-->
+ <antcall target="tagMapFiles">
+ <param
+ name="mapCvsRoot"
+ value="${mapCvsRoot}" />
+ </antcall>
+
+ <!-- copy all maps to the same place. Be sure to copy only "maps", as there may be "dependancies" etc,
+ that could be out of date -->
+ <!-- turns out this "one flat directory" appears not needed!
+ <copy todir="${buildDirectory}/maps/${env.RELENG}/maps" flatten="true">
+ <fileset dir="${buildDirectory}/maps/">
+ <include name="**/*.map" />
+ </fileset>
+ </copy>
+ -->
+
+ </target>
+
+ <target
+ name="tagMapFiles"
+ if="tagMaps">
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ dest="${buildDirectory}/maps"
+ command="tag v${buildType}${timestamp}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ </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}" />
+
+ <ant
+ antfile="${component.dir}/dependency.xml"
+ target="get">
+ <property
+ name="dependency.properties"
+ value="${buildDirectory}/maps/${env.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="postGenerate">
+ <customizeAccessRules
+ bundleDirectory="${buildDirectory}/plugins"
+ defaultRules="+org/eclipse/wst/**/*, +org/eclipse/jst/**/*" />
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after generating the build scripts. -->
+ <!-- ===================================================================== -->
+ <target name="preGenerate"></target>
+
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do before running the build.xmls for the elements being built. -->
+ <!-- ===================================================================== -->
+ <target name="preProcess"></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 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}/testcompilelogs" />
+ <echo
+ level="debug"
+ message="logExtension: ${logExtension}" />
+ <antcall target="allElements">
+ <param
+ name="target"
+ value="gatherLogs" />
+ <param
+ name="logExtension"
+ value="${logExtension}" />
+ </antcall>
+ <unzip
+ dest="${buildDirectory}/${buildLabel}/testcompilelogs"
+ overwrite="true">
+ <fileset
+ dir="${buildDirectory}/features/org.eclipse.jst.tests">
+ <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
+ level="error"
+ message="You must specify a target when invoking this file" />
+ </target>
+
+ <target name="check.useLocalMaps">
+ <condition property="useLocalMaps">
+ <equals
+ arg1="${env.USE_LOCAL_MAPS}"
+ arg2="true" />
+ </condition>
+ </target>
+
+</project>
diff --git a/releng.wtpbuilder/components/jst.tests/dependency.xml b/releng.wtpbuilder/components/jst.tests/dependency.xml
new file mode 100644
index 0000000..b810973
--- /dev/null
+++ b/releng.wtpbuilder/components/jst.tests/dependency.xml
@@ -0,0 +1,81 @@
+<?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">
+
+
+ <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>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="emf" />
+ </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="eclipse" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="eclipseTestFramework" />
+ </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>
+
diff --git a/releng.wtpbuilder/components/jst/build.properties b/releng.wtpbuilder/components/jst/build.properties
new file mode 100644
index 0000000..406f489
--- /dev/null
+++ b/releng.wtpbuilder/components/jst/build.properties
@@ -0,0 +1,35 @@
+###############################################################################
+# 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
+###############################################################################
+
+# 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
diff --git a/releng.wtpbuilder/components/jst/customTargets.xml b/releng.wtpbuilder/components/jst/customTargets.xml
new file mode 100644
index 0000000..4d223bb
--- /dev/null
+++ b/releng.wtpbuilder/components/jst/customTargets.xml
@@ -0,0 +1,425 @@
+<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" />
+
+
+ <property
+ name="cvsProtocol"
+ value="${env.BUILD_CVS_WRITE_PROTOCOL}" />
+ <property
+ name="cvsUser"
+ value="${env.BUILD_CVS_WRITE_USER}" />
+ <property
+ name="cvsServer"
+ value="${env.BUILD_CVS_SERVER}" />
+ <property
+ name="cvsRoot"
+ value="${env.BUILD_CVS_ROOT}" />
+
+ <!-- ===================================================================== -->
+ <!-- Run a given ${target} on all elements being built -->
+ <!-- Add on <ant> task for each top level element being built. -->
+ <!-- ===================================================================== -->
+ <target name="allElements">
+ <echo
+ level="info"
+ message="Target:${target} " />
+ <echo
+ level="debug"
+ message="basedir: ${basedir}" />
+ <echo
+ level="debug"
+ message="component: ${component}" />
+ <echo
+ level="debug"
+ message="buildDirectory: ${buildDirectory}" />
+ <echo
+ level="debug"
+ message="baseLocation: ${baseLocation}" />
+ <echo
+ level="debug"
+ message="generic target: ${genericTargets}" />
+ <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 -->
+ <!-- ===================================================================== -->
+
+ <target name="assemble.org.eclipse.jst">
+ <property
+ name="archiveName"
+ value="wtp-jst-${buildLabel}.zip" />
+ <ant
+ antfile="${assembleScriptName}"
+ dir="${buildDirectory}" />
+
+ </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="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"
+ depends="check.useLocalMaps"
+ if="useLocalMaps">
+ <condition property="mapsLocal">
+ <and>
+ <available file="${buildDirectory}/maps/${env.RELENG}" />
+ <available
+ file="${buildDirectory}/maps/${env.RELENGJSF}" />
+ </and>
+ </condition>
+ </target>
+ <target
+ name="getMapFiles"
+ depends="checkLocal"
+ unless="mapsLocal">
+
+ <!-- *** change the repo info -->
+ <property
+ name="mapCvsRoot"
+ value=":${cvsProtocol}:${cvsUser}@${cvsServer}:${cvsRoot}" />
+
+ <!-- if not otherwise set, assume HEAD -->
+ <property
+ name="mapVersionTag"
+ value="HEAD" />
+ <property
+ name="releng.jsf-mapVersionTag"
+ value="HEAD" />
+
+
+
+ <echo
+ level="info"
+ message="${mapCvsRoot} ${mapVersionTag} ">
+ </echo>
+ <property
+ name="cvsPackage"
+ value="${env.RELENGMAPS}" />
+ <echo
+ level="debug"
+ message="${mapCvsRoot} ${mapVersionTag} " />
+ <echo
+ level="debug"
+ message="cvsPackage = ${cvsPackage} " />
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${cvsPackage}"
+ dest="${buildDirectory}/maps"
+ tag="${mapVersionTag}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+
+ <!--
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${env.RELENGMAPS}"
+ dest="${buildDirectory}/maps"
+ tag="${mapVersionTag}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ -->
+
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${env.RELENGJSF}"
+ dest="${buildDirectory}/maps"
+ tag="${releng.jsf-mapVersionTag}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+
+ <!--tag the map files project-->
+ <antcall target="tagMapFiles">
+ <param
+ name="mapCvsRoot"
+ value="${mapCvsRoot}" />
+ </antcall>
+
+ <!-- copy all maps to the same place. Be sure to copy only "maps", as there may be "dependancies" etc,
+ that could be out of date -->
+ <!-- turns out this "one flat directory" appears not needed!
+ <copy todir="${buildDirectory}/maps/${env.RELENG}/maps" flatten="true">
+ <fileset dir="${buildDirectory}/maps/">
+ <include name="**/*.map" />
+ </fileset>
+ </copy>
+ -->
+
+
+ </target>
+
+ <target
+ name="tagMapFiles"
+ if="tagMaps">
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ dest="${buildDirectory}/maps"
+ command="tag v${buildType}${timestamp}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ </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}" />
+
+ <ant
+ antfile="${component.dir}/dependency.xml"
+ target="get">
+ <property
+ name="dependency.properties"
+ value="${buildDirectory}/maps/${env.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="postGenerate">
+ <customizeAccessRules
+ bundleDirectory="${buildDirectory}/plugins"
+ defaultRules="+org/eclipse/wst/**/*, +org/eclipse/jst/**/*" />
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after generating the build scripts. -->
+ <!-- ===================================================================== -->
+ <target name="preGenerate"></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}"
+ dest="${localDownloads}/${eclipseFile.win32}" />
+ </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" />
+ <echo
+ level="debug"
+ message="logExtension: ${logExtension}" />
+ <antcall target="allElements">
+ <param
+ name="target"
+ value="gatherLogs" />
+ <param
+ name="logExtension"
+ value="${logExtension}" />
+ </antcall>
+ <unzip
+ dest="${buildDirectory}/${buildLabel}/compilelogs"
+ overwrite="true">
+ <fileset dir="${buildDirectory}/features/org.eclipse.jst">
+ <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 -->
+ <copy
+ todir="${buildDirectory}/${buildLabel}/compilelogs"
+ overwrite="true">
+ <fileset
+ dir="${buildDirectory}/features/org.eclipse.jst.enterprise_ui.feature/feature.temp.folder" />
+ </copy>
+
+ <copy
+ todir="${buildDirectory}/${buildLabel}/compilelogs"
+ overwrite="true">
+ <fileset
+ dir="${buildDirectory}/features/org.eclipse.jst.server_ui.feature/feature.temp.folder" />
+ </copy>
+
+ <copy
+ todir="${buildDirectory}/${buildLabel}/compilelogs"
+ overwrite="true">
+ <fileset
+ dir="${buildDirectory}/features/org.eclipse.jst.web_ui.feature/feature.temp.folder" />
+ </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>
+
+ <target name="check.useLocalMaps">
+ <condition property="useLocalMaps">
+ <equals
+ arg1="${env.USE_LOCAL_MAPS}"
+ arg2="true" />
+ </condition>
+ </target>
+
+</project>
diff --git a/releng.wtpbuilder/components/jst/dependency.xml b/releng.wtpbuilder/components/jst/dependency.xml
new file mode 100644
index 0000000..9d67785
--- /dev/null
+++ b/releng.wtpbuilder/components/jst/dependency.xml
@@ -0,0 +1,102 @@
+<?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">
+
+ <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="gef" />
+ </antcall>
+
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="dtp" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="eclipse" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="eclipseTestFramework" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="dita" />
+ </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>
+
diff --git a/releng.wtpbuilder/components/wst-sdk/build.properties b/releng.wtpbuilder/components/wst-sdk/build.properties
new file mode 100644
index 0000000..1cf330f
--- /dev/null
+++ b/releng.wtpbuilder/components/wst-sdk/build.properties
@@ -0,0 +1,36 @@
+###############################################################################
+# 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
+###############################################################################
+
+# 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
+
+# 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
+logExtension=.xml
+# 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
+
diff --git a/releng.wtpbuilder/components/wst-sdk/customTargets.xml b/releng.wtpbuilder/components/wst-sdk/customTargets.xml
new file mode 100644
index 0000000..438b049
--- /dev/null
+++ b/releng.wtpbuilder/components/wst-sdk/customTargets.xml
@@ -0,0 +1,452 @@
+<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" />
+
+
+ <property
+ name="cvsProtocol"
+ value="${env.BUILD_CVS_WRITE_PROTOCOL}" />
+ <property
+ name="cvsUser"
+ value="${env.BUILD_CVS_WRITE_USER}" />
+ <property
+ name="cvsServer"
+ value="${env.BUILD_CVS_SERVER}" />
+ <property
+ name="cvsRoot"
+ value="${env.BUILD_CVS_ROOT}" />
+
+ <!-- ===================================================================== -->
+ <!-- Run a given ${target} on all elements being built -->
+ <!-- Add on <ant> task for each top level element being built. -->
+ <!-- ===================================================================== -->
+ <target name="allElements">
+ <echo
+ level="info"
+ message="Target:${target} " />
+ <echo
+ level="debug"
+ message="basedir: ${basedir}" />
+ <echo
+ level="debug"
+ message="component: ${component}" />
+ <echo
+ level="debug"
+ message="buildDirectory: ${buildDirectory}" />
+ <echo
+ level="debug"
+ message="baseLocation: ${baseLocation}" />
+ <echo
+ level="debug"
+ message="generic target: ${genericTargets}" />
+ <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="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="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"
+ depends="check.useLocalMaps"
+ if="useLocalMaps">
+ <available
+ property="mapsLocal"
+ file="${buildDirectory}/maps/${env.RELENG}" />
+ </target>
+ <target
+ name="getMapFiles"
+ depends="checkLocal"
+ unless="mapsLocal">
+
+ <!-- *** change the repo info -->
+ <property
+ name="mapCvsRoot"
+ value=":${cvsProtocol}:${cvsUser}@${cvsServer}:${cvsRoot}" />
+
+ <!-- if not otherwise set, assume HEAD -->
+ <property
+ name="mapVersionTag"
+ value="HEAD" />
+
+ <echo
+ level="info"
+ message="${mapCvsRoot} ${mapVersionTag} ">
+ </echo>
+ <property
+ name="cvsPackage"
+ value="${env.RELENGMAPS}" />
+ <echo
+ level="debug"
+ message="${mapCvsRoot} ${mapVersionTag} " />
+ <echo
+ level="debug"
+ message="cvsPackage = ${cvsPackage} " />
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${cvsPackage}"
+ dest="${buildDirectory}/maps"
+ tag="${mapVersionTag}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ <!--
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${env.RELENGMAPS}"
+ dest="${buildDirectory}/maps"
+ tag="${mapVersionTag}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ -->
+
+ <!--tag the map files project-->
+ <antcall target="tagMapFiles">
+ <param
+ name="mapCvsRoot"
+ value="${mapCvsRoot}" />
+ </antcall>
+
+ <!-- copy all maps to the same place. Be sure to copy only "maps", as there may be "dependancies" etc,
+ that could be out of date -->
+ <!-- turns out this "one flat directory" appears not needed!
+ <copy todir="${buildDirectory}/maps/${env.RELENG}/maps" flatten="true">
+ <fileset dir="${buildDirectory}/maps/">
+ <include name="**/*.map" />
+ </fileset>
+ </copy>
+ -->
+
+ </target>
+
+ <target
+ name="tagMapFiles"
+ if="tagMaps">
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ dest="${buildDirectory}/maps"
+ command="tag v${buildType}${timestamp}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ </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}" />
+
+ <ant
+ antfile="${component.dir}/dependency.xml"
+ target="get">
+ <property
+ name="dependency.properties"
+ value="${buildDirectory}/maps/${env.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="postGenerate">
+ <customizeAccessRules
+ bundleDirectory="${buildDirectory}/plugins"
+ defaultRules="+org/eclipse/wst/**/*, +org/eclipse/jst/**/*" />
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after generating the build scripts. -->
+ <!-- ===================================================================== -->
+ <target name="preGenerate"></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. -->
+ <!-- Note: in version 2.0 (and previous) we need to build the
+ explorer war file by invoking script. In 3.0 forward, we do not,
+ so this simple existence check allows us to use the same script for
+ both streams -->
+ <!-- ===================================================================== -->
+ <property
+ name="buildwarfilename"
+ value="${buildDirectory}/plugins/org.eclipse.wst.ws.explorer/build-war.xml" />
+ <target
+ name="preAssemble"
+ depends="buildwar">
+ </target>
+
+ <target name="checkForBuildFile">
+ <condition property="buildFileExists">
+ <available file="${buildwarfilename}" />
+ </condition>
+ </target>
+
+ <target
+ name="buildwar"
+ depends="checkForBuildFile"
+ if="buildFileExists">
+ <ant antfile="${buildwarfilename}">
+ <property
+ name="baseLocation"
+ value="${baseLocation}" />
+ <property
+ name="basedir"
+ value="${buildDirectory}/plugins/org.eclipse.wst.ws.explorer" />
+ <property
+ name="buildDirectory"
+ value="${buildDirectory}" />
+ </ant>
+ </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" />
+ <echo
+ level="debug"
+ message="logExtension: ${logExtension}" />
+ <antcall target="allElements">
+ <param
+ name="target"
+ value="gatherLogs" />
+ <param
+ name="logExtension"
+ value="${logExtension}" />
+ </antcall>
+ <unzip
+ dest="${buildDirectory}/${buildLabel}/compilelogs"
+ overwrite="true">
+ <fileset
+ dir="${buildDirectory}/features/org.eclipse.wst.sdk">
+ <include name="**/*.log.zip" />
+ </fileset>
+ </unzip>
+
+
+ <!-- workaround: see https://bugs.eclipse.org/bugs/show_bug.cgi?id=156043 -->
+ <copy
+ todir="${buildDirectory}/${buildLabel}/compilelogs"
+ overwrite="true">
+ <fileset
+ dir="${buildDirectory}/features/org.eclipse.wst.common_ui.feature/feature.temp.folder" />
+ </copy>
+
+ <copy
+ todir="${buildDirectory}/${buildLabel}/compilelogs"
+ overwrite="true">
+ <fileset
+ dir="${buildDirectory}/features/org.eclipse.wst.server_ui.feature/feature.temp.folder" />
+ </copy>
+
+ <copy
+ todir="${buildDirectory}/${buildLabel}/compilelogs"
+ overwrite="true">
+ <fileset
+ dir="${buildDirectory}/features/org.eclipse.wst.xml_ui.feature/feature.temp.folder" />
+ </copy>
+
+ <copy
+ todir="${buildDirectory}/${buildLabel}/compilelogs"
+ overwrite="true">
+ <fileset
+ dir="${buildDirectory}/features/org.eclipse.wst.ws_ui.feature/feature.temp.folder" />
+ </copy>
+
+ <copy
+ todir="${buildDirectory}/${buildLabel}/compilelogs"
+ overwrite="true">
+ <fileset
+ dir="${buildDirectory}/features/org.eclipse.wst.web_ui.feature/feature.temp.folder" />
+ </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>
+
+ <target name="check.useLocalMaps">
+ <condition property="useLocalMaps">
+ <equals
+ arg1="${env.USE_LOCAL_MAPS}"
+ arg2="true" />
+ </condition>
+ </target>
+
+</project>
diff --git a/releng.wtpbuilder/components/wst-sdk/dependency.xml b/releng.wtpbuilder/components/wst-sdk/dependency.xml
new file mode 100644
index 0000000..8acaccf
--- /dev/null
+++ b/releng.wtpbuilder/components/wst-sdk/dependency.xml
@@ -0,0 +1,83 @@
+<?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">
+
+
+ <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>
+
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="emf" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="gef" />
+ </antcall>
+
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="eclipse" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="eclipseTestFramework" />
+ </antcall>
+
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="dita" />
+ </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>
+
diff --git a/releng.wtpbuilder/components/wst.tests/build.properties b/releng.wtpbuilder/components/wst.tests/build.properties
new file mode 100644
index 0000000..5958187
--- /dev/null
+++ b/releng.wtpbuilder/components/wst.tests/build.properties
@@ -0,0 +1,36 @@
+###############################################################################
+# 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
+###############################################################################
+
+# 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
+
diff --git a/releng.wtpbuilder/components/wst.tests/customTargets.xml b/releng.wtpbuilder/components/wst.tests/customTargets.xml
new file mode 100644
index 0000000..4cd00d7
--- /dev/null
+++ b/releng.wtpbuilder/components/wst.tests/customTargets.xml
@@ -0,0 +1,377 @@
+<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" />
+
+
+ <property
+ name="cvsProtocol"
+ value="${env.BUILD_CVS_WRITE_PROTOCOL}" />
+ <property
+ name="cvsUser"
+ value="${env.BUILD_CVS_WRITE_USER}" />
+ <property
+ name="cvsServer"
+ value="${env.BUILD_CVS_SERVER}" />
+ <property
+ name="cvsRoot"
+ value="${env.BUILD_CVS_ROOT}" />
+
+ <!-- ===================================================================== -->
+ <!-- Run a given ${target} on all elements being built -->
+ <!-- Add on <ant> task for each top level element being built. -->
+ <!-- ===================================================================== -->
+ <target name="allElements">
+ <echo
+ level="info"
+ message="Target:${target} " />
+ <echo
+ level="debug"
+ message="basedir: ${basedir}" />
+ <echo
+ level="debug"
+ message="component: ${component}" />
+ <echo
+ level="debug"
+ message="buildDirectory: ${buildDirectory}" />
+ <echo
+ level="debug"
+ message="baseLocation: ${baseLocation}" />
+ <ant
+ antfile="${genericTargets}"
+ target="${target}">
+ <property
+ name="type"
+ value="feature" />
+ <property
+ name="id"
+ value="org.eclipse.wst.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.wst.tests.feature">
+ <property
+ name="archiveName"
+ 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="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"
+ depends="check.useLocalMaps"
+ if="useLocalMaps">
+ <available
+ property="mapsLocal"
+ file="${buildDirectory}/maps/${env.RELENG}" />
+ </target>
+ <target
+ name="getMapFiles"
+ depends="checkLocal"
+ unless="mapsLocal">
+
+ <!-- *** change the repo info -->
+ <property
+ name="mapCvsRoot"
+ value=":${cvsProtocol}:${cvsUser}@${cvsServer}:${cvsRoot}" />
+
+ <!-- if not otherwise set, assume HEAD -->
+ <property
+ name="mapVersionTag"
+ value="HEAD" />
+
+
+ <echo
+ level="info"
+ message="${mapCvsRoot} ${mapVersionTag} ">
+ </echo>
+ <property
+ name="cvsPackage"
+ value="${env.RELENGMAPS}" />
+ <echo
+ level="debug"
+ message="${mapCvsRoot} ${mapVersionTag} " />
+ <echo
+ level="debug"
+ message="cvsPackage = ${cvsPackage} " />
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${cvsPackage}"
+ dest="${buildDirectory}/maps"
+ tag="${mapVersionTag}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ <!--
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${env.RELENGMAPS}"
+ dest="${buildDirectory}/maps"
+ tag="${mapVersionTag}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ -->
+ <!--tag the map files project-->
+ <antcall target="tagMapFiles">
+ <param
+ name="mapCvsRoot"
+ value="${mapCvsRoot}" />
+ </antcall>
+
+ <!-- copy all maps to the same place. Be sure to copy only "maps", as there may be "dependancies" etc,
+ that could be out of date -->
+ <!-- turns out this "one flat directory" appears not needed!
+ <copy todir="${buildDirectory}/maps/${env.RELENG}/maps" flatten="true">
+ <fileset dir="${buildDirectory}/maps/">
+ <include name="**/*.map" />
+ </fileset>
+ </copy>
+ -->
+
+ </target>
+
+ <target
+ name="tagMapFiles"
+ if="tagMaps">
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ dest="${buildDirectory}/maps"
+ command="tag v${buildType}${timestamp}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ </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}" />
+
+ <ant
+ antfile="${component.dir}/dependency.xml"
+ target="get">
+ <property
+ name="dependency.properties"
+ value="${buildDirectory}/maps/${env.RELENG}/maps/dependencies.properties" />
+ <property
+ name="base.install.dir"
+ value="${buildRoot}" />
+ </ant>
+ <!--fetch the additional pieces to build wst tests -->
+ <property
+ name="featureOnly"
+ value="false" />
+ <property
+ name="featureAndPlugins"
+ value="true" />
+ <property
+ name="featuresRecursively"
+ value="true" />
+ <ant
+ antfile="genericTargets.xml"
+ dir="${pde.build.scripts}"
+ target="fetchElement">
+ <property
+ name="type"
+ value="feature" />
+ <property
+ name="id"
+ value="org.eclipse.wst" />
+ </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="postGenerate">
+
+ <customizeAccessRules
+ bundleDirectory="${buildDirectory}/plugins"
+ defaultRules="+org/eclipse/wst/**/*, +org/eclipse/jst/**/*" />
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after generating the build scripts. -->
+ <!-- ===================================================================== -->
+ <target name="preGenerate"></target>
+
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do before running the build.xmls for the elements being built. -->
+ <!-- ===================================================================== -->
+ <target name="preProcess"></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 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}/testcompilelogs" />
+ <echo
+ level="debug"
+ message="logExtension: ${logExtension}" />
+ <antcall target="allElements">
+ <param
+ name="target"
+ value="gatherLogs" />
+ <param
+ name="logExtension"
+ value="${logExtension}" />
+ </antcall>
+ <unzip
+ dest="${buildDirectory}/${buildLabel}/testcompilelogs"
+ overwrite="true">
+ <fileset
+ dir="${buildDirectory}/features/org.eclipse.wst.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
+ level="error"
+ message="You must specify a target when invoking this file" />
+ </target>
+
+ <target name="check.useLocalMaps">
+ <condition property="useLocalMaps">
+ <equals
+ arg1="${env.USE_LOCAL_MAPS}"
+ arg2="true" />
+ </condition>
+ </target>
+
+</project>
diff --git a/releng.wtpbuilder/components/wst.tests/dependency.xml b/releng.wtpbuilder/components/wst.tests/dependency.xml
new file mode 100644
index 0000000..43b53e9
--- /dev/null
+++ b/releng.wtpbuilder/components/wst.tests/dependency.xml
@@ -0,0 +1,76 @@
+<?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">
+
+ <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>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="emf" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="gef" />
+ </antcall>
+
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="eclipse" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="eclipseTestFramework" />
+ </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>
+
diff --git a/releng.wtpbuilder/components/wst/build.properties b/releng.wtpbuilder/components/wst/build.properties
new file mode 100644
index 0000000..5958187
--- /dev/null
+++ b/releng.wtpbuilder/components/wst/build.properties
@@ -0,0 +1,36 @@
+###############################################################################
+# 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
+###############################################################################
+
+# 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
+
diff --git a/releng.wtpbuilder/components/wst/customTargets.xml b/releng.wtpbuilder/components/wst/customTargets.xml
new file mode 100644
index 0000000..168e7ab
--- /dev/null
+++ b/releng.wtpbuilder/components/wst/customTargets.xml
@@ -0,0 +1,461 @@
+<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 unless="buildDirectory" message="buildDirectory must be set" />
+ <echo message="buildDirectory: ${buildDirectory}" />
+
+ <property
+ name="cvsProtocol"
+ value="${env.BUILD_CVS_WRITE_PROTOCOL}" />
+ <property
+ name="cvsUser"
+ value="${env.BUILD_CVS_WRITE_USER}" />
+ <property
+ name="cvsServer"
+ value="${env.BUILD_CVS_SERVER}" />
+ <property
+ name="cvsRoot"
+ value="${env.BUILD_CVS_ROOT}" />
+
+ <!-- ===================================================================== -->
+ <!-- Run a given ${target} on all elements being built -->
+ <!-- Add on <ant> task for each top level element being built. -->
+ <!-- ===================================================================== -->
+ <target name="allElements">
+ <echo
+ level="info"
+ message="Target:${target} " />
+ <echo
+ level="debug"
+ message="basedir: ${basedir}" />
+ <echo
+ level="debug"
+ message="component: ${component}" />
+ <echo
+ level="debug"
+ message="buildDirectory: ${buildDirectory}" />
+ <echo
+ level="debug"
+ message="baseLocation: ${baseLocation}" />
+ <echo
+ level="debug"
+ message="generic target: ${genericTargets}" />
+ <ant
+ antfile="${genericTargets}"
+ target="${target}">
+ <property
+ name="type"
+ value="feature" />
+ <property
+ name="id"
+ value="org.eclipse.wst" />
+ </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">
+ <property
+ name="archiveName"
+ value="wtp-wst-${buildLabel}.zip" />
+ <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="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="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"
+ depends="check.useLocalMaps"
+ if="useLocalMaps">
+ <available
+ property="mapsLocal"
+ file="${buildDirectory}/maps/${env.RELENG}" />
+ </target>
+ <target
+ name="getMapFiles"
+ depends="checkLocal"
+ unless="mapsLocal">
+
+ <!-- *** change the repo info -->
+ <property
+ name="mapCvsRoot"
+ value=":${cvsProtocol}:${cvsUser}@${cvsServer}:${cvsRoot}" />
+
+ <!-- if not otherwise set, assume HEAD -->
+ <property
+ name="mapVersionTag"
+ value="HEAD" />
+
+
+ <echo
+ level="info"
+ message="${mapCvsRoot} ${mapVersionTag} ">
+ </echo>
+ <property
+ name="cvsPackage"
+ value="${env.RELENGMAPS}" />
+ <echo
+ level="debug"
+ message="${mapCvsRoot} ${mapVersionTag} " />
+ <echo
+ level="debug"
+ message="cvsPackage = ${cvsPackage} " />
+
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${cvsPackage}"
+ dest="${buildDirectory}/maps"
+ tag="${mapVersionTag}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ <!--
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${env.RELENGMAPS}"
+ dest="${buildDirectory}/maps"
+ tag="${mapVersionTag}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ -->
+
+ <!--tag the map files project-->
+ <antcall target="tagMapFiles">
+ <param
+ name="mapCvsRoot"
+ value="${mapCvsRoot}" />
+ </antcall>
+
+ <!-- copy all maps to the same place. Be sure to copy only "maps", as there may be "dependancies" etc,
+ that could be out of date -->
+ <!-- turns out this "one flat directory" appears not needed!
+ <copy todir="${buildDirectory}/maps/${env.RELENG}/maps" flatten="true">
+ <fileset dir="${buildDirectory}/maps/">
+ <include name="**/*.map" />
+ </fileset>
+ </copy>
+ -->
+
+
+
+ </target>
+
+ <target
+ name="tagMapFiles"
+ if="tagMaps">
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ dest="${buildDirectory}/maps"
+ command="tag v${buildType}${timestamp}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ </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}" />
+
+ <ant
+ antfile="${component.dir}/dependency.xml"
+ target="get">
+ <property
+ name="dependency.properties"
+ value="${buildDirectory}/maps/${env.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="postGenerate">
+ <echo message="buildDirectory: ${buildDirectory}" />
+ <customizeAccessRules
+ bundleDirectory="${buildDirectory}/plugins"
+ defaultRules="+org/eclipse/wst/**/*, +org/eclipse/jst/**/*" />
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do after generating the build scripts. -->
+ <!-- ===================================================================== -->
+ <target name="preGenerate"></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. -->
+ <!-- Note: in version 2.0 (and previous) we need to build the
+ explorer war file by invoking script. In 3.0 forward, we do not,
+ so this simple existence check allows us to use the same script for
+ both streams -->
+ <!-- ===================================================================== -->
+ <property
+ name="buildwarfilename"
+ value="${buildDirectory}/plugins/org.eclipse.wst.ws.explorer/build-war.xml" />
+ <target
+ name="preAssemble"
+ depends="buildwar">
+ </target>
+
+ <target name="checkForBuildFile">
+ <condition property="buildFileExists">
+ <available file="${buildwarfilename}" />
+ </condition>
+ </target>
+
+ <target
+ name="buildwar"
+ depends="checkForBuildFile"
+ if="buildFileExists">
+ <ant antfile="${buildwarfilename}">
+ <property
+ name="baseLocation"
+ value="${baseLocation}" />
+ <property
+ name="basedir"
+ value="${buildDirectory}/plugins/org.eclipse.wst.ws.explorer" />
+ <property
+ name="buildDirectory"
+ value="${buildDirectory}" />
+ </ant>
+ </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" />
+ <echo
+ level="debug"
+ message="logExtension: ${logExtension}" />
+ <antcall target="allElements">
+ <param
+ name="target"
+ value="gatherLogs" />
+ <param
+ name="logExtension"
+ value="${logExtension}" />
+ </antcall>
+ <unzip
+ dest="${buildDirectory}/${buildLabel}/compilelogs"
+ overwrite="true">
+ <fileset dir="${buildDirectory}/features/org.eclipse.wst">
+ <include name="**/*.log.zip" />
+ </fileset>
+ </unzip>
+
+
+ <!-- workaround: see https://bugs.eclipse.org/bugs/show_bug.cgi?id=156043 -->
+ <copy
+ todir="${buildDirectory}/${buildLabel}/compilelogs"
+ overwrite="true">
+ <fileset
+ dir="${buildDirectory}/features/org.eclipse.wst.common_ui.feature/feature.temp.folder" />
+ </copy>
+
+ <copy
+ todir="${buildDirectory}/${buildLabel}/compilelogs"
+ overwrite="true">
+ <fileset
+ dir="${buildDirectory}/features/org.eclipse.wst.server_ui.feature/feature.temp.folder" />
+ </copy>
+
+ <copy
+ todir="${buildDirectory}/${buildLabel}/compilelogs"
+ overwrite="true">
+ <fileset
+ dir="${buildDirectory}/features/org.eclipse.wst.xml_ui.feature/feature.temp.folder" />
+ </copy>
+
+ <copy
+ todir="${buildDirectory}/${buildLabel}/compilelogs"
+ overwrite="true">
+ <fileset
+ dir="${buildDirectory}/features/org.eclipse.wst.ws_ui.feature/feature.temp.folder" />
+ </copy>
+
+ <copy
+ todir="${buildDirectory}/${buildLabel}/compilelogs"
+ overwrite="true">
+ <fileset
+ dir="${buildDirectory}/features/org.eclipse.wst.web_ui.feature/feature.temp.folder" />
+ </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>
+
+ <target name="check.useLocalMaps">
+ <condition property="useLocalMaps">
+ <equals
+ arg1="${env.USE_LOCAL_MAPS}"
+ arg2="true" />
+ </condition>
+ </target>
+
+</project>
diff --git a/releng.wtpbuilder/components/wst/dependency.xml b/releng.wtpbuilder/components/wst/dependency.xml
new file mode 100644
index 0000000..69d8a74
--- /dev/null
+++ b/releng.wtpbuilder/components/wst/dependency.xml
@@ -0,0 +1,94 @@
+<?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">
+
+ <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_BUIDERS}/${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="gef" />
+ </antcall>
+
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="eclipse" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="eclipseTestFramework" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="dita" />
+ </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>
+
diff --git a/releng.wtpbuilder/components/wtp-buildTools/build.properties b/releng.wtpbuilder/components/wtp-buildTools/build.properties
new file mode 100644
index 0000000..5bb7a15
--- /dev/null
+++ b/releng.wtpbuilder/components/wtp-buildTools/build.properties
@@ -0,0 +1,36 @@
+###############################################################################
+# 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
+###############################################################################
+
+# 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
+
+# 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
+
diff --git a/releng.wtpbuilder/components/wtp-buildTools/customTargets.xml b/releng.wtpbuilder/components/wtp-buildTools/customTargets.xml
new file mode 100644
index 0000000..9763ef5
--- /dev/null
+++ b/releng.wtpbuilder/components/wtp-buildTools/customTargets.xml
@@ -0,0 +1,314 @@
+<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" />
+
+
+ <property
+ name="cvsProtocol"
+ value="${env.BUILD_CVS_WRITE_PROTOCOL}" />
+ <property
+ name="cvsUser"
+ value="${env.BUILD_CVS_WRITE_USER}" />
+ <property
+ name="cvsServer"
+ value="${env.BUILD_CVS_SERVER}" />
+ <property
+ name="cvsRoot"
+ value="${env.BUILD_CVS_ROOT}" />
+
+ <!-- ===================================================================== -->
+ <!-- Run a given ${target} on all elements being built -->
+ <!-- Add on <ant> task for each top level element being built. -->
+ <!-- ===================================================================== -->
+ <target name="allElements">
+ <echo
+ level="info"
+ message="Target:${target} " />
+ <echo
+ level="debug"
+ message="basedir: ${basedir}" />
+ <echo
+ level="debug"
+ message="buildDirectory: ${buildDirectory}" />
+ <echo
+ level="debug"
+ 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/${env.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
+ level="debug"
+ message="${mapCvsRoot} ${mapVersionTag} " />
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${env.RELENG}"
+ dest="${buildDirectory}/maps"
+ tag="${mapVersionTag}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ <!--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}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ </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/${env.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" />
+ <param
+ name="logExtension"
+ value="${logExtension}" />
+
+ </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
+ level="error"
+ message="You must specify a target when invoking this file" />
+ </target>
+
+</project>
diff --git a/releng.wtpbuilder/components/wtp-buildTools/dependency.xml b/releng.wtpbuilder/components/wtp-buildTools/dependency.xml
new file mode 100644
index 0000000..1c73094
--- /dev/null
+++ b/releng.wtpbuilder/components/wtp-buildTools/dependency.xml
@@ -0,0 +1,48 @@
+<?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>
+
diff --git a/releng.wtpbuilder/components/wtp-patches-tests/build.properties b/releng.wtpbuilder/components/wtp-patches-tests/build.properties
new file mode 100644
index 0000000..1cf330f
--- /dev/null
+++ b/releng.wtpbuilder/components/wtp-patches-tests/build.properties
@@ -0,0 +1,36 @@
+###############################################################################
+# 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
+###############################################################################
+
+# 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
+
+# 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
+logExtension=.xml
+# 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
+
diff --git a/releng.wtpbuilder/components/wtp-patches-tests/customTargets.xml b/releng.wtpbuilder/components/wtp-patches-tests/customTargets.xml
new file mode 100644
index 0000000..730db5d
--- /dev/null
+++ b/releng.wtpbuilder/components/wtp-patches-tests/customTargets.xml
@@ -0,0 +1,372 @@
+<project
+ name="PDECustomTargets"
+ default="noDefault"
+ basedir=".">
+
+ <property
+ name="patchFeature"
+ value="org.eclipse.wtp.patch.tests.assembly.feature" />
+
+
+
+ <!-- = = = 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" />
+
+
+ <property
+ name="cvsProtocol"
+ value="${env.BUILD_CVS_WRITE_PROTOCOL}" />
+ <property
+ name="cvsUser"
+ value="${env.BUILD_CVS_WRITE_USER}" />
+ <property
+ name="cvsServer"
+ value="${env.BUILD_CVS_SERVER}" />
+ <property
+ name="cvsRoot"
+ value="${env.BUILD_CVS_ROOT}" />
+
+
+ <!-- ===================================================================== -->
+ <!-- Run a given ${target} on all elements being built -->
+ <!-- Add on <ant> task for each top level element being built. -->
+ <!-- ===================================================================== -->
+ <target name="allElements">
+ <echo
+ level="info"
+ message="Target:${target} " />
+ <echo
+ level="debug"
+ message="basedir: ${basedir}" />
+ <echo
+ level="debug"
+ message="component: ${component}" />
+ <echo
+ level="debug"
+ message="buildDirectory: ${buildDirectory}" />
+ <echo
+ level="debug"
+ message="baseLocation: ${baseLocation}" />
+ <ant
+ antfile="${genericTargets}"
+ target="${target}">
+ <property
+ name="type"
+ value="feature" />
+ <property
+ name="id"
+ value="${patchFeature}" />
+ </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.patch.tests.assembly.feature">
+ <property
+ name="archiveName"
+ value="wtp-patches-tests-${buildLabel}.zip" />
+ <ant
+ antfile="${assembleScriptName}"
+ dir="${buildDirectory}" />
+ </target>
+
+ <target name="prePackage" />
+
+
+ <target name="postPackage">
+ <property
+ name="archiveName"
+ value="wtp-patches-tests-${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"
+ depends="check.useLocalMaps"
+ if="useLocalMaps">
+ <available
+ property="mapsLocal"
+ file="${buildDirectory}/maps/${env.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" />
+ <property
+ name="cvsPackage"
+ value="${env.RELENGMAPS}" />
+ <echo
+ level="debug"
+ message="${mapCvsRoot} ${mapVersionTag} " />
+ <echo
+ level="debug"
+ message="cvsPackage = ${cvsPackage} " />
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${cvsPackage}"
+ dest="${buildDirectory}/maps"
+ tag="${mapVersionTag}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ <!--
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${env.RELENGMAPS}"
+ dest="${buildDirectory}/maps"
+ tag="${mapVersionTag}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ -->
+ <!--tag the map files project-->
+ <antcall target="tagMapFiles">
+ <param
+ name="mapCvsRoot"
+ value="${mapCvsRoot}" />
+ </antcall>
+
+ <!-- copy all maps to the same place. Be sure to copy only "maps", as there may be "dependancies" etc,
+ that could be out of date -->
+ <!-- turns out this "one flat directory" appears not needed!
+ <copy todir="${buildDirectory}/maps/${env.RELENG}/maps" flatten="true">
+ <fileset dir="${buildDirectory}/maps/">
+ <include name="**/*.map" />
+ </fileset>
+ </copy>
+ -->
+
+ </target>
+
+ <target
+ name="tagMapFiles"
+ if="tagMaps">
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ dest="${buildDirectory}/maps"
+ command="tag v${buildType}${timestamp}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ </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}" />
+
+ <ant
+ antfile="${component.dir}/dependency.xml"
+ target="get">
+ <property
+ name="dependency.properties"
+ value="${buildDirectory}/maps/${env.RELENG}/maps/dependencies.properties" />
+ <property
+ name="base.install.dir"
+ value="${buildRoot}" />
+ </ant>
+ <!--fetch the additional pieces to build wst tests -->
+ <!--
+ <property
+ name="featureOnly"
+ value="false" />
+ <property
+ name="featureAndPlugins"
+ value="true" />
+ <property
+ name="featuresRecursively"
+ value="true" />
+ <ant
+ antfile="genericTargets.xml"
+ dir="${pde.build.scripts}"
+ target="fetchElement">
+ <property
+ name="type"
+ value="feature" />
+ <property
+ name="id"
+ value="org.eclipse.wst" />
+ </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="postGenerate"></target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after generating the build scripts. -->
+ <!-- ===================================================================== -->
+ <target name="preGenerate"></target>
+
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do before running the build.xmls for the elements being built. -->
+ <!-- ===================================================================== -->
+ <target name="preProcess"></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 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}/testcompilelogs" />
+ <echo
+ level="debug"
+ message="logExtension: ${logExtension}" />
+ <antcall target="allElements">
+ <param
+ name="target"
+ value="gatherLogs" />
+ <param
+ name="logExtension"
+ value="${logExtension}" />
+
+ </antcall>
+ <unzip
+ dest="${buildDirectory}/${buildLabel}/testcompilelogs"
+ overwrite="true">
+ <fileset dir="${buildDirectory}/features/${patchFeature}">
+ <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
+ level="error"
+ message="You must specify a target when invoking this file" />
+ </target>
+ <target name="check.useLocalMaps">
+ <condition property="useLocalMaps">
+ <equals
+ arg1="${env.USE_LOCAL_MAPS}"
+ arg2="true" />
+ </condition>
+ </target>
+</project>
diff --git a/releng.wtpbuilder/components/wtp-patches-tests/dependency.xml b/releng.wtpbuilder/components/wtp-patches-tests/dependency.xml
new file mode 100644
index 0000000..8e2981a
--- /dev/null
+++ b/releng.wtpbuilder/components/wtp-patches-tests/dependency.xml
@@ -0,0 +1,84 @@
+<?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="emf" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="gef" />
+ </antcall>
+
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="eclipse" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="eclipseTestFramework" />
+ </antcall>
+
+
+ <!-- for patch builds, also get a whole released version to
+ compile against -->
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="wtp" />
+ </antcall>
+ <!-- including tests -->
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="wtp-wst-test" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="wtp-jst-test" />
+ </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>
+
diff --git a/releng.wtpbuilder/components/wtp-patches/build.properties b/releng.wtpbuilder/components/wtp-patches/build.properties
new file mode 100644
index 0000000..6de88ee
--- /dev/null
+++ b/releng.wtpbuilder/components/wtp-patches/build.properties
@@ -0,0 +1,37 @@
+###############################################################################
+# Copyright (c) 2003, 2004 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Common Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/cpl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+#####################
+# Parameters describing how and where to execute the build.
+# Typical users need only update the following properties:
+# baseLocation - where things you are building against are installed
+# bootclasspath - The base jars to compile against (typicaly rt.jar)
+# configs - the list of {os, ws, arch} configurations to build.
+#
+# Of course any of the settings here can be overridden by spec'ing
+# them on the command line (e.g., -DbaseLocation=d:/eclipse
+
+############# CVS CONTROL ################
+
+# This property file is used automatically by the PDE build process
+
+runPackager=true
+
+# The location underwhich all of the build output will be collected.
+collectingFolder=eclipse
+
+# The prefix that will be used in the generated archive.
+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
diff --git a/releng.wtpbuilder/components/wtp-patches/customTargets.xml b/releng.wtpbuilder/components/wtp-patches/customTargets.xml
new file mode 100644
index 0000000..1f0aed0
--- /dev/null
+++ b/releng.wtpbuilder/components/wtp-patches/customTargets.xml
@@ -0,0 +1,369 @@
+<project
+ name="PDECustomTargets"
+ default="noDefault"
+ basedir=".">
+
+ <property
+ name="patchFeature"
+ value="org.eclipse.wtp.patch.assembly.feature" />
+
+
+ <!-- = = = 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" />
+
+
+ <property
+ name="cvsProtocol"
+ value="${env.BUILD_CVS_WRITE_PROTOCOL}" />
+ <property
+ name="cvsUser"
+ value="${env.BUILD_CVS_WRITE_USER}" />
+ <property
+ name="cvsServer"
+ value="${env.BUILD_CVS_SERVER}" />
+ <property
+ name="cvsRoot"
+ value="${env.BUILD_CVS_ROOT}" />
+
+ <!-- ===================================================================== -->
+ <!-- Run a given ${target} on all elements being built -->
+ <!-- Add on <ant> task for each top level element being built. -->
+ <!-- ===================================================================== -->
+ <target name="allElements">
+ <echo
+ level="info"
+ message="Target:${target} " />
+ <echo
+ level="debug"
+ message="basedir: ${basedir}" />
+ <echo
+ level="debug"
+ message="component: ${component}" />
+ <echo
+ level="debug"
+ message="buildDirectory: ${buildDirectory}" />
+ <echo
+ level="debug"
+ message="baseLocation: ${baseLocation}" />
+ <echo
+ level="debug"
+ message="patchFeature: ${patchFeature}" />
+ <ant
+ antfile="${genericTargets}"
+ target="${target}">
+ <property
+ name="type"
+ value="feature" />
+ <property
+ name="id"
+ value="${patchFeature}" />
+ </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.patch.assembly.feature">
+ <property
+ name="archiveName"
+ value="wtp-${buildLabel}.zip" />
+ <ant
+ antfile="${assembleScriptName}"
+ dir="${buildDirectory}" />
+
+ </target>
+
+ <target name="prePackage" />
+
+ <target name="postPackage">
+ <property
+ name="archiveName"
+ value="wtp-${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"
+ depends="check.useLocalMaps"
+ if="useLocalMaps">
+ <available
+ property="mapsLocal"
+ file="${buildDirectory}/maps/${env.RELENG}" />
+ </target>
+ <target
+ name="getMapFiles"
+ depends="checkLocal"
+ unless="mapsLocal">
+
+ <!-- *** change the repo info -->
+ <property
+ name="mapCvsRoot"
+ value=":${cvsProtocol}:${cvsUser}@${cvsServer}:${cvsRoot}" />
+
+ <!-- if not otherwise set, assume HEAD -->
+ <property
+ name="mapVersionTag"
+ value="HEAD" />
+
+
+
+
+
+ <property
+ name="cvsPackage"
+ value="${env.RELENGMAPS}" />
+ <echo
+ level="debug"
+ message="${mapCvsRoot} ${mapVersionTag} " />
+ <echo
+ level="debug"
+ message="cvsPackage = ${cvsPackage} " />
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${cvsPackage}"
+ dest="${buildDirectory}/maps"
+ tag="${mapVersionTag}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ <!--
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${env.RELENGMAPS}"
+ dest="${buildDirectory}/maps"
+ tag="${mapVersionTag}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ -->
+ <!--tag the map files project-->
+ <antcall target="tagMapFiles">
+ <param
+ name="mapCvsRoot"
+ value="${mapCvsRoot}" />
+ </antcall>
+
+ <!-- copy all maps to the same place. Be sure to copy only "maps", as there may be "dependancies" etc,
+ that could be out of date -->
+ <!-- turns out this "one flat directory" appears not needed!
+ <copy todir="${buildDirectory}/maps/${env.RELENG}/maps" flatten="true">
+ <fileset dir="${buildDirectory}/maps/">
+ <include name="**/*.map" />
+ </fileset>
+ </copy>
+ -->
+ </target>
+
+ <target
+ name="tagMapFiles"
+ if="tagMaps">
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ dest="${buildDirectory}/maps"
+ command="tag v${buildType}${timestamp}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ </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}" />
+
+ <ant
+ antfile="${component.dir}/dependency.xml"
+ target="get">
+ <property
+ name="dependency.properties"
+ value="${buildDirectory}/maps/${env.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" />
+ <echo
+ level="debug"
+ message="logExtension: ${logExtension}" />
+ <antcall target="allElements">
+ <param
+ name="target"
+ value="gatherLogs" />
+ <param
+ name="logExtension"
+ value="${logExtension}" />
+
+ </antcall>
+
+ <unzip
+ dest="${buildDirectory}/${buildLabel}/compilelogs"
+ overwrite="true">
+ <fileset dir="${buildDirectory}/features/${patchFeature}">
+ <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
+ level="error"
+ message="You must specify a target when invoking this file" />
+ </target>
+
+ <target name="check.useLocalMaps">
+ <condition property="useLocalMaps">
+ <equals
+ arg1="${env.USE_LOCAL_MAPS}"
+ arg2="true" />
+ </condition>
+ </target>
+
+</project>
diff --git a/releng.wtpbuilder/components/wtp-patches/dependency.xml b/releng.wtpbuilder/components/wtp-patches/dependency.xml
new file mode 100644
index 0000000..f52a9ec
--- /dev/null
+++ b/releng.wtpbuilder/components/wtp-patches/dependency.xml
@@ -0,0 +1,97 @@
+<?xml version="1.0"?>
+<!-- ======================================================================
+ Properties that must be passed to this script:
+ base.install.dir
+ dependencyTargets
+ local.cache.dir
+ dependency.properties
+ baseos
+ basews
+ basearch
+
+ ====================================================================== -->
+<project
+ name="test"
+ default="get">
+
+ <target name="get">
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="emf" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="gef" />
+ </antcall>
+
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="eclipse" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="eclipseTestFramework" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="dita" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="wtp" />
+ </antcall>
+
+ <!-- for patch builds, also get a whole released version to
+ compile against -->
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="wtp" />
+ </antcall>
+ <!-- including tests -->
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="wtp-wst-test" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="wtp-jst-test" />
+ </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>
+
diff --git a/releng.wtpbuilder/components/xsl/build.properties b/releng.wtpbuilder/components/xsl/build.properties
new file mode 100644
index 0000000..5958187
--- /dev/null
+++ b/releng.wtpbuilder/components/xsl/build.properties
@@ -0,0 +1,36 @@
+###############################################################################
+# 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
+###############################################################################
+
+# 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
+
diff --git a/releng.wtpbuilder/components/xsl/customTargets.xml b/releng.wtpbuilder/components/xsl/customTargets.xml
new file mode 100644
index 0000000..b382a04
--- /dev/null
+++ b/releng.wtpbuilder/components/xsl/customTargets.xml
@@ -0,0 +1,393 @@
+<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 unless="buildDirectory" message="buildDirectory must be set" />
+ <echo message="buildDirectory: ${buildDirectory}" />
+
+ <property
+ name="cvsProtocol"
+ value="${env.BUILD_CVS_WRITE_PROTOCOL}" />
+ <property
+ name="cvsUser"
+ value="${env.BUILD_CVS_WRITE_USER}" />
+ <property
+ name="cvsServer"
+ value="${env.BUILD_CVS_SERVER}" />
+ <property
+ name="cvsRoot"
+ value="${env.BUILD_CVS_ROOT}" />
+
+ <!-- ===================================================================== -->
+ <!-- Run a given ${target} on all elements being built -->
+ <!-- Add on <ant> task for each top level element being built. -->
+ <!-- ===================================================================== -->
+ <target name="allElements">
+ <echo
+ level="info"
+ message="Target:${target} " />
+ <echo
+ level="debug"
+ message="basedir: ${basedir}" />
+ <echo
+ level="debug"
+ message="component: ${component}" />
+ <echo
+ level="debug"
+ message="buildDirectory: ${buildDirectory}" />
+ <echo
+ level="debug"
+ message="baseLocation: ${baseLocation}" />
+ <echo
+ level="debug"
+ message="generic target: ${genericTargets}" />
+ <ant
+ antfile="${genericTargets}"
+ target="${target}">
+ <property
+ name="type"
+ value="feature" />
+ <property
+ name="id"
+ value="org.eclipse.wst.xsl.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.wst.xsl.feature">
+ <property
+ name="archiveName"
+ value="wtp-incubator-xsl-${buildLabel}.zip" />
+ <ant
+ antfile="${assembleScriptName}"
+ dir="${buildDirectory}" />
+
+ </target>
+
+ <target name="prePackage" />
+
+ <target name="postPackage">
+ <property
+ name="archiveName"
+ value="wtp-incubator-xsl-${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>
+
+ <ant
+ antfile="${wtp.builder.home}/scripts/build/buildutilities.xml"
+ target="createChecksums">
+ <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"
+ depends="check.useLocalMaps"
+ if="useLocalMaps">
+ <available
+ property="mapsLocal"
+ file="${buildDirectory}/maps/${env.RELENG}" />
+ </target>
+ <target
+ name="getMapFiles"
+ depends="checkLocal"
+ unless="mapsLocal">
+
+ <!-- *** change the repo info -->
+ <property
+ name="mapCvsRoot"
+ value=":${cvsProtocol}:${cvsUser}@${cvsServer}:${cvsRoot}" />
+
+ <!-- if not otherwise set, assume HEAD -->
+ <property
+ name="mapVersionTag"
+ value="HEAD" />
+
+
+ <echo
+ level="info"
+ message="${mapCvsRoot} ${mapVersionTag} ">
+ </echo>
+ <property
+ name="cvsPackage"
+ value="${env.RELENGMAPS}" />
+ <echo
+ level="debug"
+ message="${mapCvsRoot} ${mapVersionTag} " />
+ <echo
+ level="debug"
+ message="cvsPackage = ${cvsPackage} " />
+
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${cvsPackage}"
+ dest="${buildDirectory}/maps"
+ tag="${mapVersionTag}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ <!--
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${env.RELENGMAPS}"
+ dest="${buildDirectory}/maps"
+ tag="${mapVersionTag}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ -->
+
+ <!--tag the map files project-->
+ <antcall target="tagMapFiles">
+ <param
+ name="mapCvsRoot"
+ value="${mapCvsRoot}" />
+ </antcall>
+
+ <!-- copy all maps to the same place. Be sure to copy only "maps", as there may be "dependancies" etc,
+ that could be out of date -->
+ <!-- turns out this "one flat directory" appears not needed!
+ <copy todir="${buildDirectory}/maps/${env.RELENG}/maps" flatten="true">
+ <fileset dir="${buildDirectory}/maps/">
+ <include name="**/*.map" />
+ </fileset>
+ </copy>
+ -->
+
+
+
+ </target>
+
+ <target
+ name="tagMapFiles"
+ if="tagMaps">
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ dest="${buildDirectory}/maps"
+ command="tag v${buildType}${timestamp}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ </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}" />
+
+ <ant
+ antfile="${component.dir}/dependency.xml"
+ target="get">
+ <property
+ name="dependency.properties"
+ value="${buildDirectory}/maps/${env.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="postGenerate">
+ <echo message="buildDirectory: ${buildDirectory}" />
+ <customizeAccessRules
+ bundleDirectory="${buildDirectory}/plugins"
+ defaultRules="+org/eclipse/wst/**/*, +org/eclipse/jst/**/*" />
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do after generating the build scripts. -->
+ <!-- ===================================================================== -->
+ <target name="preGenerate"></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" />
+ <echo
+ level="debug"
+ message="logExtension: ${logExtension}" />
+ <antcall target="allElements">
+ <param
+ name="target"
+ value="gatherLogs" />
+ <param
+ name="logExtension"
+ value="${logExtension}" />
+ </antcall>
+ <unzip
+ dest="${buildDirectory}/${buildLabel}/compilelogs"
+ overwrite="true">
+ <fileset dir="${buildDirectory}/features/org.eclipse.wst.xsl.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
+ level="error"
+ message="You must specify a target when invoking this file" />
+ </target>
+
+ <target name="check.useLocalMaps">
+ <condition property="useLocalMaps">
+ <equals
+ arg1="${env.USE_LOCAL_MAPS}"
+ arg2="true" />
+ </condition>
+ </target>
+
+</project>
diff --git a/releng.wtpbuilder/components/xsl/dependency.xml b/releng.wtpbuilder/components/xsl/dependency.xml
new file mode 100644
index 0000000..43d2d1e
--- /dev/null
+++ b/releng.wtpbuilder/components/xsl/dependency.xml
@@ -0,0 +1,74 @@
+<?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">
+
+ <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>
+
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="emf" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="gef" />
+ </antcall>
+
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="eclipse" />
+ </antcall>
+
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="wst" />
+ </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>
+
diff --git a/releng.wtpbuilder/components/xsl_sdk/build.properties b/releng.wtpbuilder/components/xsl_sdk/build.properties
new file mode 100644
index 0000000..1cf330f
--- /dev/null
+++ b/releng.wtpbuilder/components/xsl_sdk/build.properties
@@ -0,0 +1,36 @@
+###############################################################################
+# 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
+###############################################################################
+
+# 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
+
+# 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
+logExtension=.xml
+# 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
+
diff --git a/releng.wtpbuilder/components/xsl_sdk/customTargets.xml b/releng.wtpbuilder/components/xsl_sdk/customTargets.xml
new file mode 100644
index 0000000..30d1c07
--- /dev/null
+++ b/releng.wtpbuilder/components/xsl_sdk/customTargets.xml
@@ -0,0 +1,362 @@
+<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" />
+
+
+ <property
+ name="cvsProtocol"
+ value="${env.BUILD_CVS_WRITE_PROTOCOL}" />
+ <property
+ name="cvsUser"
+ value="${env.BUILD_CVS_WRITE_USER}" />
+ <property
+ name="cvsServer"
+ value="${env.BUILD_CVS_SERVER}" />
+ <property
+ name="cvsRoot"
+ value="${env.BUILD_CVS_ROOT}" />
+
+ <!-- ===================================================================== -->
+ <!-- Run a given ${target} on all elements being built -->
+ <!-- Add on <ant> task for each top level element being built. -->
+ <!-- ===================================================================== -->
+ <target name="allElements">
+ <echo
+ level="info"
+ message="Target:${target} " />
+ <echo
+ level="debug"
+ message="basedir: ${basedir}" />
+ <echo
+ level="debug"
+ message="component: ${component}" />
+ <echo
+ level="debug"
+ message="buildDirectory: ${buildDirectory}" />
+ <echo
+ level="debug"
+ message="baseLocation: ${baseLocation}" />
+ <echo
+ level="debug"
+ message="generic target: ${genericTargets}" />
+ <ant
+ antfile="${genericTargets}"
+ target="${target}">
+ <property
+ name="type"
+ value="feature" />
+ <property
+ name="id"
+ value="org.eclipse.wst.xsl_sdk.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.wst.xsl_sdk.feature">
+ <property
+ name="archiveName"
+ value="wtp-incubator-xsl_sdk-${buildLabel}.zip" />
+ <ant
+ antfile="${assembleScriptName}"
+ dir="${buildDirectory}" />
+ </target>
+
+ <target name="prePackage" />
+
+ <target name="postPackage">
+
+ <property
+ name="archiveName"
+ value="wtp-incubator-xsl_sdk-${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>
+
+ <ant
+ antfile="${wtp.builder.home}/scripts/build/buildutilities.xml"
+ target="createChecksums">
+ <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"
+ depends="check.useLocalMaps"
+ if="useLocalMaps">
+ <available
+ property="mapsLocal"
+ file="${buildDirectory}/maps/${env.RELENG}" />
+ </target>
+ <target
+ name="getMapFiles"
+ depends="checkLocal"
+ unless="mapsLocal">
+
+ <!-- *** change the repo info -->
+ <property
+ name="mapCvsRoot"
+ value=":${cvsProtocol}:${cvsUser}@${cvsServer}:${cvsRoot}" />
+
+ <!-- if not otherwise set, assume HEAD -->
+ <property
+ name="mapVersionTag"
+ value="HEAD" />
+
+ <echo
+ level="info"
+ message="${mapCvsRoot} ${mapVersionTag} ">
+ </echo>
+ <property
+ name="cvsPackage"
+ value="${env.RELENGMAPS}" />
+ <echo
+ level="debug"
+ message="${mapCvsRoot} ${mapVersionTag} " />
+ <echo
+ level="debug"
+ message="cvsPackage = ${cvsPackage} " />
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${cvsPackage}"
+ dest="${buildDirectory}/maps"
+ tag="${mapVersionTag}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+
+ <!--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}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ </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}" />
+
+ <ant
+ antfile="${component.dir}/dependency.xml"
+ target="get">
+ <property
+ name="dependency.properties"
+ value="${buildDirectory}/maps/${env.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="postGenerate">
+ <customizeAccessRules
+ bundleDirectory="${buildDirectory}/plugins"
+ defaultRules="+org/eclipse/wst/**/*, +org/eclipse/jst/**/*" />
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after generating the build scripts. -->
+ <!-- ===================================================================== -->
+ <target name="preGenerate"></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>
+
+ <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" />
+ <echo
+ level="debug"
+ message="logExtension: ${logExtension}" />
+ <antcall target="allElements">
+ <param
+ name="target"
+ value="gatherLogs" />
+ <param
+ name="logExtension"
+ value="${logExtension}" />
+ </antcall>
+ <unzip
+ dest="${buildDirectory}/${buildLabel}/compilelogs"
+ overwrite="true">
+ <fileset
+ dir="${buildDirectory}/features/org.eclipse.wst.xsl_sdk.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
+ level="error"
+ message="You must specify a target when invoking this file" />
+ </target>
+
+ <target name="check.useLocalMaps">
+ <condition property="useLocalMaps">
+ <equals
+ arg1="${env.USE_LOCAL_MAPS}"
+ arg2="true" />
+ </condition>
+ </target>
+
+</project>
diff --git a/releng.wtpbuilder/components/xsl_sdk/dependency.xml b/releng.wtpbuilder/components/xsl_sdk/dependency.xml
new file mode 100644
index 0000000..bc602aa
--- /dev/null
+++ b/releng.wtpbuilder/components/xsl_sdk/dependency.xml
@@ -0,0 +1,63 @@
+<?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">
+
+ <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>
+
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="eclipse" />
+ </antcall>
+
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="wst" />
+ </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>
+
diff --git a/releng.wtpbuilder/components/xsl_tests/build.properties b/releng.wtpbuilder/components/xsl_tests/build.properties
new file mode 100644
index 0000000..5958187
--- /dev/null
+++ b/releng.wtpbuilder/components/xsl_tests/build.properties
@@ -0,0 +1,36 @@
+###############################################################################
+# 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
+###############################################################################
+
+# 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
+
diff --git a/releng.wtpbuilder/components/xsl_tests/customTargets.xml b/releng.wtpbuilder/components/xsl_tests/customTargets.xml
new file mode 100644
index 0000000..050c1fe
--- /dev/null
+++ b/releng.wtpbuilder/components/xsl_tests/customTargets.xml
@@ -0,0 +1,359 @@
+<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" />
+ <property
+ name="cvsProtocol"
+ value="${env.BUILD_CVS_WRITE_PROTOCOL}" />
+ <property
+ name="cvsUser"
+ value="${env.BUILD_CVS_WRITE_USER}" />
+ <property
+ name="cvsServer"
+ value="${env.BUILD_CVS_SERVER}" />
+ <property
+ name="cvsRoot"
+ value="${env.BUILD_CVS_ROOT}" />
+
+ <!-- ===================================================================== -->
+ <!-- Run a given ${target} on all elements being built -->
+ <!-- Add on <ant> task for each top level element being built. -->
+ <!-- ===================================================================== -->
+ <target
+ name="allElements">
+ <echo
+ level="info"
+ message="Target:${target} " />
+ <echo
+ level="debug"
+ message="basedir: ${basedir}" />
+ <echo
+ level="debug"
+ message="component: ${component}" />
+ <echo
+ level="debug"
+ message="buildDirectory: ${buildDirectory}" />
+ <echo
+ level="debug"
+ message="baseLocation: ${baseLocation}" />
+ <ant
+ antfile="${genericTargets}"
+ target="${target}">
+ <property
+ name="type"
+ value="feature" />
+ <property
+ name="id"
+ value="org.eclipse.wst.xsl_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.wst.xsl_tests.feature">
+ <property
+ name="archiveName"
+ value="wtp-incubator-xsl-tests-${buildLabel}.zip" />
+ <ant
+ antfile="${assembleScriptName}"
+ dir="${buildDirectory}" />
+ </target>
+ <target
+ name="prePackage" />
+ <target
+ name="postPackage">
+ <property
+ name="archiveName"
+ value="wtp-incubator-xsl-tests-${buildLabel}.zip" />
+ <ant
+ antfile="${wtp.builder.home}/scripts/build/buildutilities.xml"
+ target="unpackUpdateJarsAndCreateZippedPackages">
+ </ant>
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Check out map files from correct repository -->
+ <!-- Replace values for cvsRoot, package and mapVersionTag as desired. -->
+ <!-- ===================================================================== -->
+ <target
+ name="checkLocal"
+ depends="check.useLocalMaps"
+ if="useLocalMaps">
+ <available
+ property="mapsLocal"
+ file="${buildDirectory}/maps/${env.RELENG}" />
+ </target>
+ <target
+ name="getMapFiles"
+ depends="checkLocal"
+ unless="mapsLocal">
+
+ <!-- *** change the repo info -->
+ <property
+ name="mapCvsRoot"
+ value=":${cvsProtocol}:${cvsUser}@${cvsServer}:${cvsRoot}" />
+
+ <!-- if not otherwise set, assume HEAD -->
+ <property
+ name="mapVersionTag"
+ value="HEAD" />
+ <echo
+ level="info"
+ message="${mapCvsRoot} ${mapVersionTag} ">
+ </echo>
+ <property
+ name="cvsPackage"
+ value="${env.RELENGMAPS}" />
+ <echo
+ level="debug"
+ message="${mapCvsRoot} ${mapVersionTag} " />
+ <echo
+ level="debug"
+ message="cvsPackage = ${cvsPackage} " />
+ <cvs
+ cvsRoot="${mapCvsRoot}"
+ package="${cvsPackage}"
+ dest="${buildDirectory}/maps"
+ tag="${mapVersionTag}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+
+ <!--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}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ </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}" />
+ <ant
+ antfile="${component.dir}/dependency.xml"
+ target="get">
+ <property
+ name="dependency.properties"
+ value="${buildDirectory}/maps/${env.RELENG}/maps/dependencies.properties" />
+ <property
+ name="base.install.dir"
+ value="${buildRoot}" />
+ </ant>
+ <!--fetch the additional pieces to build wst tests -->
+ <property
+ name="featureOnly"
+ value="false" />
+ <property
+ name="featureAndPlugins"
+ value="true" />
+ <property
+ name="featuresRecursively"
+ value="true" />
+ <ant
+ antfile="genericTargets.xml"
+ dir="${pde.build.scripts}"
+ target="fetchElement">
+ <property
+ name="type"
+ value="feature" />
+ <property
+ name="id"
+ value="org.eclipse.wst.xsl.feature" />
+ </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="postGenerate">
+ <customizeAccessRules
+ bundleDirectory="${buildDirectory}/plugins"
+ defaultRules="+org/eclipse/wst/**/*, +org/eclipse/jst/**/*" />
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after generating the build scripts. -->
+ <!-- ===================================================================== -->
+ <target
+ name="preGenerate"></target>
+
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do before running the build.xmls for the elements being built. -->
+ <!-- ===================================================================== -->
+ <target
+ name="preProcess"></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 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}/testcompilelogs" />
+ <echo
+ level="debug"
+ message="logExtension: ${logExtension}" />
+ <antcall
+ target="allElements">
+ <param
+ name="target"
+ value="gatherLogs" />
+ <param
+ name="logExtension"
+ value="${logExtension}" />
+ </antcall>
+ <unzip
+ dest="${buildDirectory}/${buildLabel}/testcompilelogs"
+ overwrite="true">
+ <fileset
+ dir="${buildDirectory}/features/org.eclipse.wst.xsl_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
+ level="error"
+ message="You must specify a target when invoking this file" />
+ </target>
+ <target
+ name="check.useLocalMaps">
+ <condition
+ property="useLocalMaps">
+ <equals
+ arg1="${env.USE_LOCAL_MAPS}"
+ arg2="true" />
+ </condition>
+ </target>
+</project>
\ No newline at end of file
diff --git a/releng.wtpbuilder/components/xsl_tests/dependency.xml b/releng.wtpbuilder/components/xsl_tests/dependency.xml
new file mode 100644
index 0000000..d1b4b4b
--- /dev/null
+++ b/releng.wtpbuilder/components/xsl_tests/dependency.xml
@@ -0,0 +1,70 @@
+<?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">
+
+ <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>
+
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="eclipse" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="eclipseTestFramework" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="wst" />
+ </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>
+
diff --git a/releng.wtpbuilder/distribution/dali.build/build.xml b/releng.wtpbuilder/distribution/dali.build/build.xml
new file mode 100644
index 0000000..17778ed
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.build/build.xml
@@ -0,0 +1,54 @@
+<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="dali" />
+ </ant>
+
+
+ <ant antfile="${buildTargets}">
+ <property
+ name="component"
+ value="dali-sdk" />
+ </ant>
+
+ <ant antfile="${buildTargets}">
+ <property
+ name="component"
+ value="dali.tests" />
+ </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>
diff --git a/releng.wtpbuilder/distribution/dali.site/build.xml b/releng.wtpbuilder/distribution/dali.site/build.xml
new file mode 100644
index 0000000..838242d
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.site/build.xml
@@ -0,0 +1,107 @@
+<project
+ name="Build specific targets and properties"
+ default="build">
+
+ <!-- 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" />
+
+
+ <target name="build">
+ <java
+ jar="${eclipse.launcher}"
+ fork="true"
+ failonerror="true">
+ <jvmarg value="-Dosgi.ws=${env.BASEWS}" />
+ <jvmarg value="-Dosgi.os=${env.BASEOS}" />
+ <jvmarg value="-Dosgi.arch=${env.BASEARCH}" />
+ <jvmarg value="-Dbuild.home=${build.home}" />
+ <jvmarg value="-Dbuild.trial=${build.trial}" />
+ <jvmarg value="-DbuildType=${buildType}" />
+ <jvmarg value="-DbuildId=${buildId}" />
+ <jvmarg value="-DmapVersionTag=${mapVersionTag}" />
+ <jvmarg value="-Dbuild.distribution=${build.distribution}" />
+ <jvmarg value="-DbuildDirectory=${buildDirectory}" />
+ <jvmarg value="-Dwtp.builder.home=${wtp.builder.home}" />
+ <arg value="-application" />
+ <arg value="org.eclipse.ant.core.antRunner" />
+ <arg value="-buildfile" />
+ <arg value="${ant.file}" />
+ <arg value="publish" />
+ </java>
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do to publish the build results -->
+ <!-- ===================================================================== -->
+ <target name="publish">
+ <dirname
+ file="${ant.file}"
+ property="component.dir" />
+ <ant antfile="${wtp.builder.home}/scripts/build/label.xml" />
+ <property file="${buildDirectory}/label.properties" />
+
+ <property
+ name="publish.xml"
+ value="${component.dir}/publish.xml" />
+
+ <property
+ name="indexFileName"
+ value="index.php" />
+ <property
+ name="result"
+ value="${buildDirectory}/${buildLabel}" />
+ <property
+ name="indexTemplateFilename"
+ value="index.html.template" />
+
+ <condition
+ property="isBuildTested"
+ value="true">
+ <available
+ file="${buildDirectory}/${buildLabel}/testResults/consolelogs/dalitestlog.txt" />
+ </condition>
+ <condition
+ property="isBuildTested"
+ value="false">
+ <not>
+ <available
+ file="${buildDirectory}/${buildLabel}/testResults/consolelogs/dalitestlog.txt" />
+ </not>
+ </condition>
+
+ <ant
+ antfile="${publish.xml}"
+ dir="${component.dir}">
+ <property
+ name="dropTokenList"
+ value="%dali-runtime%,%dali-tests%" />
+
+ <property
+ name="daliDownloadURL"
+ value="http://www.eclipse.org/downloads/download.php?file=/technology/dali/committers/drops" />
+
+ <property
+ name="isBuildTested"
+ value="${isBuildTested}" />
+ <property
+ name="indexTemplateFilename"
+ value="${indexTemplateFilename}" />
+ </ant>
+
+ <!-- Get the build map over for the results to point to. -->
+ <copy
+ file="${buildDirectory}/directory.txt"
+ tofile="${result}/directory.txt" />
+
+ <!-- Copy info for build identification -->
+ <copy
+ file="${buildDirectory}/buildmachineinfo.properties"
+ tofile="${result}/buildmachineinfo.properties" />
+
+ </target>
+
+
+</project>
diff --git a/releng.wtpbuilder/distribution/dali.site/publish.xml b/releng.wtpbuilder/distribution/dali.site/publish.xml
new file mode 100644
index 0000000..5680f63
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.site/publish.xml
@@ -0,0 +1,214 @@
+<project
+ name="Publish Build"
+ default="default"
+ basedir=".">
+
+ <!-- Properties that must be passed to this script:
+ buildDirectory: Path to perform the build in. (A working directory)
+ buildType: Type of build (nightly, integration etc.)
+ buildId: Build name
+ buildLabel: <buildType>-<buildName>-<timestamp>
+ -->
+ <property
+ name="result"
+ value="${buildDirectory}/${buildLabel}" />
+
+ <!--name of generated index page-->
+ <property
+ name="indexFileName"
+ value="index.php" />
+
+ <target name="default">
+ <antcall target="countFiles" />
+ <antcall target="generateIndex" />
+ <antcall target="getStaticFiles" />
+ </target>
+
+ <target name="generateIndex">
+
+ <!--
+ isBuildTested: true|false should JUnit plugin test results be used to generate index page
+ dropTokenList: comma separated list of strings which should be replaced by the fileName attribute settings in the testManifest.xml.
+ xmlDirectoryName: path to directory containing JUnit plugin test results in xml format (see doc is org.eclipse.test).
+ dropDirectoryName: path to directory containing the result of the build.
+ testResultsTemplateFileName: path to template file used to generate page with links to JUnit test results
+ testResultsHtmlFileName: name of file which will be generated with links to JUnit test results
+ dropHtmlFileName: name of generated index page
+ hrefTestResultsTargetPath: relative path from index page to directory containing JUnit html test results
+ hrefCompileLogsTargetPath: relative path from index page directory containing compilelogs
+ testManifestFileName: name of xml file containing descriptions of zip types and log files
+
+
+
+ -->
+ <property
+ file="${buildDirectory}/maps/${env.RELENG}/maps/dependencies.properties" />
+
+ <indexResults
+ isBuildTested="${isBuildTested}"
+ dropTokenList="${dropTokenList}"
+ xmlDirectoryName="${result}/testResults/xml"
+ dropDirectoryName="${result}"
+ testResultsTemplateFileName="${basedir}/templateFiles/testResults.php.template"
+ testResultsHtmlFileName="testResults.php"
+ dropHtmlFileName="${indexFileName}"
+ hrefTestResultsTargetPath="testResults/html"
+ hrefCompileLogsTargetPath="compilelogs"
+ compileLogsDirectoryName="${result}/compilelogs"
+ testManifestFileName="${basedir}/testManifest.xml" />
+
+ <tstamp>
+ <format
+ property="TODAY"
+ pattern="MMMM d, yyyy" />
+ </tstamp>
+
+ <!-- Insert Build Type descriptor -->
+ <antcall target="${buildType}" />
+
+ <!-- Insert Build Date -->
+ <replace
+ file="${result}/${indexFileName}"
+ token="@date@"
+ value="${TODAY}" />
+
+ <!-- Insert Build Name -->
+ <replace
+ file="${result}/${indexFileName}"
+ token="@build@"
+ value="${buildLabel}" />
+
+ <!-- Insert PreRequsites -->
+
+ <replace
+ file="${result}/${indexFileName}"
+ token="@eclipseFile@"
+ value="${eclipse.file.linux-gtk-x86}" />
+ <replace
+ file="${result}/${indexFileName}"
+ token="@eclipseURL@"
+ value="${eclipse.url}/${eclipse.file.linux-gtk-x86}" />
+ <replace
+ file="${result}/${indexFileName}"
+ token="@eclipseBuildURL@"
+ value="${eclipse.url}" />
+ <replace
+ file="${result}/${indexFileName}"
+ token="@emfFile@"
+ value="${emf.file}" />
+ <replace
+ file="${result}/${indexFileName}"
+ token="@emfURL@"
+ value="${emf.url}/${emf.file}" />
+ <replace
+ file="${result}/${indexFileName}"
+ token="@gefFile@"
+ value="${gef.file}" />
+ <replace
+ file="${result}/${indexFileName}"
+ token="@gefURL@"
+ value="${gef.url}/${gef.file}" />
+ <replace
+ file="${result}/${indexFileName}"
+ token="@jemFile@"
+ value="${jem.file}" />
+ <replace
+ file="${result}/${indexFileName}"
+ token="@jemURL@"
+ value="${jem.url}/${jem.file}" />
+ <replace
+ file="${result}/${indexFileName}"
+ token="@dtpFile@"
+ value="${dtp.file}" />
+ <replace
+ file="${result}/${indexFileName}"
+ token="@dtpURL@"
+ value="${dtp.url}/${dtp.file}" />
+
+
+ <!-- Update timestamp on file to permit overwrite through Ant copy task -->
+ <touch file="${result}/${indexFileName}" />
+ </target>
+
+
+ <target name="getStaticFiles">
+ <!--get static files required in the buildLabel directory-->
+ <copy todir="${result}">
+ <fileset dir="${basedir}/staticDropFiles" />
+ </copy>
+
+ <!--copy buildnotes from plugin directories-->
+ <mkdir dir="${result}/buildnotes" />
+ <copy
+ todir="${result}/buildnotes"
+ flatten="true">
+ <fileset
+ dir="${buildDirectory}/plugins"
+ includes="**/buildnotes_*.html" />
+ </copy>
+ </target>
+
+ <target name="countFiles">
+ <!-- files.count is a file that should exist in the drop directory with a count of the zip files in the same directory.
+ It is required to generate a link to the build on the downloads page.
+ Added remove .zip.MD5 - old files before a count
+ -->
+ <delete>
+ <fileset
+ dir="${result}"
+ id="id">
+ <include name="*.MD5" />
+ </fileset>
+ </delete>
+
+ <countBuildFiles
+ sourceDirectory="${result}"
+ filterString=".zip,.tar.gz"
+ outputFile="${result}/files.count" />
+
+ </target>
+
+ <!--Build type descriptors-->
+ <target name="I">
+ <replace
+ file="${result}/${indexFileName}"
+ token="@type@"
+ value="Integration" />
+ </target>
+
+ <target name="S">
+ <replace
+ file="${result}/${indexFileName}"
+ token="@type@"
+ value="Stable" />
+ </target>
+
+ <target name="N">
+ <replace
+ file="${result}/${indexFileName}"
+ token="@type@"
+ value="Nightly" />
+ </target>
+
+ <target name="M">
+ <replace
+ file="${result}/${indexFileName}"
+ token="@type@"
+ value="Maintenance" />
+ </target>
+
+ <target name="R">
+ <replace
+ file="${result}/${indexFileName}"
+ token="@type@"
+ value="Release" />
+ </target>
+
+ <target name="T">
+ <replace
+ file="${result}/${indexFileName}"
+ token="@type@"
+ value="Test" />
+ </target>
+
+</project>
\ No newline at end of file
diff --git a/releng.wtpbuilder/distribution/dali.site/staticDropFiles/FAIL.gif b/releng.wtpbuilder/distribution/dali.site/staticDropFiles/FAIL.gif
new file mode 100644
index 0000000..28bba66
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.site/staticDropFiles/FAIL.gif
Binary files differ
diff --git a/releng.wtpbuilder/distribution/dali.site/staticDropFiles/OK.gif b/releng.wtpbuilder/distribution/dali.site/staticDropFiles/OK.gif
new file mode 100644
index 0000000..689e523
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.site/staticDropFiles/OK.gif
Binary files differ
diff --git a/releng.wtpbuilder/distribution/dali.site/staticDropFiles/buildNotes.php b/releng.wtpbuilder/distribution/dali.site/staticDropFiles/buildNotes.php
new file mode 100644
index 0000000..60d80a6
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.site/staticDropFiles/buildNotes.php
@@ -0,0 +1,50 @@
+<html>
+<head>
+<?php
+ $parts = explode("/", getcwd());
+ $parts2 = explode("-", $parts[count($parts) - 1]);
+ $buildName = $parts2[1];
+
+
+ echo "<title>Build Notes for $buildName </title>";
+?>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css">
+</head>
+<body>
+
+<p><b><font face="Verdana" size="+3">Build Notes</font></b> </p>
+
+<table border=0 cellspacing=5 cellpadding=2 width="100%" >
+ <tr>
+ <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">
+ Build Notes for <?php echo "$buildName"; ?></font></b></td>
+ </tr>
+</table>
+<table border="0">
+
+<?php
+ $hasNotes = false;
+ $aDirectory = dir("buildnotes");
+ while ($anEntry = $aDirectory->read()) {
+ if ($anEntry != "." && $anEntry != "..") {
+ $parts = explode("_", $anEntry);
+ $baseName = $parts[1];
+ $parts = explode(".", $baseName);
+ $component = $parts[0];
+ $line = "<td>Component: <a href=\"buildnotes/$anEntry\">$component</a></td>";
+ echo "<tr>";
+ echo "$line";
+ echo "</tr>";
+ $hasNotes = true;
+ }
+ }
+ aDirectory.closedir();
+ if (!$hasNotes) {
+ echo "<br>There are no build notes for this build.";
+ }
+?>
+
+</table>
+</body>
+</html>
diff --git a/releng.wtpbuilder/distribution/dali.site/staticDropFiles/componentxmls.php b/releng.wtpbuilder/distribution/dali.site/staticDropFiles/componentxmls.php
new file mode 100644
index 0000000..73c5443
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.site/staticDropFiles/componentxmls.php
@@ -0,0 +1,53 @@
+<html>
+<head>
+<?php
+ function find_component_xml($directory)
+ {
+ $count = 0;
+ $dir = dir($directory);
+ while ($anEntry = $dir->read())
+ {
+ if ($anEntry != "." && $anEntry != "..")
+ {
+ $anEntry = $directory."/".$anEntry;
+ if (stristr($anEntry, '.source') === FALSE)
+ {
+ if (is_dir($anEntry))
+ {
+ find_component_xml($anEntry);
+ }
+ else
+ {
+ echo "<tr><td><a href=\"$anEntry\">";
+ echo substr($anEntry, 22);
+ echo "</a></td>";
+ }
+ }
+ }
+ }
+ }
+?>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css">
+</head>
+<body>
+
+<p><b><font face="Verdana" size="+3">component.xml</font></b> </p>
+
+<table border=0 cellspacing=5 cellpadding=2 width="100%" >
+ <tr>
+ <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">
+ component.xml files for <?php echo "$buildType $buildName"; ?></font></b></td>
+ </tr>
+</table>
+
+<table border="1" width="100%">
+ <tr>
+ <th>component.xml</th>
+ </tr>
+<?php
+ find_component_xml("apitools/componentxmls");
+?>
+</table>
+</body>
+</html>
diff --git a/releng.wtpbuilder/distribution/dali.site/staticDropFiles/consoleLogs.php b/releng.wtpbuilder/distribution/dali.site/staticDropFiles/consoleLogs.php
new file mode 100644
index 0000000..0681138
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.site/staticDropFiles/consoleLogs.php
@@ -0,0 +1,57 @@
+<html>
+<head>
+<?php
+ $parts = explode("/", getcwd());
+ $parts2 = explode("-", $parts[count($parts) - 1]);
+ $buildName = $parts2[1];
+
+ echo "<title>Test Console Output for $buildName </title>";
+?>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css">
+<title>Console Logs from Running JUnit Plug-in Tests</title></head>
+<body>
+
+<p><b><font face="Verdana" size="+3">Test Console Output</font></b> </p>
+
+<table border=0 cellspacing=5 cellpadding=2 width="100%" >
+ <tr>
+ <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Console
+ output from running JUnit plugin tests for
+ <?php echo "$buildName"; ?>
+ </font></b></td>
+ </tr>
+</table>
+<table border="0">
+
+<?php
+ $hasNotes = false;
+ $aDirectory = dir("testResults/consolelogs");
+ $index = 0;
+ while ($anEntry = $aDirectory->read()) {
+ if ($anEntry != "." && $anEntry != "..") {
+ $entries[$index] = $anEntry;
+ $index++;
+ }
+ }
+
+ aDirectory.closedir();
+ sort($entries);
+
+ for ($i = 0; $i < $index; $i++) {
+ $anEntry = $entries[$i];
+ $line = "<td>Component: <a href=\"testResults/consolelogs/$anEntry\">$anEntry</a></td>";
+ echo "<tr>";
+ echo "$line";
+ echo "</tr>";
+ $hasNotes = true;
+ }
+
+ if (!$hasNotes) {
+ echo "<br>There are no test logs for this build.";
+ }
+?>
+
+</table>
+</body>
+</html>
diff --git a/releng.wtpbuilder/distribution/dali.site/staticDropFiles/download.php b/releng.wtpbuilder/distribution/dali.site/staticDropFiles/download.php
new file mode 100644
index 0000000..5b867e4
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.site/staticDropFiles/download.php
@@ -0,0 +1,54 @@
+<html>
+<head>
+<title>Eclipse Dali Download Click Through</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css">
+<?php
+ $parts = explode("-", $dropFile);
+ $clickFile = "clickThroughs/";
+ for ($i =0; $i<count($parts); $i++) {
+ if ($i != 2) {
+ $clickFile = $clickFile.$parts[$i];
+ if ($i < count($parts) - 1) {
+ $clickFile = $clickFile."-";
+ }
+ }
+ }
+ $clickFile = $clickFile.".txt";
+
+ if (file_exists($clickFile)) {
+ $fileHandle = fopen($clickFile, "r");
+ while (!feof($fileHandle)) {
+ $aLine = fgets($fileHandle, 4096);
+ $result = $result.$aLine;
+ }
+ fclose($fileHandle);
+ } else {
+ echo '<META HTTP-EQUIV="Refresh" CONTENT="0;URL='.$dropFile.'">';
+ echo '<b><font size "+4">Downloading: '.$dropFile.'</font></b>';
+ echo '<BR>';
+ echo '<BR>';
+ echo 'If your download does not begin automatically click <a href="'.$dropFile.'">here</a>.';
+ }
+?>
+</head>
+
+<body bgcolor="#FFFFFF" text="#000000">
+ <?php
+ if (file_exists($clickFile)) {
+ echo '<p><b><font size="+4">Important Notes<BR>';
+ echo $dropFile;
+ echo '</font></b></font></p>
+ <p>It is very important to read the following notes in order to run this version
+ of Eclipse. Once you have read the notes you can click on the Download link
+ to download the drop.</p>
+ ';
+ echo '<textarea name="textfield" cols="80" rows="20" wrap="PHYSICAL">'.$result;
+ echo '</textarea>';
+ echo '<BR>';
+ echo '<BR>';
+ echo '<a href="'.$dropFile.'">Download</a>';
+ }
+?>
+</body>
+</html>
diff --git a/releng.wtpbuilder/distribution/dali.site/staticDropFiles/pii.php b/releng.wtpbuilder/distribution/dali.site/staticDropFiles/pii.php
new file mode 100644
index 0000000..e3ed59b
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.site/staticDropFiles/pii.php
@@ -0,0 +1,54 @@
+<html>
+<head>
+<?php
+ function write_unused_property($directory)
+ {
+ $count = 0;
+ $dir = dir($directory);
+ while ($anEntry = $dir->read())
+ {
+ if ($anEntry != "." && $anEntry != "..")
+ {
+ $anEntry = $directory."/".$anEntry;
+ if (is_dir($anEntry))
+ {
+ write_unused_property($anEntry);
+ }
+ else
+ {
+ echo "<tr><td><a href=\"$anEntry\">";
+ echo substr($anEntry, 16);
+ echo "</a></td>";
+ $lines = file($anEntry);
+ $count = count($lines);
+ echo "<td>$count</td></tr>";
+ }
+ }
+ }
+ }
+?>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css">
+</head>
+<body>
+
+<p><b><font face="Verdana" size="+3">Unused property messages</font></b> </p>
+
+<table border=0 cellspacing=5 cellpadding=2 width="100%" >
+ <tr>
+ <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">
+ Unused property messages for <?php echo "$buildType $buildName"; ?></font></b></td>
+ </tr>
+</table>
+
+<table border="1">
+ <tr>
+ <th>Properties file</th>
+ <th>Unused strings</th>
+ </tr>
+<?php
+ write_unused_property("piitools");
+?>
+</table>
+</body>
+</html>
diff --git a/releng.wtpbuilder/distribution/dali.site/templateFiles/buildresult.xml.template b/releng.wtpbuilder/distribution/dali.site/templateFiles/buildresult.xml.template
new file mode 100644
index 0000000..1fdede5
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.site/templateFiles/buildresult.xml.template
@@ -0,0 +1,2 @@
+<eclipsebuild buildlabel="@buildlabel@">
+</eclipsebuild>
diff --git a/releng.wtpbuilder/distribution/dali.site/templateFiles/cloudscapeplugin.xml.template b/releng.wtpbuilder/distribution/dali.site/templateFiles/cloudscapeplugin.xml.template
new file mode 100644
index 0000000..907b56b
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.site/templateFiles/cloudscapeplugin.xml.template
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<plugin
+ id="Cloudscape"
+ name="Cloudscape Plug-in"
+ version="1.0.0"
+ provider-name="">
+ <runtime>
+ <library name="derby.jar">
+ <export name="*"/>
+ </library>
+ <library name="derbynet.jar">
+ <export name="*"/>
+ </library>
+ <library name="derbytools.jar">
+ <export name="*"/>
+ </library>
+ </runtime>
+</plugin>
diff --git a/releng.wtpbuilder/distribution/dali.site/templateFiles/index.html.N.template b/releng.wtpbuilder/distribution/dali.site/templateFiles/index.html.N.template
new file mode 100644
index 0000000..6dea908
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.site/templateFiles/index.html.N.template
@@ -0,0 +1,128 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css">
+<title>Download</title>
+</head>
+
+<body>
+
+<?php
+include '../../report.php';
+$testResults = parse_testResult("testResults.php");
+list ($compileErrors, $compileWarnings, $junitFailures) = $testResults;
+$violations = parse("apitools/index.xml", "count=\"");
+$tc = parse("apitools/index-api-tc.xml", "missing-coverage-count=\"");
+$removed_apis = parse("apitools/index-api-compatibility.xml", "removed-api-count=\"");
+?>
+
+ <table BORDER=0 CELLSPACING=5 CELLPADDING=2 WIDTH="100%" ><tr><td ALIGN=LEFT width="80%">
+<p><b><font face="Verdana" size="+3">@type@ Build: @build@</font></b><br>
+@date@
+</p>
+<p>These downloads are provided under the <a href="http://www.eclipse.org/legal/epl/notice.html">Eclipse Foundation
+Software User Agreement</a>.</p>
+</td></tr></table>
+
+<!-- *********** Build Status ************** -->
+<table border=0 cellspacing=5 cellpadding=2 width="100%" ><tr><td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"> <b><font face="Arial,Helvetica" color="#FFFFFF">Build, test and performance</font></b></td></tr></table>
+<br> <a href="buildNotes.php">Build notes</a>
+<br> <a href="directory.txt">map files</a>
+<br> <a href="testResults.php">Compile logs & test results</a>
+
+<?php
+echo "<img src=\"http://download.eclipse.org/technology/dali/downloads/compile_err.gif\"/><font color=red>$compileErrors</font> ";
+echo "<img src=\"http://download.eclipse.org/technology/dali/downloads/compile_warn.gif\"/><font color=orange>$compileWarnings</font> ";
+echo "<img src=\"http://download.eclipse.org/technology/dali/downloads/junit_err.gif\"/><font color=red>$junitFailures</font>";
+?>
+
+<br> <a href="whatisfixed/buglog.html">What is fixed</a>
+
+<!--
+<br> <a href="perf/results/graph/global.php">Performance results</a>
+-->
+<br> <a href="pii.php">Unused property messages</a>
+<!-- To view cvs changes since the last build click <A href="rloghtml/rlog.html">here</A>.<BR> -->
+<p/>
+
+<?php
+if (file_exists("./apiresults"))
+{
+ echo "<br>";
+ echo "<br> <a href=\"apiresults/api-progress.html\">API Progress Report</a>";
+ echo "<br> <a href=\"apiresults/api-info-summary.html\">APIs Defined by Each Component</a>";
+ echo "<br> <a href=\"apiresults/api-ref-compatibility.html\">Adopter Breakage Report</a>";
+ echo "<br> <a href=\"apiresults/api-violation-summary.html\">API Violations</a>";
+ echo "<br> <a href=\"apiresults/component-api-violation-all.html\">Non-API dependencies</a>";
+ echo "<br> <a href=\"apiresults/api-tc-summary.html\">API Test Coverage</a>";
+ echo "<br> <a href=\"apiresults/api-javadoc-summary.html\">API Javadoc Coverage</a>";
+}
+?>
+
+<?php
+if (file_exists("./perfresults"))
+{
+ echo "<br>";
+ echo "<br> <a href=\"perfresults/graph/performance.php\">Performance Results</a>";
+ echo "<br>";
+}
+?>
+
+<!-- *********** Requirements ************** -->
+<table border=0 cellspacing=5 cellpadding=2 width="100%" ><tr><td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"> <b><font face="Arial,Helvetica" color="#FFFFFF">Requirements</font></b></td></tr></table>
+<P>These are the prerequisites to install Dali;. They must be downloaded and installed
+ before Dali can be installed.</P>
+<br>
+<li>The Eclipse driver used in this build is <a href="@eclipseURL@">@eclipseFile@</a>. You can find a suitable driver for your platform at <a href=@eclipseBuildURL@>here</a><br></li>
+<li>The EMF driver used in this build is <a href="@emfURL@">@emfFile@</a><br></li>
+<li>The GEF driver used in this build is <a href="@gefURL@">@gefFile@</a><br></li>
+<li>Java EMF Model Runtime driver used in this build is <a href="@jemURL@">@jemFile@</a><br></li>
+<li>The WTP runtime module used in this build is <a href="@wtpURL@">@wtpFile@</a><br></li>
+<P></P>
+
+
+
+<!-- *********** Runtime downloads ************** -->
+<table border=0 cellspacing=5 cellpadding=2 width="100%" ><tr>
+ <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"> <b><font face="Arial,Helvetica" color="#FFFFFF">
+ Dali Runtime </font></b></td>
+ </tr>
+
+<TR>
+ <TD align="LEFT" valign="TOP" colspan="3"> This module includes the complete
+ set of plug-in to run Dali.</TD>
+ </TR></table>
+
+<table border=0 cellspacing=2 cellpadding=0 width="100%" bordercolor="#999999" >
+<tr><td align=RIGHT valign=TOP width="7%">
+<div align="left"><b>Status</b></div></td>
+<td width="34%"><b>Platform</b></td>
+<td width="59%"><b>Download</b></td></tr>
+%dali-runtime%
+</table>
+<table border=0 cellspacing=5 cellpadding=2 width="100%" ><tr><td colspan="2"> </td></tr></table>
+
+
+<!-- *********** Automated Test Downloads ************** -->
+<table border=0 cellspacing=5 cellpadding=2 width="100%" ><tr><td align=LEFT valign=TOP colspan="3" bgcolor="#999999">
+<b><font face="Arial,Helvetica" color="#FFFFFF">
+Automated Tests
+</font></b></td></tr>
+
+<TR>
+ <TD align="LEFT" valign="TOP" colspan="3"> This download contains the JUnit
+ tests for the Dali project</TD>
+ </TR></table>
+<table border=0 cellspacing=5 cellpadding=2 width="100%" ><tr><td colspan="2"> </td></tr></table>
+
+<table BORDER=0 CELLSPACING=2 CELLPADDING=0 WIDTH="100%" bordercolor="#999999" >
+<tr><td align=RIGHT valign=TOP width="7%">
+<div align="left"><b>Status</b></div></td>
+<td width="34%"><b>Platform</b></td>
+<td width="59%"><b>Download</b></td></tr>
+<tr><td>%dali-tests%</td></tr>
+</table>
+<table border=0 cellspacing=5 cellpadding=2 width="100%" ><tr><td colspan="2"> </td></tr></table>
+
+</body>
+</html>
diff --git a/releng.wtpbuilder/distribution/dali.site/templateFiles/index.html.template b/releng.wtpbuilder/distribution/dali.site/templateFiles/index.html.template
new file mode 100644
index 0000000..0334f3e
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.site/templateFiles/index.html.template
@@ -0,0 +1,120 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css">
+<title>Download</title>
+</head>
+
+<body>
+
+<?php
+include '../../../report.php';
+$testResults = parse_testResult("testResults.php");
+list ($compileErrors, $compileWarnings, $junitFailures) = $testResults;
+?>
+
+ <table BORDER=0 CELLSPACING=5 CELLPADDING=2 WIDTH="100%" ><tr><td ALIGN=LEFT width="80%">
+<p><b><font face="Verdana" size="+3">@type@ Build: @build@</font></b><br>
+@date@
+</p>
+<p>These downloads are provided under the <a href="http://www.eclipse.org/legal/epl/notice.html">Eclipse Foundation
+Software User Agreement</a>.</p>
+</td></tr></table>
+
+<!-- *********** Build Status ************** -->
+<table border=0 cellspacing=5 cellpadding=2 width="100%" ><tr><td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"> <b><font face="Arial,Helvetica" color="#FFFFFF">Build, test and performance</font></b></td></tr></table>
+<br> <a href="buildNotes.php">Build notes</a>
+<br> <a href="directory.txt">map files</a>
+<br> <a href="testResults.php">Compile logs & test results</a>
+
+<?php
+echo "<img src=\"http://download.eclipse.org/technology/dali/downloads/compile_err.gif\"/><font color=red>$compileErrors</font> ";
+echo "<img src=\"http://download.eclipse.org/technology/dali/downloads/compile_warn.gif\"/><font color=orange>$compileWarnings</font> ";
+echo "<img src=\"http://download.eclipse.org/technology/dali/downloads/junit_err.gif\"/><font color=red>$junitFailures</font>";
+?>
+<br> <a href="whatisfixed/buglog.html">What is fixed</a>
+
+<br> <a href="pii.php">Unused property messages</a>
+<!-- To view cvs changes since the last build click <A href="rloghtml/rlog.html">here</A>.<BR> -->
+
+<?php
+if (file_exists("./apiresults"))
+{
+ echo "<br>";
+ echo "<br> <a href=\"apiresults/api-progress.html\">API Progress Report</a>";
+ echo "<br> <a href=\"apiresults/api-info-summary.html\">APIs Defined by Each Component</a>";
+ echo "<br> <a href=\"apiresults/api-ref-compatibility.html\">Adopter Breakage Report</a>";
+ echo "<br> <a href=\"apiresults/api-violation-summary.html\">API Violations</a>";
+ echo "<br> <a href=\"apiresults/component-api-violation-all.html\">Non-API dependencies</a>";
+ echo "<br> <a href=\"apiresults/api-tc-summary.html\">API Test Coverage</a>";
+ echo "<br> <a href=\"apiresults/api-javadoc-summary.html\">API Javadoc Coverage</a>";
+}
+?>
+
+<?php
+if (file_exists("./perfresults"))
+{
+ echo "<br>";
+ echo "<br> <a href=\"perfresults/graph/performance.php\">Performance Results</a>";
+ echo "<br>";
+}
+?>
+
+<!-- *********** Requirements ************** -->
+<table border=0 cellspacing=5 cellpadding=2 width="100%" ><tr><td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"> <b><font face="Arial,Helvetica" color="#FFFFFF">Requirements</font></b></td></tr></table>
+<P>These are the prerequisites to install Dali;. They must be downloaded and installed
+ before Dali can be installed.</P>
+<br>
+<li>The Eclipse driver used in this build is <a href="@eclipseURL@">@eclipseFile@</a>. You can find a suitable driver for your platform at <a href=@eclipseBuildURL@>here</a><br></li>
+<li>The EMF driver used in this build is <a href="@emfURL@">@emfFile@</a><br></li>
+<li>The GEF driver used in this build is <a href="@gefURL@">@gefFile@</a><br></li>
+<li>Java EMF Model Runtime driver used in this build is <a href="@jemURL@">@jemFile@</a><br></li>
+<li>Data Tools Platform (DTP) driver used in this build is <a href="@dtpURL@">@dtpFile@</a><br></li>
+<li>The WTP runtime module used in this build is <a href="@wtpURL@">@wtpFile@</a><br></li>
+<P></P>
+
+
+
+<!-- *********** Runtime downloads ************** -->
+<table border=0 cellspacing=5 cellpadding=2 width="100%" ><tr>
+ <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"> <b><font face="Arial,Helvetica" color="#FFFFFF">
+ Dali Runtime </font></b></td>
+ </tr>
+
+<TR>
+ <TD align="LEFT" valign="TOP" colspan="3"> This module includes the complete
+ set of plug-in to run Dali. </TD>
+ </TR></table>
+
+<table border=0 cellspacing=2 cellpadding=0 width="100%" bordercolor="#999999" >
+<tr><td align=RIGHT valign=TOP width="7%">
+<div align="left"><b>Status</b></div></td>
+<td width="34%"><b>Platform</b></td>
+<td width="59%"><b>Download</b></td></tr>
+%dali-runtime%
+</table>
+<table border=0 cellspacing=5 cellpadding=2 width="100%" ><tr><td colspan="2"> </td></tr></table>
+
+
+<!-- *********** Automated Test Downloads ************** -->
+<table border=0 cellspacing=5 cellpadding=2 width="100%" ><tr><td align=LEFT valign=TOP colspan="3" bgcolor="#999999">
+<b><font face="Arial,Helvetica" color="#FFFFFF">
+Automated Tests
+</font></b></td></tr>
+
+<TR><TD align="LEFT" valign="TOP" colspan="3">
+This download contains the JUnit tests for the Dali Projects
+</TD></TR></table>
+<table border=0 cellspacing=5 cellpadding=2 width="100%" ><tr><td colspan="2"> </td></tr></table>
+
+<table BORDER=0 CELLSPACING=2 CELLPADDING=0 WIDTH="100%" bordercolor="#999999" >
+<tr><td align=RIGHT valign=TOP width="7%">
+<div align="left"><b>Status</b></div></td>
+<td width="34%"><b>Platform</b></td>
+<td width="59%"><b>Download</b></td></tr>
+<tr><td>%dali-tests%</td></tr>
+</table>
+<table border=0 cellspacing=5 cellpadding=2 width="100%" ><tr><td colspan="2"> </td></tr></table>
+
+</body>
+</html>
diff --git a/releng.wtpbuilder/distribution/dali.site/templateFiles/monitor-all.php.template b/releng.wtpbuilder/distribution/dali.site/templateFiles/monitor-all.php.template
new file mode 100644
index 0000000..38b5ed1
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.site/templateFiles/monitor-all.php.template
@@ -0,0 +1,47 @@
+<html>
+<head>
+
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css">
+</head>
+<body>
+<p><b><font face="Verdana" size="+3">Test Results</font></b> </p>
+<table border=0 cellspacing=5 cellpadding=2 width="100%" >
+ <tr>
+ <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Unit
+ Test Results </font></b></td>
+ </tr>
+</table>
+<p></p><table border="0">
+</table>
+
+<table width="77%" border="1">
+ <tr>
+ <td width="81%"><b>Tests Performed</b></td>
+ <td width="19%"><b>Errors & Failures</b></td>
+ </tr>
+
+ %testresults%
+
+</table>
+<br>
+<table border=0 cellspacing=5 cellpadding=2 width="100%" >
+ <tr>
+ <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Plugins
+ containing compile errors </font></b></td>
+ </tr>
+</table>
+
+<table width="77%" border="1">
+ <tr>
+ <td><b>Compile Logs (Jar Files)</b></td>
+ <td><b>Errors</b></td>
+ <td><b>Warnings</b></td>
+ </tr>
+
+ %compilelogs%
+
+</table>
+
+</body>
+</html>
diff --git a/releng.wtpbuilder/distribution/dali.site/templateFiles/monitor-compile.php.template b/releng.wtpbuilder/distribution/dali.site/templateFiles/monitor-compile.php.template
new file mode 100644
index 0000000..eb0ae80
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.site/templateFiles/monitor-compile.php.template
@@ -0,0 +1,39 @@
+<html>
+<head>
+
+
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css">
+</head>
+<body>
+<p><b><font face="Verdana" size="+1">Test Results are not available yet</font></b> </p>
+<table border=0 cellspacing=5 cellpadding=2 width="100%" >
+ <tr>
+ <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Unit
+ Tests are in progress. Results will be ready soon... </font></b></td>
+ </tr>
+</table>
+<p></p><table border="0">
+</table>
+
+<p></p>
+<table border=0 cellspacing=5 cellpadding=2 width="100%" >
+ <tr>
+ <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Plugins
+ containing compile errors </font></b></td>
+ </tr>
+</table>
+
+<table width="77%" border="1">
+ <tr>
+ <td><b>Compile Logs (Jar Files)</b></td>
+ <td><b>Errors</b></td>
+ <td><b>Warnings</b></td>
+ </tr>
+
+ %compilelogs%
+
+</table>
+
+</body>
+</html>
diff --git a/releng.wtpbuilder/distribution/dali.site/templateFiles/monitor-tests.php.template b/releng.wtpbuilder/distribution/dali.site/templateFiles/monitor-tests.php.template
new file mode 100644
index 0000000..ea5592b
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.site/templateFiles/monitor-tests.php.template
@@ -0,0 +1,59 @@
+<html>
+<head>
+
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css">
+</head>
+<body>
+<p><b><font face="Verdana" size="+1">Compilation and Tests are complete, Performance results are not available yet</font></b> </p>
+<table border=0 cellspacing=5 cellpadding=2 width="100%" >
+ <tr>
+ <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Unit
+ Performance tests are in progress. Results will be ready soon... </font></b></td>
+ </tr>
+</table>
+<p></p><table border="0">
+</table>
+
+<p></p>
+
+<p><b><font face="Verdana" size="+3">Test Results</font></b> </p>
+<table border=0 cellspacing=5 cellpadding=2 width="100%" >
+ <tr>
+ <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Unit
+ Test Results </font></b></td>
+ </tr>
+</table>
+<p></p><table border="0">
+</table>
+
+<table width="77%" border="1">
+ <tr>
+ <td width="81%"><b>Tests Performed</b></td>
+ <td width="19%"><b>Errors & Failures</b></td>
+ </tr>
+
+ %testresults%
+
+</table>
+<br>
+<table border=0 cellspacing=5 cellpadding=2 width="100%" >
+ <tr>
+ <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Plugins
+ containing compile errors </font></b></td>
+ </tr>
+</table>
+
+<table width="77%" border="1">
+ <tr>
+ <td><b>Compile Logs (Jar Files)</b></td>
+ <td><b>Errors</b></td>
+ <td><b>Warnings</b></td>
+ </tr>
+
+ %compilelogs%
+
+</table>
+
+</body>
+</html>
diff --git a/releng.wtpbuilder/distribution/dali.site/templateFiles/performance.template b/releng.wtpbuilder/distribution/dali.site/templateFiles/performance.template
new file mode 100644
index 0000000..f8abfbc
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.site/templateFiles/performance.template
@@ -0,0 +1,62 @@
+<P>
+ <A NAME="unit"></A>
+ * Missing reference data. Build used for comparison specified in ending parenthesis.
+ <BR>green: faster, less memory
+ <BR>red: slower, more memory
+ <BR>x axis: difference between current value and baseline value as percentage
+ <BR>
+</P>
+
+<table border=0 cellspacing=5 cellpadding=2 width="100%" >
+ <tr>
+ <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">
+ Detailed performance data grouped by scenario prefix
+ </font></b></td>
+ </tr>
+</table>
+
+<?php
+ $dir = dir(".");
+ while ($anEntry = $dir->read())
+ {
+ if ($anEntry != "global.php" && substr($anEntry, strlen($anEntry) - 4) == ".php")
+ {
+ echo "<a href=\"$anEntry\">$anEntry</a><br>";
+ }
+ }
+?>
+
+<table border=0 cellspacing=5 cellpadding=2 width="100%" >
+ <tr>
+ <td> </td>
+ </tr>
+</table>
+
+<table border=0 cellspacing=5 cellpadding=2 width="100%" >
+ <tr>
+ <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">
+ Performance JUnit test results for <?php echo "$buildType $buildName"; ?>
+ </font></b></td>
+ </tr>
+</table>
+
+<font color="#FFFFFF" face="Arial,Helvetica">
+<table border=1" width="100%">
+ <tr>
+ <td width="100%"><b>Tests Performed</b></td>
+ </tr>
+ <?php
+ $xmlDir = dir("../xml");
+ while ($xmlEntry = $xmlDir->read())
+ {
+ if ($xmlEntry != "." && $xmlEntry != "..")
+ {
+ $htmlEntry = substr($xmlEntry, 0, strlen($xmlEntry) - 3) . "html";
+ echo "<tr>";
+ echo "<td><a href=\"../html/$htmlEntry\">$htmlEntry</a></td>";
+ echo "</tr>";
+ }
+ }
+ ?>
+</table>
+</html>
\ No newline at end of file
diff --git a/releng.wtpbuilder/distribution/dali.site/templateFiles/testResults.php.template b/releng.wtpbuilder/distribution/dali.site/templateFiles/testResults.php.template
new file mode 100644
index 0000000..c94cd00
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.site/templateFiles/testResults.php.template
@@ -0,0 +1,88 @@
+<html>
+<head>
+
+<?php
+ $parts = explode("/", getcwd());
+ $parts2 = explode("-", $parts[count($parts) - 1]);
+ $buildName = $parts2[1];
+
+ echo "<title>Test Results for $buildName </title>";
+?>
+
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css">
+</head>
+<body>
+<p><b><font face="Verdana" size="+3">Test Results</font></b> </p>
+
+<table border=0 cellspacing=5 cellpadding=2 width="100%" >
+ <tr>
+ <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">
+ Unit Test Results for <?php echo "$buildName"; ?> on Various Platforms and JRE</font></b></td>
+ </tr>
+</table>
+
+<?php
+$dir = dir("testResults");
+while ($anEntry = $dir->read())
+{
+ if ($anEntry != "." && $anEntry != ".." && $anEntry != "consolelogs" && $anEntry != "html" && $anEntry != "xml")
+ {
+ $link = "testResults/".$anEntry."/results/index.php";
+ echo "<p><a href=\"$link\">$anEntry</a></p>";
+ }
+}
+?>
+
+<table border=0 cellspacing=5 cellpadding=2 width="100%" >
+ <tr>
+ <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Unit
+ Test Results for <?php echo "$buildName"; ?> </font></b></td>
+ </tr>
+</table>
+<p></p><table border="0">
+</table>
+
+<table width="77%" border="1">
+ <tr>
+ <td width="81%"><b>Tests Performed</b></td>
+ <td width="19%"><b>Errors & Failures</b></td>
+ </tr>
+
+ %testresults%
+
+</table>
+<p></p>
+<br>
+<table border=0 cellspacing=5 cellpadding=2 width="100%" >
+ <tr>
+ <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">
+ Console output logs
+ <?php echo "$buildName"; ?>
+ </font></b></td>
+ </tr>
+</table>
+<br>
+These <a href="consoleLogs.php">logs</a> contain the console output captured while
+running the JUnit automated tests. <br>
+<br>
+<table border=0 cellspacing=5 cellpadding=2 width="100%" >
+ <tr>
+ <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Plugins
+ containing compile errors </font></b></td>
+ </tr>
+</table>
+
+<table width="77%" border="1">
+ <tr>
+ <td><b>Compile Logs (Jar Files)</b></td>
+ <td><b>Errors</b></td>
+ <td><b>Warnings</b></td>
+ </tr>
+
+ %compilelogs%
+
+</table>
+
+</body>
+</html>
diff --git a/releng.wtpbuilder/distribution/dali.site/testManifest.xml b/releng.wtpbuilder/distribution/dali.site/testManifest.xml
new file mode 100644
index 0000000..f12abbf
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.site/testManifest.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<topLevel>
+ <zipTypes>
+ <zipType name="dali-runtime">
+ <platform
+ id="DALI-RUN"
+ name="All"
+ fileName='<a href="dali-@build@.zip">dali-@build@.zip</a>(<a href="checksum/dali-@build@.zip.md5">md5</a>) <font size="2"></font>'>
+ </platform>
+ </zipType>
+
+ <zipType name="dali-tests">
+ <platform
+ id="DALI-TESTS"
+ name="All"
+ fileName='<a href="dali-Automated-Tests-@build@.zip">dali-Automated-Tests-@build@.zip</a> (<a href="checksum/dali-Automated-Tests-@build@.zip.md5">md5</a>) <font size="2"></font>'>
+ </platform>
+ </zipType>
+
+ </zipTypes>
+</topLevel>
diff --git a/releng.wtpbuilder/distribution/dali.tests/build.xml b/releng.wtpbuilder/distribution/dali.tests/build.xml
new file mode 100644
index 0000000..89a109c
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.tests/build.xml
@@ -0,0 +1,235 @@
+<project
+ name="Build specific targets and properties"
+ default="test">
+
+ <!-- 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" />
+
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do after the build is done. -->
+ <!-- ===================================================================== -->
+ <target name="test">
+ <antcall target="runTest" />
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do to test the build results -->
+ <!-- ===================================================================== -->
+ <target name="runTest">
+
+ <dirname
+ file="${ant.file}"
+ property="test.component.dir" />
+ <ant antfile="${wtp.builder.home}/scripts/build/label.xml" />
+ <property file="${wtp.builder.home}/build.properties" />
+ <property file="${buildDirectory}/label.properties" />
+ <property
+ name="dependencies.combined"
+ value="dependencies.combined.properties" />
+
+ <mkdir dir="${testRoot}" />
+ <mkdir dir="${testRoot}/results" />
+ <mkdir dir="${testRoot}/results/consolelogs" />
+
+ <copy
+ todir="${testRoot}"
+ overwrite="true">
+ <fileset dir="${test.component.dir}/testScripts"></fileset>
+ </copy>
+
+ <echo
+ message="BASEOS: ${env.BASEOS} BASEWS: ${env.BASEWS} BASEARCH: ${env.BASEARCH} " />
+ <ant
+ antfile="${test.component.dir}/testdependency.xml"
+ target="get">
+ <property
+ name="dependency.properties"
+ value="${buildDirectory}/maps/${env.RELENGDALI}/maps/${dependencies.combined}" />
+ <property
+ name="base.install.dir"
+ value="${testRoot}" />
+ </ant>
+
+ <antcall target="unzipTests" />
+
+ <antcall target="runTestEclipse">
+ <param
+ name="testTarget"
+ value="all" />
+ </antcall>
+ <antcall target="postRunTestEclipse">
+ <param
+ name="testTarget"
+ value="all" />
+ </antcall>
+
+ </target>
+
+ <target name="unzipTests">
+
+ <!--unzip the builds and junit tests
+ we use 'unzip' here, so we can continue on error
+ (such as if zip was not created, due to other failures or options).
+ -->
+ <exec
+ dir="${buildDirectory}/${buildLabel}"
+ executable="unzip"
+ failonerror="false">
+ <arg line="-o -qq wtp-jpt-${buildLabel}.zip -d ${testRoot}" />
+ </exec>
+
+ <exec
+ dir="${buildDirectory}/${buildLabel}"
+ executable="unzip"
+ failonerror="false">
+ <arg
+ line="-o -qq wtp-jpt-Automated-Tests-${buildLabel}.zip -d ${testRoot}" />
+ </exec>
+
+ </target>
+
+ <property
+ name="testTimeLimit"
+ value="7200000" />
+ <property
+ name="testFailOnError"
+ value="false" />
+
+ <target
+ name="runTestEclipse"
+ description="Run our JUnit's within an instance of antRunner">
+
+
+ <property
+ name="test-vm"
+ value="${env.JAVA_5_HOME}/bin/java" />
+ <property
+ name="plugin-path"
+ value="${testRoot}/eclipse/plugins" />
+ <property
+ name="vmargs"
+ value="-Xms256m -Xmx512m -Dosgi.ws=${env.BASEWS} -Dosgi.os=${env.BASEOS} -Dosgi.arch=${env.BASEARCH} -Dws=${env.BASEWS} -Dos=${env.BASEOS} -Darch=${env.BASEARCH} -Dosgi.clean=true -Dnoclean=true -DbuildBranch=${buildBranch} -DbuildType=${buildType} -DbuildId=${buildId} -DtestRoot=${testRoot} -DtestDir=${testRoot} -DbuildDirectory=${buildDirectory} -Dbuild.home=${env.BUILD_HOME} -DeclipseBuilderDirectory=${pde.builder.path} -DbuildLabel=${buildLabel} -Dtest-vm=${test-vm} -Dperf.buildId=${buildType}${date}-${time}" />
+
+
+ <!-- set path to eclipse folder. If local folder, use '.'; otherwise, use c:\path\to\eclipse or /path/to/eclipse/ -->
+ <property
+ name="eclipse.home"
+ value="${testRoot}" />
+
+ <echo message="Running junits" />
+
+ <!-- If there is not exactly one launcher in the stack,
+ we'd best fail fast, since we are not expecting that,
+ and may indicate an installation that would produce unpredictable
+ results -->
+ <!-- requires ant 1.7, and at this point, we're running 1.6 from
+ eclipse ...
+
+ <condition property="expectedNumberOfLaunchers">
+ <resourcecount when="equal" count="1" >
+ <fileset dir="${testRoot}/eclipse/plugins">
+ <include name="org.eclipse.equinox.launcher_*.jar" />
+ </fileset>
+ </resourcecount>
+ </condition>
+ <fail message="Did not find expected number of launcher jars. Check installation." unless="expectedNumberOfLaunchers" />
+ -->
+ <!--
+ Remember: using -debug for org.eclipse.ant.core.antRunner
+ produces ant debug info to be output ... which is a TON of stuff
+ -->
+ <java
+ taskname="unit-test-masterprocess"
+ fork="true"
+ resultProperty="wtpmasterjunitresult"
+ failonerror="false"
+ timeout="${testTimeLimit}"
+ dir="${testRoot}/eclipse"
+ jvm="${env.JAVA_5_HOME}/bin/java"
+ classname="org.eclipse.equinox.launcher.Main">
+ <classpath>
+ <fileset dir="${testRoot}/eclipse/plugins">
+ <include name="org.eclipse.equinox.launcher_*.jar" />
+ </fileset>
+ </classpath>
+
+ <jvmarg value="-Xms256m" />
+ <jvmarg value="-Xmx512m" />
+
+ <jvmarg value="-Dosgi.ws=${env.BASEWS}" />
+ <jvmarg value="-Dosgi.os=${env.BASEOS}" />
+ <jvmarg value="-Dosgi.arch=${env.BASEARCH}" />
+ <jvmarg value="-Dws=${env.BASEWS}" />
+ <jvmarg value="-Dos=${env.BASEOS}" />
+ <jvmarg value="-Darch=${env.BASEARCH}" />
+
+ <jvmarg value="-Dosgi.clean=true" />
+ <jvmarg value="-Dnoclean=true" />
+ <jvmarg value="-DbuildBranch=${buildBranch}" />
+ <jvmarg value="-DbuildType=${buildType}" />
+ <jvmarg value="-DbuildId=${buildId}" />
+
+ <arg value="-nosplash" />
+ <arg value="-consolelog" />
+
+ <arg value="-data" />
+ <arg value="${testRoot}/overallTestWorkspace" />
+ <arg value="-application" />
+ <arg value="org.eclipse.ant.core.antRunner" />
+ <arg value="-file" />
+ <arg value="${testRoot}/test.xml" />
+ <arg value="-logger" />
+ <arg value="org.apache.tools.ant.DefaultLogger" />
+ <env
+ key="DISPLAY"
+ value="${env.DISPLAY}" />
+ <redirector
+ output="${testRoot}/results/fullOutput.txt"
+ error="${testRoot}/results/fullErrorLog.txt" />
+ <sysproperty
+ key="build.home"
+ value="${env.BUILD_HOME}" />
+ <sysproperty
+ key="buildDirectory"
+ value="${buildDirectory}" />
+ <sysproperty
+ key="buildLabel"
+ value="${buildLabel}" />
+ <sysproperty
+ key="baseLocation"
+ value="${baseLocation}" />
+ <sysproperty
+ key="testRoot"
+ value="${testRoot}" />
+ <sysproperty
+ key="testDir"
+ value="${testRoot}" />
+ <sysproperty
+ key="perf.buildId"
+ value="${buildType}${date}-${time}" />
+ <sysproperty
+ key="eclipseBuilderDirectory"
+ value="${pde.builder.path}" />
+ <sysproperty
+ key="buildLabel"
+ value="${buildLabel}" />
+ </java>
+
+ <echo message="wtpmasterjunitresult ${wtpmasterjunitresult}" />
+ </target>
+
+ <target name="postRunTestEclipse">
+ <copy
+ todir="${buildDirectory}/${buildLabel}/testResults"
+ overwrite="true">
+ <fileset dir="${testRoot}/results">
+ <include name="**/*.*" />
+ </fileset>
+ </copy>
+ </target>
+
+</project>
diff --git a/releng.wtpbuilder/distribution/dali.tests/standaloneTest.xml b/releng.wtpbuilder/distribution/dali.tests/standaloneTest.xml
new file mode 100644
index 0000000..37a9beb
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.tests/standaloneTest.xml
@@ -0,0 +1,224 @@
+<project
+ default="main"
+ basedir=".">
+
+ <!--
+ Required inputs:
+
+ build.home
+ buildType
+ buildId
+ timestamp
+ build.stream [optional]
+ build.committers [optional]
+ testTarget [optional]
+ -->
+
+ <property environment="env" />
+
+ <target name="main">
+ <property
+ file="${build.home}/${env.RELENG_BUILDER}/build.properties" />
+ <property
+ name="local.cache.dir"
+ value="${env.LOCAL_PREREQS_CACHE}" />
+ <property
+ name="testRoot"
+ value="${build.home}/testRoot" />
+ <delete
+ dir="${testRoot}"
+ failonerror="false" />
+ <mkdir dir="${testRoot}" />
+ <antcall target="getReleng" />
+ <property
+ file="${testRoot}/${env.RELENGDALI}/maps/dependencies.properties" />
+ <antcall target="getDependencies" />
+ <condition
+ property="wtp-sdk"
+ value="wtp-sdk-${buildId}.zip"
+ else="wtp-sdk-${buildType}-${buildId}-${timestamp}.zip">
+ <available file="${local.cache.dir}/wtp-sdk-${buildId}.zip" />
+ </condition>
+ <condition
+ property="wtp-wst-tests"
+ value="wtp-wst-Automated-Tests-${buildId}.zip"
+ else="wtp-wst-Automated-Tests-${buildType}-${buildId}-${timestamp}.zip">
+ <available
+ file="${local.cache.dir}/wtp-wst-Automated-Tests-${buildId}.zip" />
+ </condition>
+ <condition
+ property="wtp-jst-tests"
+ value="wtp-jst-Automated-Tests-${buildId}.zip"
+ else="wtp-jst-Automated-Tests-${buildType}-${buildId}-${timestamp}.zip">
+ <available
+ file="${local.cache.dir}/wtp-jst-Automated-Tests-${buildId}.zip" />
+ </condition>
+ <antcall target="run" />
+ <antcall target="upload" />
+ <antcall target="clean" />
+ </target>
+
+ <target name="getReleng">
+ <property
+ name="releng.tag"
+ value="v${buildType}${timestamp}" />
+ <cvs
+ cvsRoot=":pserver:anonymous@dev.eclipse.org:/cvsroot/webtools"
+ package="${env.RELENG}"
+ dest="${testRoot}"
+ command="export"
+ tag="${releng.tag}"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ </target>
+
+ <target name="getDependencies">
+ <ant
+ antfile="${build.home}/${env.RELENG_BUILDER}/distribution/wtp.tests/testdependency.xml">
+ <property
+ name="base.install.dir"
+ value="${testRoot}" />
+ <property
+ name="dependencyTargets"
+ value="${build.home}/${env.RELENG_BUILDER}/scripts/dependency/build.xml" />
+ </ant>
+ <antcall target="getAndInstallWTP">
+ <param
+ name="file"
+ value="wtp-sdk-${buildId}.zip" />
+ </antcall>
+ <antcall target="getAndInstallWTP">
+ <param
+ name="file"
+ value="wtp-sdk-${buildType}-${buildId}-${timestamp}.zip" />
+ </antcall>
+ <antcall target="getAndInstallWTP">
+ <param
+ name="file"
+ value="wtp-wst-Automated-Tests-${buildId}.zip" />
+ </antcall>
+ <antcall target="getAndInstallWTP">
+ <param
+ name="file"
+ value="wtp-wst-Automated-Tests-${buildType}-${buildId}-${timestamp}.zip" />
+ </antcall>
+ <antcall target="getAndInstallWTP">
+ <param
+ name="file"
+ value="wtp-jst-Automated-Tests-${buildId}.zip" />
+ </antcall>
+ <antcall target="getAndInstallWTP">
+ <param
+ name="file"
+ value="wtp-jst-Automated-Tests-${buildType}-${buildId}-${timestamp}.zip" />
+ </antcall>
+ </target>
+
+ <target name="getAndInstallWTP">
+ <available
+ file="${local.cache.dir}/${file}"
+ property="file.exists" />
+ <antcall target="getWTP" />
+ <available
+ file="${local.cache.dir}/${file}"
+ property="file.exists" />
+ <antcall target="installWTP" />
+ </target>
+
+ <target name="getWTP">
+ <condition
+ property="file.url"
+ value="http://download.eclipse.org/webtools/committers/drops/${buildType}-${buildId}-${timestamp}"
+ else="http://download.eclipse.org/webtools/downloads/drops/${buildType}-${buildId}-${timestamp}">
+ <isset property="build.committers" />
+ </condition>
+ <antcall target="getWTP2" />
+ </target>
+
+ <target
+ name="getWTP2"
+ unless="file.exists">
+ <property
+ name="file.url"
+ value="http://download.eclipse.org/webtools/downloads/drops/${buildType}-${buildId}-${timestamp}" />
+ <get
+ dest="${local.cache.dir}/${file}"
+ src="${file.url}/${file}"
+ ignoreerrors="true" />
+ </target>
+
+ <target
+ name="installWTP"
+ if="file.exists">
+ <unzip
+ src="${local.cache.dir}/${file}"
+ dest="${testRoot}"
+ overwrite="true" />
+ </target>
+
+ <target name="run">
+ <mkdir dir="${testRoot}/results/consolelogs" />
+ <copy
+ todir="${testRoot}"
+ flatten="true"
+ overwrite="true">
+ <fileset
+ dir="${build.home}/${env.RELENG_BUILDER}/distribution/wtp.tests/testScripts" />
+ </copy>
+ <ant
+ antfile="${build.home}/${env.RELENG_BUILDER}/distribution/wtp.tests/build.xml"
+ target="runTestEclipse">
+ <property
+ name="testRoot"
+ value="${testRoot}" />
+ <property
+ name="testTarget"
+ value="" />
+ </ant>
+ <copy
+ file="${build.home}/${env.RELENG_BUILDER}/distribution/wtp.tests/templateFiles/index.php"
+ todir="${testRoot}/results/index.php"
+ overwrite="true" />
+ </target>
+
+ <target
+ name="upload"
+ if="login">
+ <condition
+ property="upload.path"
+ else="~/downloads/webtools/downloads/drops/${buildType}-${buildId}-${timestamp}/testResults/${config}"
+ value="~/downloads/webtools/committers/drops/${buildType}-${buildId}-${timestamp}/testResults/${config}">
+ <isset property="build.committers" />
+ </condition>
+ <exec
+ executable="ssh"
+ dir="${build.home}">
+ <arg
+ line="${login}@download1.eclipse.org mkdir ${upload.path}" />
+ </exec>
+ <exec
+ executable="scp"
+ dir="${build.home}">
+ <arg
+ line="-r ./testRoot/results ${login}@download1.eclipse.org:${upload.path}" />
+ </exec>
+ </target>
+
+ <target
+ name="clean"
+ if="clean">
+ <delete
+ dir="${testRoot}"
+ failonerror="false" />
+ <delete
+ file="${local.cache.dir}/${wtp-sdk}"
+ failonerror="false" />
+ <delete
+ file="${local.cache.dir}/${wtp-wst-tests}"
+ failonerror="false" />
+ <delete
+ file="${local.cache.dir}/${wtp-jst-tests}"
+ failonerror="false" />
+ </target>
+
+</project>
\ No newline at end of file
diff --git a/releng.wtpbuilder/distribution/dali.tests/templateFiles/index.php b/releng.wtpbuilder/distribution/dali.tests/templateFiles/index.php
new file mode 100644
index 0000000..5c2aa4b
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.tests/templateFiles/index.php
@@ -0,0 +1,70 @@
+<html>
+<head>
+
+<?php
+ $parts = explode("/", realpath(".."));
+ $label = $parts[count($parts) - 1];
+?>
+
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css">
+</head>
+<body>
+<p><b><font face="Verdana" size="+3">Test Results</font></b> </p>
+<table border=0 cellspacing=5 cellpadding=2 width="100%" >
+ <tr>
+ <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">Unit
+ Test Results for <?php echo "$label"; ?> </font></b></td>
+ </tr>
+</table>
+<p></p><table border="0">
+</table>
+
+<table width="77%" border="1">
+ <tr>
+ <td width="81%"><b>Tests Performed</b></td>
+ <td width="19%"><b>Errors & Failures</b></td>
+ </tr>
+
+ <?
+ $dir = dir("html");
+ while ($anEntry = $dir->read())
+ {
+ if ($anEntry != "." && $anEntry != "..")
+ {
+ $link = "html/".$anEntry;
+ echo "<tr><td><a href=\"$link\">";
+ echo "$anEntry";
+ echo "</a></td>";
+ $xml = "xml/".substr($anEntry, 0, strlen($anEntry)-4)."xml";
+ $count = 0;
+ $fileHandle = fopen($xml, "r");
+ while (!feof($fileHandle))
+ {
+ $aLine = fgets($fileHandle, 4096); // Length parameter only optional after 4.2.0
+ $count = $count + substr_count($aLine, '<error>');
+ }
+ fclose($fileHandle);
+ echo "<td>$count</td></tr>";
+ }
+ }
+ ?>
+
+</table>
+<p></p>
+<br>
+<table border=0 cellspacing=5 cellpadding=2 width="100%" >
+ <tr>
+ <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"><b><font color="#FFFFFF" face="Arial,Helvetica">
+ Console output logs
+ <?php echo "$label"; ?>
+ </font></b></td>
+ </tr>
+</table>
+<br>
+These <a href="consolelogs/dalitestlog.txt">logs</a> contain the console output captured while
+running the JUnit automated tests. <br>
+<br>
+
+</body>
+</html>
diff --git a/releng.wtpbuilder/distribution/dali.tests/testScripts/JUNIT.XSL b/releng.wtpbuilder/distribution/dali.tests/testScripts/JUNIT.XSL
new file mode 100644
index 0000000..f57faaa
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.tests/testScripts/JUNIT.XSL
@@ -0,0 +1,580 @@
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="1.0">
+ <xsl:output
+ method="html"
+ indent="yes" />
+ <xsl:decimal-format
+ decimal-separator="."
+ grouping-separator="," />
+
+ <xsl:template match="testsuites">
+ <HTML>
+ <HEAD>
+ <style type="text/css">
+ body { font:normal 68% verdana,arial,helvetica;
+ color:#000000; } table tr td, table tr th {
+ font-size: 68%; } table.details tr th{ font-weight:
+ bold; text-align:left; background:#a6caf0; }
+ table.details tr td{ background:#eeeee0; }
+
+ p { line-height:1.5em; margin-top:0.5em;
+ margin-bottom:1.0em; } h1 { margin: 0px 0px 5px;
+ font: 165% verdana,arial,helvetica } h2 {
+ margin-top: 1em; margin-bottom: 0.5em; font: bold
+ 125% verdana,arial,helvetica } h3 { margin-bottom:
+ 0.5em; font: bold 115% verdana,arial,helvetica } h4
+ { margin-bottom: 0.5em; font: bold 100%
+ verdana,arial,helvetica } h5 { margin-bottom: 0.5em;
+ font: bold 100% verdana,arial,helvetica } h6 {
+ margin-bottom: 0.5em; font: bold 100%
+ verdana,arial,helvetica } .Error { font-weight:bold;
+ color:red; } .Failure { font-weight:bold;
+ color:purple; } .Properties { text-align:right; }
+ </style>
+ <script language="JavaScript">
+ var TestCases = new Array(); var cur;
+ <xsl:for-each select="./testsuite">
+ <xsl:apply-templates select="properties" />
+ </xsl:for-each>
+
+ </script>
+ <script language="JavaScript"><![CDATA[
+ function displayProperties (name) {
+ var win = window.open('','JUnitSystemProperties','scrollbars=1,resizable=1');
+ var doc = win.document.open();
+ doc.write("<html><head><title>Properties of " + name + "</title>");
+ doc.write("<style>")
+ doc.write("body {font:normal 68% verdana,arial,helvetica; color:#000000; }");
+ doc.write("table tr td, table tr th { font-size: 68%; }");
+ doc.write("table.properties { border-collapse:collapse; border-left:solid 1 #cccccc; border-top:solid 1 #cccccc; padding:5px; }");
+ doc.write("table.properties th { text-align:left; border-right:solid 1 #cccccc; border-bottom:solid 1 #cccccc; background-color:#eeeeee; }");
+ doc.write("table.properties td { font:normal; text-align:left; border-right:solid 1 #cccccc; border-bottom:solid 1 #cccccc; background-color:#fffffff; }");
+ doc.write("h3 { margin-bottom: 0.5em; font: bold 115% verdana,arial,helvetica }");
+ doc.write("</style>");
+ doc.write("</head><body>");
+ doc.write("<h3>Properties of " + name + "</h3>");
+ doc.write("<div align=\"right\"><a href=\"javascript:window.close();\">Close</a></div>");
+ doc.write("<table class='properties'>");
+ doc.write("<tr><th>Name</th><th>Value</th></tr>");
+ for (prop in TestCases[name]) {
+ doc.write("<tr><th>" + prop + "</th><td>" + TestCases[name][prop] + "</td></tr>");
+ }
+ doc.write("</table>");
+ doc.write("</body></html>");
+ doc.close();
+ win.focus();
+ }
+ ]]>
+ </script>
+ </HEAD>
+ <body>
+ <a name="top"></a>
+ <xsl:call-template name="pageHeader" />
+
+ <!-- Summary part -->
+ <xsl:call-template name="summary" />
+ <hr
+ size="1"
+ width="95%"
+ align="left" />
+
+ <!-- Package List part -->
+ <xsl:call-template name="packagelist" />
+ <hr
+ size="1"
+ width="95%"
+ align="left" />
+
+ <!-- For each package create its part -->
+ <xsl:call-template name="packages" />
+ <hr
+ size="1"
+ width="95%"
+ align="left" />
+
+ <!-- For each class create the part -->
+ <xsl:call-template name="classes" />
+
+ </body>
+ </HTML>
+ </xsl:template>
+
+
+
+ <!-- ================================================================== -->
+ <!-- Write a list of all packages with an hyperlink to the anchor of -->
+ <!-- of the package name. -->
+ <!-- ================================================================== -->
+ <xsl:template name="packagelist">
+ <h2>Packages</h2>
+ Note: package statistics are not computed recursively, they only
+ sum up all of its testsuites numbers.
+ <table
+ class="details"
+ border="0"
+ cellpadding="5"
+ cellspacing="2"
+ width="95%">
+ <xsl:call-template name="testsuite.test.header" />
+ <!-- list all packages recursively -->
+ <xsl:for-each
+ select="./testsuite[not(./@package = preceding-sibling::testsuite/@package)]">
+ <xsl:sort select="@package" />
+ <xsl:variable
+ name="testsuites-in-package"
+ select="/testsuites/testsuite[./@package = current()/@package]" />
+ <xsl:variable
+ name="testCount"
+ select="sum($testsuites-in-package/@tests)" />
+ <xsl:variable
+ name="errorCount"
+ select="sum($testsuites-in-package/@errors)" />
+ <xsl:variable
+ name="failureCount"
+ select="sum($testsuites-in-package/@failures)" />
+ <xsl:variable
+ name="timeCount"
+ select="sum($testsuites-in-package/@time)" />
+
+ <!-- write a summary for the package -->
+ <tr valign="top">
+ <!-- set a nice color depending if there is an error/failure -->
+ <xsl:attribute name="class">
+ <xsl:choose>
+ <xsl:when test="$failureCount > 0">Failure</xsl:when>
+ <xsl:when test="$errorCount > 0">Error</xsl:when>
+ </xsl:choose>
+ </xsl:attribute>
+ <td>
+ <a href="#{@package}">
+ <xsl:value-of select="@package" />
+ </a>
+ </td>
+ <td>
+ <xsl:value-of select="$testCount" />
+ </td>
+ <td>
+ <xsl:value-of select="$errorCount" />
+ </td>
+ <td>
+ <xsl:value-of select="$failureCount" />
+ </td>
+ <td>
+ <xsl:call-template name="display-time">
+ <xsl:with-param
+ name="value"
+ select="$timeCount" />
+ </xsl:call-template>
+ </td>
+ </tr>
+ </xsl:for-each>
+ </table>
+ </xsl:template>
+
+
+ <!-- ================================================================== -->
+ <!-- Write a package level report -->
+ <!-- It creates a table with values from the document: -->
+ <!-- Name | Tests | Errors | Failures | Time -->
+ <!-- ================================================================== -->
+ <xsl:template name="packages">
+ <!-- create an anchor to this package name -->
+ <xsl:for-each
+ select="/testsuites/testsuite[not(./@package = preceding-sibling::testsuite/@package)]">
+ <xsl:sort select="@package" />
+ <a name="{@package}"></a>
+ <h3>
+ Package
+ <xsl:value-of select="@package" />
+ </h3>
+
+ <table
+ class="details"
+ border="0"
+ cellpadding="5"
+ cellspacing="2"
+ width="95%">
+ <xsl:call-template name="testsuite.test.header" />
+
+ <!-- match the testsuites of this package -->
+ <xsl:apply-templates
+ select="/testsuites/testsuite[./@package = current()/@package]"
+ mode="print.test" />
+ </table>
+ <a href="#top">Back to top</a>
+ <p />
+ <p />
+ </xsl:for-each>
+ </xsl:template>
+
+ <xsl:template name="classes">
+ <xsl:for-each select="testsuite">
+ <xsl:sort select="@name" />
+ <!-- create an anchor to this class name -->
+ <a name="{@name}"></a>
+ <h3>
+ TestCase
+ <xsl:value-of select="@name" />
+ </h3>
+
+ <table
+ class="details"
+ border="0"
+ cellpadding="5"
+ cellspacing="2"
+ width="95%">
+ <xsl:call-template name="testcase.test.header" />
+ <!--
+ test can even not be started at all (failure to load the class)
+ so report the error directly
+ -->
+ <xsl:if test="./error">
+ <tr class="Error">
+ <td colspan="4">
+ <xsl:apply-templates select="./error" />
+ </td>
+ </tr>
+ </xsl:if>
+ <xsl:apply-templates
+ select="./testcase"
+ mode="print.test" />
+ </table>
+ <div class="Properties">
+ <a>
+ <xsl:attribute name="href">javascript:displayProperties('<xsl:value-of
+ select="@package" />.<xsl:value-of
+ select="@name" />');</xsl:attribute>
+ Properties >>
+ </a>
+ </div>
+ <p />
+
+ <a href="#top">Back to top</a>
+ </xsl:for-each>
+ </xsl:template>
+
+ <xsl:template name="summary">
+ <h2>Summary</h2>
+ <xsl:variable
+ name="testCount"
+ select="sum(testsuite/@tests)" />
+ <xsl:variable
+ name="errorCount"
+ select="sum(testsuite/@errors)" />
+ <xsl:variable
+ name="failureCount"
+ select="sum(testsuite/@failures)" />
+ <xsl:variable
+ name="timeCount"
+ select="sum(testsuite/@time)" />
+ <xsl:variable
+ name="successRate"
+ select="($testCount - $failureCount - $errorCount) div $testCount" />
+ <table
+ class="details"
+ border="0"
+ cellpadding="5"
+ cellspacing="2"
+ width="95%">
+ <tr valign="top">
+ <th>Tests</th>
+ <th>Failures</th>
+ <th>Errors</th>
+ <th>Success rate</th>
+ <th>Time</th>
+ </tr>
+ <tr valign="top">
+ <xsl:attribute name="class">
+ <xsl:choose>
+ <xsl:when test="$failureCount > 0">Failure</xsl:when>
+ <xsl:when test="$errorCount > 0">Error</xsl:when>
+ </xsl:choose>
+ </xsl:attribute>
+ <td>
+ <xsl:value-of select="$testCount" />
+ </td>
+ <td>
+ <xsl:value-of select="$failureCount" />
+ </td>
+ <td>
+ <xsl:value-of select="$errorCount" />
+ </td>
+ <td>
+ <xsl:call-template name="display-percent">
+ <xsl:with-param
+ name="value"
+ select="$successRate" />
+ </xsl:call-template>
+ </td>
+ <td>
+ <xsl:call-template name="display-time">
+ <xsl:with-param
+ name="value"
+ select="$timeCount" />
+ </xsl:call-template>
+ </td>
+
+ </tr>
+ </table>
+ <table
+ border="0"
+ width="95%">
+ <tr>
+ <td style="text-align: justify;">
+ Note:
+ <i>failures</i>
+ are anticipated and checked for with assertions
+ while
+ <i>errors</i>
+ are unanticipated.
+ </td>
+ </tr>
+ </table>
+ </xsl:template>
+
+ <!--
+ Write properties into a JavaScript data structure.
+ This is based on the original idea by Erik Hatcher (erik@hatcher.net)
+ -->
+ <xsl:template match="properties">
+ cur = TestCases['
+ <xsl:value-of select="../@package" />
+ .
+ <xsl:value-of select="../@name" />
+ '] = new Array();
+ <xsl:for-each select="property">
+ <xsl:sort select="@name" />
+ cur['
+ <xsl:value-of select="@name" />
+ '] = '
+ <xsl:call-template name="JS-escape">
+ <xsl:with-param
+ name="string"
+ select="@value" />
+ </xsl:call-template>
+ ';
+ </xsl:for-each>
+ </xsl:template>
+
+ <!-- Page HEADER -->
+ <xsl:template name="pageHeader">
+ <h1>Unit Test Results</h1>
+ <table width="100%">
+ <tr>
+ <td align="left"></td>
+ <td align="right">
+ Designed for use with
+ <a href='http://www.junit.org'>JUnit</a>
+ and
+ <a href='http://jakarta.apache.org/ant'>Ant</a>
+ .
+ </td>
+ </tr>
+ </table>
+ <hr size="1" />
+ </xsl:template>
+
+ <xsl:template
+ match="testsuite"
+ mode="header">
+ <tr valign="top">
+ <th width="80%">Name</th>
+ <th>Tests</th>
+ <th>Errors</th>
+ <th>Failures</th>
+ <th nowrap="nowrap">Time(s)</th>
+ </tr>
+ </xsl:template>
+
+ <!-- class header -->
+ <xsl:template name="testsuite.test.header">
+ <tr valign="top">
+ <th width="80%">Name</th>
+ <th>Tests</th>
+ <th>Errors</th>
+ <th>Failures</th>
+ <th nowrap="nowrap">Time(s)</th>
+ </tr>
+ </xsl:template>
+
+ <!-- method header -->
+ <xsl:template name="testcase.test.header">
+ <tr valign="top">
+ <th>Name</th>
+ <th>Status</th>
+ <th width="80%">Type</th>
+ <th nowrap="nowrap">Time(s)</th>
+ </tr>
+ </xsl:template>
+
+
+ <!-- class information -->
+ <xsl:template
+ match="testsuite"
+ mode="print.test">
+ <tr valign="top">
+ <!-- set a nice color depending if there is an error/failure -->
+ <xsl:attribute name="class">
+ <xsl:choose>
+ <xsl:when test="@failures[.> 0]">Failure</xsl:when>
+ <xsl:when test="@errors[.> 0]">Error</xsl:when>
+ </xsl:choose>
+ </xsl:attribute>
+
+ <!-- print testsuite information -->
+ <td>
+ <a href="#{@name}">
+ <xsl:value-of select="@name" />
+ </a>
+ </td>
+ <td>
+ <xsl:value-of select="@tests" />
+ </td>
+ <td>
+ <xsl:value-of select="@errors" />
+ </td>
+ <td>
+ <xsl:value-of select="@failures" />
+ </td>
+ <td>
+ <xsl:call-template name="display-time">
+ <xsl:with-param
+ name="value"
+ select="@time" />
+ </xsl:call-template>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template
+ match="testcase"
+ mode="print.test">
+ <tr valign="top">
+ <xsl:attribute name="class">
+ <xsl:choose>
+ <xsl:when test="failure | error">Error</xsl:when>
+ </xsl:choose>
+ </xsl:attribute>
+ <td>
+ <xsl:value-of select="@name" />
+ </td>
+ <xsl:choose>
+ <xsl:when test="failure">
+ <td>Failure</td>
+ <td>
+ <xsl:apply-templates select="failure" />
+ </td>
+ </xsl:when>
+ <xsl:when test="error">
+ <td>Error</td>
+ <td>
+ <xsl:apply-templates select="error" />
+ </td>
+ </xsl:when>
+ <xsl:otherwise>
+ <td>Success</td>
+ <td></td>
+ </xsl:otherwise>
+ </xsl:choose>
+ <td>
+ <xsl:call-template name="display-time">
+ <xsl:with-param
+ name="value"
+ select="@time" />
+ </xsl:call-template>
+ </td>
+ </tr>
+ </xsl:template>
+
+
+ <xsl:template match="failure">
+ <xsl:call-template name="display-failures" />
+ </xsl:template>
+
+ <xsl:template match="error">
+ <xsl:call-template name="display-failures" />
+ </xsl:template>
+
+ <!-- Style for the error and failure in the tescase template -->
+ <xsl:template name="display-failures">
+ <xsl:choose>
+ <xsl:when test="not(@message)">N/A</xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="@message" />
+ </xsl:otherwise>
+ </xsl:choose>
+ <!-- display the stacktrace -->
+ <code>
+ <p />
+ <xsl:call-template name="br-replace">
+ <xsl:with-param
+ name="word"
+ select="." />
+ </xsl:call-template>
+ </code>
+ <!-- the later is better but might be problematic for non-21" monitors... -->
+ <!--pre><xsl:value-of select="."/></pre-->
+ </xsl:template>
+
+ <xsl:template name="JS-escape">
+ <xsl:param name="string" />
+ <xsl:choose>
+ <!-- something isn't right here, basically all single quotes need to be replaced with backslash-single-quote
+ <xsl:when test="contains($string,''')">
+ <xsl:value-of select="substring-before($string,''')"/>
+ \'
+ <xsl:call-template name="JS-escape">
+ <xsl:with-param name="string" select="substring-after($string,''')"/>
+ </xsl:call-template>
+ </xsl:when> -->
+ <xsl:when test="contains($string,'\')">
+ <xsl:value-of select="substring-before($string,'\')" />
+ \\
+ <xsl:call-template name="JS-escape">
+ <xsl:with-param
+ name="string"
+ select="substring-after($string,'\')" />
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$string" />
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+
+ <!--
+ template that will convert a carriage return into a br tag
+ @param word the text from which to convert CR to BR tag
+ -->
+ <xsl:template name="br-replace">
+ <xsl:param name="word" />
+ <xsl:choose>
+ <xsl:when test="contains($word,'
')">
+ <xsl:value-of select="substring-before($word,'
')" />
+ <br />
+ <xsl:call-template name="br-replace">
+ <xsl:with-param
+ name="word"
+ select="substring-after($word,'
')" />
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$word" />
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template name="display-time">
+ <xsl:param name="value" />
+ <xsl:value-of select="format-number($value,'0.000')" />
+ </xsl:template>
+
+ <xsl:template name="display-percent">
+ <xsl:param name="value" />
+ <xsl:value-of select="format-number($value,'0.00%')" />
+ </xsl:template>
+
+</xsl:stylesheet>
+
diff --git a/releng.wtpbuilder/distribution/dali.tests/testScripts/api-tests.xml b/releng.wtpbuilder/distribution/dali.tests/testScripts/api-tests.xml
new file mode 100644
index 0000000..7b967ae
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.tests/testScripts/api-tests.xml
@@ -0,0 +1,262 @@
+<?xml version="1.0"?>
+<project
+ name="API tests"
+ basedir=".">
+
+ <property environment="env" />
+
+ <property file="${testDir}/buildAll.properties" />
+ <property file="${testDir}/build.cfg" />
+
+ <property
+ name="library-xml-file"
+ value="${basedir}/plugins/org.eclipse.test_3.1.0/library.xml" />
+ <import file="${library-xml-file}" />
+
+ <target name="ui-test">
+ <antcall target="runPIAgent">
+ <param
+ name="application"
+ value="org.eclipse.test.uitestapplication" />
+ </antcall>
+ </target>
+
+ <target name="core-test">
+ <antcall target="runPIAgent">
+ <param
+ name="application"
+ value="org.eclipse.test.coretestapplication" />
+ </antcall>
+ </target>
+
+ <target name="init">
+ <property
+ name="piagentDir"
+ value="${testDir}/piagent" />
+ <property
+ name="component.core"
+ value="releng.wtptools/api/org.eclipse.wtp.releng.tools.component.core" />
+ <condition property="piAgent.exists">
+ <or>
+ <available
+ property="piAgent.dll.exists"
+ file="${piagentDir}/piAgent.dll" />
+ <available
+ property="libpiAgent.so.exists"
+ file="${piagentDir}/libpiAgent.so" />
+ </or>
+ </condition>
+ <antcall target="init2" />
+ </target>
+
+ <target
+ name="init2"
+ unless="piAgent.exists">
+ <mkdir dir="${piagentDir}" />
+ <cvs
+ cvsRoot=":pserver:anonymous@dev.eclipse.org:/cvsroot/webtools"
+ package="${component.core}"
+ dest="${piagentDir}"
+ command="export"
+ tag="HEAD"
+ quiet="${env.CVS_QUIET}"
+ reallyquiet="${env.CVS_REALLY_QUIET}" />
+ <mkdir dir="${piagentDir}/${component.core}/bin" />
+ <javac
+ srcdir="${piagentDir}/${component.core}/src"
+ destdir="${piagentDir}/${component.core}/bin"
+ fork="true">
+ <classpath>
+ <fileset dir="${baseLocation}/plugins">
+ <include name="**/*.jar" />
+ </fileset>
+ </classpath>
+ </javac>
+ <condition
+ property="piAgentURL"
+ value="${piAgentURL.linux}">
+ <equals
+ arg1="${os}"
+ arg2="linux" />
+ </condition>
+ <condition
+ property="piAgentURL"
+ value="${piAgentURL.win32}">
+ <equals
+ arg1="${os}"
+ arg2="win32" />
+ </condition>
+ <condition
+ property="piAgentFile"
+ value="${piAgentFile.linux}">
+ <equals
+ arg1="${os}"
+ arg2="linux" />
+ </condition>
+ <condition
+ property="piAgentFile"
+ value="${piAgentFile.win32}">
+ <equals
+ arg1="${os}"
+ arg2="win32" />
+ </condition>
+ <condition property="os.linux">
+ <equals
+ arg1="${os}"
+ arg2="linux" />
+ </condition>
+ <condition property="os.win32">
+ <equals
+ arg1="${os}"
+ arg2="win32" />
+ </condition>
+ <available
+ file="${env.LOCAL_PREREQS_CACHE}/${piAgentFile}"
+ property="piAgent.exists" />
+ <antcall target="getPIAgent" />
+ <antcall target="setupPIAgentLinux" />
+ <antcall target="setupPIAgentWin32" />
+ </target>
+
+ <target
+ name="getPIAgent"
+ unless="piAgent.exists">
+ <get
+ src="${piAgentURL}"
+ dest="${env.LOCAL_PREREQS_CACHE}/${piAgentFile}" />
+ </target>
+
+ <target
+ name="setupPIAgentLinux"
+ if="os.linux">
+ <unzip
+ dest="${piagentDir}"
+ src="${env.LOCAL_PREREQS_CACHE}/${piAgentFile}">
+ <patternset>
+ <include name="**/*.so" />
+ </patternset>
+ </unzip>
+ <move
+ todir="${piagentDir}"
+ flatten="true">
+ <fileset dir="${piagentDir}/lib" />
+ </move>
+ <copy
+ file="${piagentDir}/${component.core}/apiagent/libpiAgent.so"
+ tofile="${piagentDir}/libpiAgent.so"
+ overwrite="true" />
+ </target>
+
+ <target
+ name="setupPIAgentWin32"
+ if="os.win32">
+ <unzip
+ dest="${piagentDir}"
+ src="${env.LOCAL_PREREQS_CACHE}/${piAgentFile}">
+ <patternset>
+ <include name="**/*.dll" />
+ </patternset>
+ </unzip>
+ <move
+ todir="${piagentDir}"
+ flatten="true">
+ <fileset dir="${piagentDir}/bin" />
+ </move>
+ <copy
+ file="${piagentDir}/${component.core}/apiagent/piAgent.dll"
+ tofile="${piagentDir}/piAgent.dll"
+ overwrite="true" />
+ </target>
+
+ <target
+ name="runPIAgent"
+ depends="init">
+ <property
+ name="piagentDir"
+ value="${testDir}/piagent" />
+ <property
+ name="component.core"
+ value="releng.wtptools/api/org.eclipse.wtp.releng.tools.component.core" />
+ <condition property="piAgent.exists">
+ <and>
+ <or>
+ <available
+ property="piAgent.dll.exists"
+ file="${piagentDir}/piAgent.dll" />
+ <available
+ property="libpiAgent.so.exists"
+ file="${piagentDir}/libpiAgent.so" />
+ </or>
+ <available
+ property="buildDirectory.exists"
+ file="${buildDirectory}" />
+ <isset property="package.includes" />
+ </and>
+ </condition>
+ <antcall target="runPIAgent2" />
+ </target>
+
+ <target
+ name="runPIAgent2"
+ if="piAgent.exists">
+ <java
+ classname="org.eclipse.wtp.releng.tools.component.piagent.PIAgentFiltersEmitter"
+ fork="true"
+ maxmemory="256m">
+ <arg
+ line="-eclipseDirs ${buildDirectory}/plugins -compXMLDirs ${buildDirectory}/plugins -outputFile ${piagentDir}/piagent_filters.txt -includes ${package.includes}" />
+ <classpath>
+ <pathelement path="${piagentDir}/${component.core}/bin" />
+ <fileset dir="${baseLocation}/plugins">
+ <include name="**/*.jar" />
+ </fileset>
+ </classpath>
+ </java>
+ <tstamp>
+ <format
+ property="TIMENOW"
+ pattern="HHmmssSSSS" />
+ </tstamp>
+ <property
+ name="vmargs"
+ value="" />
+ <property
+ name="launcher"
+ value="org.eclipse.core.launcher.Main" />
+ <property
+ name="formatter"
+ value="org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter" />
+ <property
+ name="extraVMargs"
+ value="" />
+ <property
+ name="plugin-path"
+ value="" />
+ <property
+ name="timeout"
+ value="7200000" />
+ <property file="${testDir}/eclipse/configuration/config.ini" />
+ <echo message="Running ${classname}" />
+ <mkdir dir="${buildDirectory}/apitools/piagentoutput" />
+ <delete
+ file="${buildDirectory}/apitools/piagentoutput/${classname}.trcxml"
+ failonerror="false" />
+ <exec
+ dir="${piagentDir}"
+ executable="java"
+ timeout="${timeout}">
+ <env
+ key="LD_LIBRARY_PATH"
+ value="${piagentDir}" />
+ <env
+ key="java.library.path"
+ value="${piagentDir}" />
+ <env
+ key="PLUGIN_PATH"
+ value="${plugin-path}" />
+ <arg
+ line="-cp ${testDir}/eclipse/startup.jar -XrunpiAgent:server=standalone,profile=${piagentDir}/${component.core}/apiagent/piagent_options.txt,filters=${piagentDir}/piagent_filters.txt,file=${buildDirectory}/apitools/piagentoutput/${plugin-name}-${classname}.trcxml -Xmx512M ${vmargs} ${extraVMargs} ${launcher} -application ${application} -dev bin -data ${data-dir} formatter=${formatter},${testDir}/eclipse/${classname}.xml -testPluginName ${plugin-name} -className ${classname} -os ${os} -ws ${ws} -arch ${arch} -consolelog" />
+ </exec>
+ </target>
+
+</project>
\ No newline at end of file
diff --git a/releng.wtpbuilder/distribution/dali.tests/testScripts/junit-tests.xml b/releng.wtpbuilder/distribution/dali.tests/testScripts/junit-tests.xml
new file mode 100644
index 0000000..d2109f6
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.tests/testScripts/junit-tests.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0"?>
+<project
+ name="JUnit tests"
+ basedir=".">
+
+ <property
+ name="library-xml-file"
+ value="${basedir}/plugins/org.eclipse.test_3.1.0/library.xml" />
+ <import file="${library-xml-file}" />
+
+ <target name="core-test">
+ <property
+ name="extraVMargs"
+ value="" />
+ <antcall target="eclipse-test">
+ <param
+ name="application"
+ value="org.eclipse.test.coretestapplication" />
+ <param
+ name="extraVMargs"
+ value="${extraVMargs} -Dwtp.autotest.noninteractive=true" />
+ </antcall>
+ </target>
+
+ <target name="ui-test">
+ <property
+ name="extraVMargs"
+ value="" />
+ <antcall target="eclipse-test">
+ <param
+ name="application"
+ value="org.eclipse.test.uitestapplication" />
+ <param
+ name="extraVMargs"
+ value="${extraVMargs} -Dwtp.autotest.noninteractive=true" />
+ </antcall>
+ </target>
+
+</project>
diff --git a/releng.wtpbuilder/distribution/dali.tests/testScripts/performance-tests.xml b/releng.wtpbuilder/distribution/dali.tests/testScripts/performance-tests.xml
new file mode 100644
index 0000000..eb70a31
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.tests/testScripts/performance-tests.xml
@@ -0,0 +1,107 @@
+<?xml version="1.0"?>
+<project
+ name="WTP Performance"
+ default="default"
+ basedir=".">
+
+ <property
+ name="library-xml-file"
+ value="${basedir}/plugins/org.eclipse.test_3.1.0/library.xml" />
+ <import file="${library-xml-file}" />
+
+ <target name="ui-test">
+ <antcall target="ui-test-normal" />
+ <antcall target="ui-test-perf" />
+ </target>
+
+ <target name="core-test">
+ <antcall target="core-test-normal" />
+ <antcall target="core-test-perf" />
+ </target>
+
+ <target
+ name="ui-test-normal"
+ unless="runAsPerfApp">
+ <antcall target="run">
+ <param
+ name="target"
+ value="ui-test" />
+ </antcall>
+ </target>
+
+ <target
+ name="core-test-normal"
+ unless="runAsPerfApp">
+ <antcall target="run">
+ <param
+ name="target"
+ value="core-test" />
+ </antcall>
+ </target>
+
+ <target
+ name="ui-test-perf"
+ if="runAsPerfApp">
+ <antcall target="run">
+ <param
+ name="target"
+ value="eclipse-test" />
+ <param
+ name="application"
+ value="org.eclipse.wst.common.tests.performance.uitestapplication" />
+ </antcall>
+ </target>
+
+ <target
+ name="core-test-perf"
+ if="runAsPerfApp">
+ <antcall target="run">
+ <param
+ name="target"
+ value="eclipse-test" />
+ <param
+ name="application"
+ value="org.eclipse.wst.common.tests.performance.coretestapplication" />
+ </antcall>
+ </target>
+
+ <target name="run">
+
+ <property
+ name="eclipse.perf.dbloc"
+ value="-Declipse.perf.dbloc=${build.home}/${perf.dbloc}" />
+ <property
+ name="eclipse.perf.config"
+ value="-Declipse.perf.config=config=${perf.config};build=${perf.buildId};jvm=${perf.jvm}" />
+ <property
+ name="eclipse.perf.assertAgainst"
+ value="-Declipse.perf.assertAgainst=config=${perf.ref.config};build=${perf.ref.buildId};jvm=${perf.ref.jvm}" />
+ <property
+ name="extraVMargs"
+ value="" />
+
+ <ant
+ target="${target}"
+ antfile="${library-xml-file}"
+ dir="${basedir}">
+ <property
+ name="application"
+ value="${application}" />
+ <property
+ name="data-dir"
+ value="${data-dir}" />
+ <property
+ name="plugin-name"
+ value="${plugin-name}" />
+ <property
+ name="classname"
+ value="${classname}" />
+ <property
+ name="extraVMargs"
+ value="${eclipse.perf.dbloc} ${eclipse.perf.config} ${eclipse.perf.assertAgainst} ${extraVMargs} -Dwtp.autotest.noninteractive=true" />
+ </ant>
+
+ </target>
+
+ <target name="default" />
+</project>
\ No newline at end of file
diff --git a/releng.wtpbuilder/distribution/dali.tests/testScripts/test.xml b/releng.wtpbuilder/distribution/dali.tests/testScripts/test.xml
new file mode 100644
index 0000000..6aa5cd1
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.tests/testScripts/test.xml
@@ -0,0 +1,318 @@
+<project
+ name="Automated Eclipse Testing"
+ default="all"
+ basedir=".">
+
+ <!--properties file containing the plugin directory name including version number-->
+ <property file="testServer.properties" />
+
+ <!--properties file containing the build information-->
+ <property file="label.properties" />
+
+ <!--default directory where test-eclipse will be installed-->
+ <property
+ name="install"
+ value="${basedir}" />
+
+ <!--name that can be added to report name to identify which platform tests results come from-->
+ <property
+ name="platform"
+ value="" />
+
+ <!-- The root of the eclipse installation -->
+ <property
+ name="eclipse-home"
+ value="${install}/eclipse" />
+
+ <!-- The directory that will contain the xml and html results from the tests that are run -->
+ <property
+ name="results"
+ value="${basedir}/results" />
+
+ <target name="init">
+
+ </target>
+
+ <target
+ name="setup"
+ if="clean"
+ description="Reinstall the test Eclipse installation if specified by user">
+ <delete dir="${install}" />
+ <mkdir dir="${install}" />
+ <exec
+ dir="."
+ executable="unzip">
+ <arg line="-o -qq ../downloads/*.zip -d ${install}" />
+ </exec>
+
+ <exec
+ dir="."
+ executable="unzip">
+ <arg
+ line="-o -qq wtp-wst-tests-feature*.zip -d ${install}" />
+ </exec>
+
+ </target>
+
+ <target
+ name="runtests"
+ depends="setup"
+ description="Runs ant on the test.xml for a specified plugin.">
+ <available
+ file="${eclipse-home}/plugins/${testPlugin}/test.xml"
+ property="test.xml.exists" />
+ <antcall target="runtests2" />
+ </target>
+
+ <target
+ name="runtests2"
+ if="test.xml.exists">
+ <antcall target="runtests-normal" />
+ <!--
+ <antcall target="runtests-runAsPerfApp"/>
+ -->
+ <copy
+ file="${eclipse-home}/${report}.xml"
+ tofile="${results}/xml/${report}_${platform}.xml"
+ failonerror="false" />
+ <antcall target="genHtml" />
+ </target>
+
+ <target
+ name="runtests-normal"
+ unless="runAsPerfApp">
+ <ant
+ antfile="${eclipse-home}/plugins/${testPlugin}/test.xml"
+ dir="${eclipse-home}">
+ <property
+ name="library-file"
+ value="${testDir}/junit-tests.xml" />
+ </ant>
+ <copy
+ file="${eclipse-home}/${report}.xml"
+ tofile="${results}/xml/${report}_${platform}.xml"
+ failonerror="false" />
+ <antcall target="genHtml" />
+ </target>
+
+ <target
+ name="runtests-runAsPerfApp"
+ if="runAsPerfApp">
+ <ant
+ antfile="${eclipse-home}/plugins/${testPlugin}/test.xml"
+ dir="${eclipse-home}">
+ <property
+ name="library-file"
+ value="${testDir}/performance-tests.xml" />
+ <property
+ name="runAsPerfApp"
+ value="true" />
+ </ant>
+ <copy
+ file="${eclipse-home}/${report}.xml"
+ tofile="${results}/xml/${report}_${platform}.xml"
+ failonerror="false" />
+ <antcall target="genHtml" />
+ </target>
+
+ <target name="runperftests">
+ <antcall target="setupPerformance" />
+ <antcall target="runtests"></antcall>
+ </target>
+
+
+ <target
+ name="dali-utility-tests"
+ description="Runs the org.eclipse.jpt.utility.tests test.xml">
+ <antcall target="runtests">
+ <param
+ name="testPlugin"
+ value="${org.eclipse.jpt.utility.tests}" />
+ <param
+ name="report"
+ value="org.eclipse.jpt.utility.tests" />
+ </antcall>
+ </target>
+
+ <target
+ name="dali-core-tests"
+ description="Runs the org.eclipse.jpt.core.tests test.xml">
+ <antcall target="runtests">
+ <param
+ name="testPlugin"
+ value="${org.eclipse.jpt.core.tests}" />
+ <param
+ name="report"
+ value="org.eclipse.jpt.core.tests" />
+ </antcall>
+ </target>
+
+
+ <target
+ name="all"
+ depends="init">
+ <echo
+ level="info"
+ message="Starting Dali Unit Tests" />
+
+ <echo
+ level="info"
+ message="Starting dali-utility-tests" />
+ <antcall target="dali-utility-tests" />
+
+ <echo
+ level="info"
+ message="Starting dali-core-tests" />
+ <antcall target="dali-core-tests" />
+
+ <echo
+ level="info"
+ message="Ended Dali Unit Tests" />
+ </target>
+
+
+ <target name="setupPerformance">
+ <delete dir="${perfDir}" />
+ <mkdir dir="${perfDir}" />
+ <ant
+ antfile="buildAll.xml"
+ dir="${build.home}/org.eclipse.wtp.releng"
+ target="getPreReq" />
+ <ant
+ antfile="buildAll.xml"
+ dir="${build.home}/org.eclipse.wtp.releng"
+ target="setupTestEclipse">
+ <property
+ name="testDir"
+ value="${perfDir}" />
+ </ant>
+ <ant
+ antfile="buildAll.xml"
+ dir="${build.home}/org.eclipse.wtp.releng"
+ target="setupPerformance" />
+ </target>
+
+ <target
+ name="performance"
+ depends="init">
+ <!--
+ <antcall target="all">
+ <param name="runAsPerfApp" value="true"/>
+ </antcall>
+ -->
+ <antcall target="wst-common-perfTests" />
+ <antcall target="wst-wsdl-perfTests" />
+ <antcall target="wst-server-perfTests" />
+ <antcall target="jst-server-tomcat-perfTests" />
+ <antcall target="jst-jsp-perfTests" />
+ <antcall target="wst-xml-perfTests" />
+ <antcall target="wst-html-perfTests" />
+ <antcall target="wst-css-perfTests" />
+ <antcall target="jst-ws-perfTests" />
+ <antcall target="wst-xsd-perfTests" />
+ <antcall target="jst-j2ee-perfTests" />
+ <!--
+ <antcall target="genPerfGraphs" />
+ -->
+ </target>
+
+ <target
+ name="genHtml"
+ description="Generates HTML results with provided JUNIT.XSL provided"
+ unless="genHtml.disable">
+ <style
+ style="JUNIT.XSL"
+ basedir="${results}/xml"
+ destdir="${results}/html" />
+ </target>
+
+ <target
+ name="genPerfGraphs"
+ description="Generates performance graphs">
+ <condition
+ property="osWindows"
+ value="true">
+ <os family="windows" />
+ </condition>
+ <condition
+ property="java.library.path"
+ value="${eclipseBuilderDirectory}/swt-win32">
+ <os family="windows" />
+ </condition>
+ <condition
+ property="swt.library.path"
+ value="${eclipseBuilderDirectory}/swt-linux-motif">
+ <os family="unix" />
+ </condition>
+ <antcall target="genPerfGraphsWindows" />
+ <antcall target="genPerfGraphsLinux" />
+ </target>
+
+ <target
+ name="genPerfGraphsWindows"
+ if="osWindows">
+ <java
+ classname="org.eclipse.test.performance.ui.Main"
+ fork="true"
+ maxmemory="256m">
+ <arg
+ line="-baseline ${perf.ref.buildId} -current ${perf.buildId} -jvm ${perf.jvm} -config ${perf.config} -config.properties ${perf.config},${perf.config},${perf.config},${results}/graph/${perf.config} -output ${results}/graph" />
+ <classpath>
+ <fileset dir="${eclipseBuilderDirectory}/plugins">
+ <exclude name="**/*swt.motif*.jar" />
+ <exclude name="**/*swt.gtk*.jar" />
+ <include name="**/*.jar" />
+ </fileset>
+ <fileset dir="${build.home}/${cloudscapeLib}">
+ <include name="**/*.jar" />
+ </fileset>
+ </classpath>
+ <env
+ key="LD_LIBRARY_PATH"
+ value="${eclipseBuilderDirectory}/swt-win32" />
+ <sysproperty
+ key="PLUGIN_PATH"
+ value="${eclipseBuilderDirectory}/plugins/org.eclipse.test.performance.ui" />
+ <sysproperty
+ key="eclipse.perf.dbloc"
+ value="${build.home}/${perf.dbloc}" />
+ <sysproperty
+ key="java.library.path"
+ value="${eclipseBuilderDirectory}/swt-win32" />
+ </java>
+ </target>
+
+ <target
+ name="genPerfGraphsLinux"
+ unless="osWindows">
+ <java
+ classname="org.eclipse.test.performance.ui.Main"
+ fork="true"
+ maxmemory="256m">
+ <arg
+ line="-baseline ${perf.ref.buildId} -current ${perf.buildId} -jvm ${perf.jvm} -config ${perf.config} -config.properties ${perf.config},${perf.config},${perf.config},${results}/graph/${perf.config} -output ${results}/graph" />
+ <classpath>
+ <fileset dir="${eclipseBuilderDirectory}/plugins">
+ <exclude name="**/*swt.win32*.jar" />
+ <include name="**/*.jar" />
+ </fileset>
+ <fileset dir="${build.home}/${cloudscapeLib}">
+ <include name="**/*.jar" />
+ </fileset>
+ </classpath>
+ <env
+ key="LD_LIBRARY_PATH"
+ value="${eclipseBuilderDirectory}/swt-linux-motif" />
+ <sysproperty
+ key="PLUGIN_PATH"
+ value="${eclipseBuilderDirectory}/plugins/org.eclipse.test.performance.ui" />
+ <sysproperty
+ key="eclipse.perf.dbloc"
+ value="${build.home}/${perf.dbloc}" />
+ <sysproperty
+ key="java.library.path"
+ value="${eclipseBuilderDirectory}/swt-linux-motif" />
+ </java>
+ </target>
+
+</project>
diff --git a/releng.wtpbuilder/distribution/dali.tests/testdependency.xml b/releng.wtpbuilder/distribution/dali.tests/testdependency.xml
new file mode 100644
index 0000000..22df8a6
--- /dev/null
+++ b/releng.wtpbuilder/distribution/dali.tests/testdependency.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0"?>
+<!-- ======================================================================
+ Properties that must be passed to this script:
+ base.install.dir
+ dependencyTargets
+ local.cache.dir
+ dependency.properties
+
+ This file should not be used by the main WTP build
+ ====================================================================== -->
+<project
+ name="test"
+ default="get">
+
+ <target name="get">
+
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="emf" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="gef" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="dtp" />
+ </antcall>
+ <!-- This file should not be used by the main WTP build -->
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="wtp" />
+ </antcall>
+
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="eclipse" />
+ </antcall>
+ <antcall target="getAndInstall">
+ <param
+ name="groupId"
+ value="eclipseTestFramework" />
+ </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>
+
diff --git a/releng.wtpbuilder/distribution/incubator.build/build.xml b/releng.wtpbuilder/distribution/incubator.build/build.xml
new file mode 100644
index 0000000..dc431e3
--- /dev/null
+++ b/releng.wtpbuilder/distribution/incubator.build/build.xml
@@ -0,0 +1,61 @@
+<project
+ default="build"
+ basedir=".">
+ <fail
+ unless="wtp.builder.home" />
+ <property
+ file="${wtp.builder.home}/build.properties" />
+ <target
+ name="build"
+ depends="getBaseBuilder">
+ <dirname
+ file="${ant.file}"
+ property="distribution.wtp.build.dir" />
+ <property
+ name="buildTargets"
+ value="${wtp.builder.home}/scripts/build/runbuild.xml" />
+ <ant
+ antfile="${wtp.builder.home}/scripts/build/label.xml" />
+ <ant
+ antfile="${buildTargets}">
+ <property
+ name="component"
+ value="xsl" />
+ </ant>
+ <ant
+ antfile="${buildTargets}">
+ <property
+ name="component"
+ value="xsl_sdk" />
+ </ant>
+ <ant
+ antfile="${buildTargets}">
+ <property
+ name="component"
+ value="xsl_tests" />
+ <property
+ name="eclipseBuildFailOnError"
+ value="false" />
+ </ant>
+ <antcall
+ target="package" />
+ </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" />
+ <ant
+ antfile="${buildTargets}"
+ target="getBaseBuilder" />
+ </target>
+ <target
+ name="package">
+ <!-- post, post packaging, for WTP ... "manually" assemble the desired zips -->
+ <!-- nothing to assemble right now -->
+ </target>
+</project>
\ No newline at end of file
diff --git a/releng.wtpbuilder/distribution/incubator.site/build.xml b/releng.wtpbuilder/distribution/incubator.site/build.xml
new file mode 100644
index 0000000..a4fd72d
--- /dev/null
+++ b/releng.wtpbuilder/distribution/incubator.site/build.xml
@@ -0,0 +1,124 @@
+<project
+ name="Build specific targets and properties"
+ default="build"
+ basedir=".">
+
+ <!-- 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" />
+
+ <!-- = = = end standard properties pattern = = = -->
+
+ <echo message="ant.file: ${ant.file}" />
+ <target name="build">
+ <java
+ jar="${eclipse.launcher}"
+ fork="true"
+ failonerror="true">
+ <jvmarg value="-Dosgi.clean=true" />
+ <jvmarg value="-Dosgi.ws=${env.BASEWS}" />
+ <jvmarg value="-Dosgi.os=${env.BASEOS}" />
+ <jvmarg value="-Dosgi.arch=${env.BASEARCH}" />
+ <jvmarg value="-Dbuild.trial=${build.trial}" />
+ <jvmarg value="-DbuildBranch=${buildBranch}" />
+ <jvmarg value="-DbuildType=${buildType}" />
+ <jvmarg value="-DbuildId=${buildId}" />
+ <jvmarg value="-DmapVersionTag=${mapVersionTag}" />
+ <jvmarg value="-Dbuild.distribution=${build.distribution}" />
+ <jvmarg value="-DbuildDirectory=${buildDirectory}" />
+ <jvmarg value="-Dwtp.builder.home=${wtp.builder.home}" />
+ <arg value="-data" />
+ <arg value="${basedir}/workspace" />
+ <arg value="-application" />
+ <arg value="org.eclipse.ant.core.antRunner" />
+ <arg value="-buildfile" />
+ <arg value="${ant.file}" />
+ <arg value="publish" />
+ </java>
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do to publish the build results -->
+ <!-- ===================================================================== -->
+ <target name="publish">
+ <dirname
+ file="${ant.file}"
+ property="component.dir" />
+ <ant antfile="${wtp.builder.home}/scripts/build/label.xml" />
+ <property file="${buildDirectory}/label.properties" />
+
+ <property
+ name="publish.xml"
+ value="${component.dir}/publish.xml" />
+
+ <property
+ name="indexFileName"
+ value="index.php" />
+ <property
+ name="result"
+ value="${buildDirectory}/${buildLabel}" />
+ <property
+ name="indexTemplateFilename"
+ value="index.html.template.php" />
+
+ <copy
+ file="${wtp.builder.home}/distribution/wtp.site/templateFiles/${indexTemplateFilename}"
+ tofile="${buildDirectory}/${indexFileName}" />
+
+ <condition
+ property="isBuildTested"
+ value="true">
+ <available
+ file="${buildDirectory}/${buildLabel}/testResults/html" />
+ </condition>
+
+ <ant
+ antfile="${publish.xml}"
+ dir="${component.dir}">
+ <property
+ name="dropTokenList"
+ value="%wtpruntime%,%wtpsdk%,%wtptest%,%wst%,%wst-sdk%,%wst-tests%,%jst-tests%,%wst-perf-tests%,%jst-perf-tests%,%jpt-runtime%,%jpt-sdk%,%jpt-tests%" />
+ <property
+ name="webtoolsDownloadURL"
+ value="http://www.eclipse.org/downloads/download.php?file=/webtools/committers/drops" />
+
+ <property
+ name="buildBranch"
+ value="${buildBranch}" />
+ <property
+ name="isBuildTested"
+ value="${isBuildTested}" />
+ <property
+ name="indexTemplateFilename"
+ value="${indexTemplateFilename}" />
+ </ant>
+
+ <!-- Get the build map over for the results to point to. -->
+ <copy
+ file="${buildDirectory}/directory.txt"
+ tofile="${result}/directory.txt" />
+
+ <!-- Copy info for build identification -->
+ <copy
+ file="${buildDirectory}/buildmachineinfo.properties"
+ tofile="${result}/buildmachineinfo.properties" />
+
+ <!-- final count files -->
+ <countBuildFiles
+ sourceDirectory="${buildDirectory}/${buildLabel}"
+ filterString=".zip,.tar.gz"
+ outputFile="${buildDirectory}/${buildLabel}/files.count" />
+
+ </target>
+
+
+</project>
diff --git a/releng.wtpbuilder/distribution/incubator.site/compilerXMLOutputToHTML.xsl b/releng.wtpbuilder/distribution/incubator.site/compilerXMLOutputToHTML.xsl
new file mode 100644
index 0000000..4f6809e
--- /dev/null
+++ b/releng.wtpbuilder/distribution/incubator.site/compilerXMLOutputToHTML.xsl
@@ -0,0 +1,155 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet
+ version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+ <xsl:output
+ method="html"
+ indent="yes" />
+
+ <xsl:template match="/">
+ <html>
+ <body>
+ <xsl:apply-templates select="compiler" />
+ </body>
+ </html>
+ </xsl:template>
+
+ <xsl:template match="compiler">
+ <h2>Compiler Report</h2>
+ <p>
+ Compiler:
+ <xsl:value-of select="@name" />
+ <xsl:text> </xsl:text>
+ Version:
+ <xsl:value-of select="@version" />
+ </p>
+
+ <xsl:apply-templates select="stats" />
+
+ <xsl:apply-templates select="sources" />
+ </xsl:template>
+
+ <xsl:template
+ name="stats"
+ match="stats">
+
+ <p>
+ Number of source files:
+ <xsl:value-of select="count(..//source)" />
+ Number of classfiles:
+ <xsl:value-of select="number_of_classfiles/@value" />
+ </p>
+ <p>
+ Problems:
+ <xsl:value-of select="problem_summary/@problems" />
+ (Errors:
+ <xsl:value-of select="problem_summary/@errors" />
+ Warnings:
+ <xsl:value-of select="problem_summary/@warnings" />
+ )
+ </p>
+ </xsl:template>
+
+
+ <xsl:template
+ name="sources"
+ match="sources">
+
+ <xsl:if test="count(source) > 0">
+
+ <dl>
+ <xsl:for-each select="source">
+
+ <xsl:variable
+ name="package"
+ select="normalize-space(@package)">
+ </xsl:variable>
+ <xsl:variable
+ name="path"
+ select="normalize-space(@path)">
+ </xsl:variable>
+ <xsl:variable
+ name="classname"
+ select="substring-after($path, $package)">
+ </xsl:variable>
+ <xsl:if test="count(problems) > 0">
+ <dt style="font-weight: bold; color: black">
+ Source File:
+ <xsl:value-of select="$package" />
+ <xsl:value-of select="$classname" />
+ </dt>
+ <xsl:apply-templates select="problems">
+ <xsl:with-param name="classname">
+ <xsl:value-of select="$classname" />
+ </xsl:with-param>
+ </xsl:apply-templates>
+ </xsl:if>
+ </xsl:for-each>
+ </dl>
+
+ </xsl:if>
+
+ </xsl:template>
+
+ <xsl:template match="problems">
+ <xsl:param name="classname" />
+ <xsl:for-each select="problem">
+
+ <dd style="font-weight: normal; color: black">
+ <xsl:value-of select="position()" />
+ <xsl:text>. </xsl:text>
+ <xsl:value-of select="@severity" />
+ <xsl:text>: </xsl:text>
+ <xsl:value-of select="@id" />
+ <xsl:variable
+ name="lineNumber"
+ select="@line">
+ </xsl:variable>
+ <xsl:for-each select="message">
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0;margin-bottom:0;">
+ <small>
+ <xsl:value-of select="@value" />
+ </small>
+ </p>
+ </xsl:for-each>
+ <xsl:for-each select="source_context">
+ <xsl:variable
+ name="pre"
+ select="substring(@value,0,(@sourceStart + 1))">
+ </xsl:variable>
+ <xsl:variable
+ name="main"
+ select="substring(@value,(@sourceStart + 1),(((@sourceEnd + 1) - (@sourceStart + 1)) + 1))">
+ </xsl:variable>
+ <xsl:variable
+ name="end"
+ select="substring(@value,(@sourceEnd + 2))">
+ </xsl:variable>
+
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0;margin-bottom:0;">
+ <xsl:value-of select="substring($classname,2)" />
+ :
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2;font-family: monospace; margin-top: 0;margin-bottom:0;">
+ <xsl:value-of select="$lineNumber" />
+ :
+ <xsl:value-of select="$pre" />
+ <b>
+ <u>
+ <xsl:value-of select="$main" />
+ </u>
+ </b>
+ <xsl:value-of select="$end" />
+ </p>
+ </xsl:for-each>
+ </dd>
+ </xsl:for-each>
+
+
+ </xsl:template>
+
+</xsl:stylesheet>
\ No newline at end of file
diff --git a/releng.wtpbuilder/distribution/incubator.site/example.bin.html b/releng.wtpbuilder/distribution/incubator.site/example.bin.html
new file mode 100644
index 0000000..3f9529e
--- /dev/null
+++ b/releng.wtpbuilder/distribution/incubator.site/example.bin.html
@@ -0,0 +1,2975 @@
+<html>
+<body>
+<h2>Compiler Report</h2>
+<p>Compiler: Eclipse Java Compiler Version: 0.735, 3.3.0 milestone-5</p>
+<p>Number of source files: 16 Number of classfiles: 179</p>
+<p>Problems: 1826 (Errors: 0 Warnings: 1826 )</p>
+<dl>
+ <dt style="font-weight: bold; color: black">Source File:
+ org/eclipse/jst/jsp/css/ui/internal/properties/JSPedCSSPropertySource.java</dt>
+ <dd style="font-weight: normal; color: black">1. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type ICSSNode is not accessible
+ due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.css.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySource.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">17:
+ import <b><u>org.eclipse.wst.css.core.internal.provisional.document.ICSSNode</u></b>;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">2. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type CSSPropertySource is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.css.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySource.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">18:
+ import <b><u>org.eclipse.wst.css.ui.internal.properties.CSSPropertySource</u></b>;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">3. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type CSSPropertySource is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.css.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySource.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">22:
+ public class JSPedCSSPropertySource extends <b><u>CSSPropertySource</u></b>
+ {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">4. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type ICSSNode is not accessible
+ due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.css.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySource.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">24:
+ public JSPedCSSPropertySource(<b><u>ICSSNode</u></b> target) {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">5. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The constructor
+ CSSPropertySource(ICSSNode) is not accessible due to restriction on
+ classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.css.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySource.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">25:
+ <b><u>super(target)</u></b>;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">6. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The method setPropertyValue(Object,
+ Object) from the type CSSPropertySource is not accessible due to
+ restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.css.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySource.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">38:
+ <b><u>super.setPropertyValue(name, value)</u></b>;</p>
+ </dd>
+ <dt style="font-weight: bold; color: black">Source File:
+ org/eclipse/jst/jsp/css/ui/internal/registry/AdapterFactoryProviderJSPedCSS.java</dt>
+ <dd style="font-weight: normal; color: black">1. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type AdapterFactoryProviderCSS
+ is not accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.css.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">AdapterFactoryProviderJSPedCSS.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">14:
+ import <b><u>org.eclipse.wst.css.ui.internal.registry.AdapterFactoryProviderCSS</u></b>;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">2. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type IDocumentTypeHandler is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">AdapterFactoryProviderJSPedCSS.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">15:
+ import <b><u>org.eclipse.wst.sse.core.internal.ltk.modelhandler.IDocumentTypeHandler</u></b>;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">3. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type AdapterFactoryProviderCSS
+ is not accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.css.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">AdapterFactoryProviderJSPedCSS.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">17:
+ public class AdapterFactoryProviderJSPedCSS extends <b><u>AdapterFactoryProviderCSS</u></b>
+ {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">4. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type IDocumentTypeHandler is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">AdapterFactoryProviderJSPedCSS.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">20:
+ public boolean isFor(<b><u>IDocumentTypeHandler</u></b>
+ contentTypeDescription) {</p>
+ </dd>
+ <dt style="font-weight: bold; color: black">Source File:
+ org/eclipse/jst/jsp/css/ui/internal/views/properties/JSPedCSSPropertySheetConfiguration.java</dt>
+ <dd style="font-weight: normal; color: black">1. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type ICSSNode is not accessible
+ due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.css.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">32:
+ import <b><u>org.eclipse.wst.css.core.internal.provisional.document.ICSSNode</u></b>;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">2. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type INodeAdapter is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">33:
+ import <b><u>org.eclipse.wst.sse.core.internal.provisional.INodeAdapter</u></b>;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">3. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type INodeNotifier is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">34:
+ import <b><u>org.eclipse.wst.sse.core.internal.provisional.INodeNotifier</u></b>;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">4. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type XMLUIMessages is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.xml.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">36:
+ import <b><u>org.eclipse.wst.xml.ui.internal.XMLUIMessages</u></b>;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">5. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type INodeAdapter is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">39:
+ private class CSSPropertySheetRefreshAdapter implements <b><u>INodeAdapter</u></b>
+ {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">6. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type INodeNotifier is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">44:
+ public void notifyChanged(<b><u>INodeNotifier</u></b> notifier, int
+ eventType, Object changedFeature, Object oldValue, Object newValue, int
+ pos) {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">7. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type ICSSNode is not accessible
+ due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.css.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">53:
+ private <b><u>ICSSNode</u></b> fSource = null;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">8. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type ICSSNode is not accessible
+ due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.css.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">60:
+ if (object instanceof <b><u>ICSSNode</u></b>) {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">9. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type ICSSNode is not accessible
+ due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.css.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">61:
+ fSource = (<b><u>ICSSNode</u></b>)object;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">10. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type XMLUIMessages is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.xml.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">78:
+ super(<b><u>XMLUIMessages.JFaceNodeAdapter_1</u></b>);</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">11. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The field JFaceNodeAdapter_1 from
+ the type XMLUIMessages is not accessible due to restriction on
+ classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.xml.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">78:
+ super(XMLUIMessages.<b><u>JFaceNodeAdapter_1</u></b>);</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">12. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type INodeAdapter is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">110:
+ private <b><u>INodeAdapter</u></b> fRefreshAdapter = new
+ CSSPropertySheetRefreshAdapter();</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">13. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type INodeNotifier is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">112:
+ private <b><u>INodeNotifier[]</u></b> fSelectedNotifiers;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">14. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The method
+ removeAdapter(INodeAdapter) from the type INodeNotifier is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">126:
+ <b><u>fSelectedNotifiers[i].removeAdapter(fRefreshAdapter)</u></b>;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">15. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type ICSSNode is not accessible
+ due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.css.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">136:
+ if (selectedObjects[i] instanceof <b><u>ICSSNode</u></b>) {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">16. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type ICSSNode is not accessible
+ due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.css.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">137:
+ <b><u>ICSSNode</u></b> node = (ICSSNode) selectedObjects[i];</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">17. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type ICSSNode is not accessible
+ due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.css.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">137:
+ ICSSNode node = (<b><u>ICSSNode</u></b>) selectedObjects[i];</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">18. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The method getNodeType() from the
+ type ICSSNode is not accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.css.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">138:
+ while (<b><u>node.getNodeType()</u></b> == ICSSNode.PRIMITIVEVALUE_NODE
+ || node.getNodeType() == ICSSNode.STYLEDECLITEM_NODE) {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">19. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type ICSSNode is not accessible
+ due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.css.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">138:
+ while (node.getNodeType() == <b><u>ICSSNode.PRIMITIVEVALUE_NODE</u></b>
+ || node.getNodeType() == ICSSNode.STYLEDECLITEM_NODE) {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">20. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The field PRIMITIVEVALUE_NODE from
+ the type ICSSNode is not accessible due to restriction on classpath
+ entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.css.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">138:
+ while (node.getNodeType() == ICSSNode.<b><u>PRIMITIVEVALUE_NODE</u></b>
+ || node.getNodeType() == ICSSNode.STYLEDECLITEM_NODE) {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">21. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The method getNodeType() from the
+ type ICSSNode is not accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.css.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">138:
+ while (node.getNodeType() == ICSSNode.PRIMITIVEVALUE_NODE || <b><u>node.getNodeType()</u></b>
+ == ICSSNode.STYLEDECLITEM_NODE) {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">22. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type ICSSNode is not accessible
+ due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.css.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">138:
+ while (node.getNodeType() == ICSSNode.PRIMITIVEVALUE_NODE ||
+ node.getNodeType() == <b><u>ICSSNode.STYLEDECLITEM_NODE</u></b>) {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">23. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The field STYLEDECLITEM_NODE from
+ the type ICSSNode is not accessible due to restriction on classpath
+ entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.css.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">138:
+ while (node.getNodeType() == ICSSNode.PRIMITIVEVALUE_NODE ||
+ node.getNodeType() == ICSSNode.<b><u>STYLEDECLITEM_NODE</u></b>) {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">24. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The method getParentNode() from the
+ type ICSSNode is not accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.css.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">139:
+ node = <b><u>node.getParentNode()</u></b>;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">25. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type INodeNotifier is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">152:
+ if (selectedObjects[i] instanceof <b><u>INodeNotifier</u></b>) {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">26. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The method addAdapter(INodeAdapter)
+ from the type INodeNotifier is not accessible due to restriction on
+ classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">154:
+ <b><u>((INodeNotifier)
+ selectedObjects[i]).addAdapter(fRefreshAdapter)</u></b>;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">27. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type INodeNotifier is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">154:
+ ((<b><u>INodeNotifier</u></b>)
+ selectedObjects[i]).addAdapter(fRefreshAdapter);</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">28. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type INodeNotifier is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">157:
+ fSelectedNotifiers = (<b><u>INodeNotifier[]</u></b>)
+ selectedNotifiers.toArray(new INodeNotifier[selectedNotifiers.size()]);</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">29. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type INodeNotifier is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">157:
+ fSelectedNotifiers = (INodeNotifier[]) selectedNotifiers.toArray(new <b><u>INodeNotifier</u></b>[selectedNotifiers.size()]);</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">30. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The method
+ removeAdapter(INodeAdapter) from the type INodeNotifier is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">JSPedCSSPropertySheetConfiguration.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">183:
+ <b><u>fSelectedNotifiers[i].removeAdapter(fRefreshAdapter)</u></b>;</p>
+ </dd>
+ <dt style="font-weight: bold; color: black">Source File:
+ org/eclipse/jst/jsp/ui/StructuredTextViewerConfigurationJSP.java</dt>
+ <dd style="font-weight: normal; color: black">1. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type HTMLFormatProcessorImpl is
+ not accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.html.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">53:
+ import <b><u>org.eclipse.wst.html.core.internal.format.HTMLFormatProcessorImpl</u></b>;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">2. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type ContentTypeIdForHTML is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.html.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">54:
+ import <b><u>org.eclipse.wst.html.core.internal.provisional.contenttype.ContentTypeIdForHTML</u></b>;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">3. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type SSEUIPlugin is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">59:
+ import <b><u>org.eclipse.wst.sse.ui.internal.SSEUIPlugin</u></b>;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">4. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type
+ StructuredFormattingStrategy is not accessible due to restriction on
+ classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">60:
+ import <b><u>org.eclipse.wst.sse.ui.internal.format.StructuredFormattingStrategy</u></b>;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">5. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type LineStyleProvider is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">61:
+ import <b><u>org.eclipse.wst.sse.ui.internal.provisional.style.LineStyleProvider</u></b>;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">6. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type TextHoverManager is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">62:
+ import <b><u>org.eclipse.wst.sse.ui.internal.taginfo.TextHoverManager</u></b>;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">7. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type EditorUtility is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">63:
+ import <b><u>org.eclipse.wst.sse.ui.internal.util.EditorUtility</u></b>;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">8. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type ContentTypeIdForXML is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.xml.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">64:
+ import <b><u>org.eclipse.wst.xml.core.internal.provisional.contenttype.ContentTypeIdForXML</u></b>;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">9. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type JFaceNodeLabelProvider is
+ not accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.xml.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">67:
+ import <b><u>org.eclipse.wst.xml.ui.internal.contentoutline.JFaceNodeLabelProvider</u></b>;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">10. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type LineStyleProvider is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">89:
+ private <b><u>LineStyleProvider</u></b> fLineStyleProviderForJava;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">11. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type LineStyleProvider is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">93:
+ private <b><u>LineStyleProvider</u></b> fLineStyleProviderForJSP;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">12. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type LineStyleProvider is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">97:
+ private <b><u>LineStyleProvider</u></b> fLineStyleProviderForJSPEL;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">13. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The constructor
+ StructuredFormattingStrategy(IStructuredFormatProcessor) is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">236:
+ formatter.setMasterStrategy(<b><u>new
+ StructuredFormattingStrategy(new HTMLFormatProcessorImpl())</u></b>);</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">14. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type
+ StructuredFormattingStrategy is not accessible due to restriction on
+ classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">236:
+ formatter.setMasterStrategy(new <b><u>StructuredFormattingStrategy</u></b>(new
+ HTMLFormatProcessorImpl()));</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">15. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The constructor
+ HTMLFormatProcessorImpl() is not accessible due to restriction on
+ classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.html.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">236:
+ formatter.setMasterStrategy(new StructuredFormattingStrategy(<b><u>new
+ HTMLFormatProcessorImpl()</u></b>));</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">16. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type HTMLFormatProcessorImpl is
+ not accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.html.core/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">236:
+ formatter.setMasterStrategy(new StructuredFormattingStrategy(new <b><u>HTMLFormatProcessorImpl</u></b>()));</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">17. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type LineStyleProvider is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">321:
+ public <b><u>LineStyleProvider[]</u></b>
+ getLineStyleProviders(ISourceViewer sourceViewer, String partitionType)
+ {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">18. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type LineStyleProvider is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">322:
+ <b><u>LineStyleProvider[]</u></b> providers = null;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">19. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type LineStyleProvider is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">337:
+ providers = new <b><u>LineStyleProvider</u></b>[]{getLineStyleProviderForJava()};</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">20. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type LineStyleProvider is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">340:
+ providers = new <b><u>LineStyleProvider</u></b>[]{getLineStyleProviderForJSPEL()};</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">21. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type LineStyleProvider is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">343:
+ providers = new <b><u>LineStyleProvider</u></b>[]{getLineStyleProviderForJSP()};</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">22. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type LineStyleProvider is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">349:
+ private <b><u>LineStyleProvider</u></b> getLineStyleProviderForJava() {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">23. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type LineStyleProvider is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">356:
+ private <b><u>LineStyleProvider</u></b> getLineStyleProviderForJSP() {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">24. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type LineStyleProvider is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">363:
+ private <b><u>LineStyleProvider</u></b> getLineStyleProviderForJSPEL()
+ {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">25. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type JFaceNodeLabelProvider is
+ not accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.xml.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">372:
+ fStatusLineLabelProvider = new <b><u>JFaceNodeLabelProvider</u></b>() {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">26. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The method getText(Object) from the
+ type JFaceNodeLabelProvider is not accessible due to restriction on
+ classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.xml.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">382:
+ s.insert(0, <b><u>super.getText(node)</u></b>);</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">27. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type TextHoverManager is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">408:
+ <b><u>TextHoverManager</u></b> manager =
+ SSEUIPlugin.getDefault().getTextHoverManager();</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">28. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type SSEUIPlugin is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">408:
+ TextHoverManager manager = <b><u>SSEUIPlugin</u></b>.getDefault().getTextHoverManager();</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">29. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The method getDefault() from the
+ type SSEUIPlugin is not accessible due to restriction on classpath
+ entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">408:
+ TextHoverManager manager = <b><u>SSEUIPlugin.getDefault()</u></b>.getTextHoverManager();</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">30. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The method getTextHoverManager()
+ from the type SSEUIPlugin is not accessible due to restriction on
+ classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">408:
+ TextHoverManager manager = <b><u>SSEUIPlugin.getDefault().getTextHoverManager()</u></b>;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">31. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type TextHoverManager is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">409:
+ <b><u>TextHoverManager.TextHoverDescriptor[]</u></b> hoverDescs =
+ manager.getTextHovers();</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">32. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type
+ TextHoverManager.TextHoverDescriptor is not accessible due to
+ restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">409:
+ <b><u>TextHoverManager.TextHoverDescriptor[]</u></b> hoverDescs =
+ manager.getTextHovers();</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">33. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The method getTextHovers() from the
+ type TextHoverManager is not accessible due to restriction on classpath
+ entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">409:
+ TextHoverManager.TextHoverDescriptor[] hoverDescs = <b><u>manager.getTextHovers()</u></b>;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">34. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The method isEnabled() from the type
+ TextHoverManager.TextHoverDescriptor is not accessible due to
+ restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">412:
+ if (<b><u>hoverDescs[i].isEnabled()</u></b> &&
+ EditorUtility.computeStateMask(hoverDescs[i].getModifierString()) ==
+ stateMask) {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">35. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type EditorUtility is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">412:
+ if (hoverDescs[i].isEnabled() && <b><u>EditorUtility</u></b>.computeStateMask(hoverDescs[i].getModifierString())
+ == stateMask) {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">36. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The method computeStateMask(String)
+ from the type EditorUtility is not accessible due to restriction on
+ classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">412:
+ if (hoverDescs[i].isEnabled() && <b><u>EditorUtility.computeStateMask(hoverDescs[i].getModifierString())</u></b>
+ == stateMask) {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">37. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The method getModifierString() from
+ the type TextHoverManager.TextHoverDescriptor is not accessible due to
+ restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">412:
+ if (hoverDescs[i].isEnabled() &&
+ EditorUtility.computeStateMask(<b><u>hoverDescs[i].getModifierString()</u></b>)
+ == stateMask) {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">38. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The method getId() from the type
+ TextHoverManager.TextHoverDescriptor is not accessible due to
+ restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">413:
+ String hoverType = <b><u>hoverDescs[i].getId()</u></b>;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">39. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type TextHoverManager is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">414:
+ if (<b><u>TextHoverManager.COMBINATION_HOVER</u></b>.equalsIgnoreCase(hoverType))
+ {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">40. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The field COMBINATION_HOVER from the
+ type TextHoverManager is not accessible due to restriction on classpath
+ entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">414:
+ if (TextHoverManager.<b><u>COMBINATION_HOVER</u></b>.equalsIgnoreCase(hoverType))
+ {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">41. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The method
+ createBestMatchHover(ITextHover) from the type TextHoverManager is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">417:
+ hover = <b><u>manager.createBestMatchHover(new
+ JSPTagInfoHoverProcessor())</u></b>;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">42. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The method
+ createBestMatchHover(ITextHover) from the type TextHoverManager is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">421:
+ hover = <b><u>manager.createBestMatchHover(new
+ JSPJavaJavadocHoverProcessor())</u></b>;</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">43. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The type TextHoverManager is not
+ accessible due to restriction on classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">424:
+ else if (<b><u>TextHoverManager.DOCUMENTATION_HOVER</u></b>.equalsIgnoreCase(hoverType))
+ {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">44. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">
+ <small>Discouraged access: The field DOCUMENTATION_HOVER from
+ the type TextHoverManager is not accessible due to restriction on
+ classpath entry
+ /home/shared/webtools/build-wtp-R2.0-S/workdir/plugins/org.eclipse.wst.sse.ui/@dot</small>
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; margin-top: 0; margin-bottom: 0;">StructuredTextViewerConfigurationJSP.java:
+ </p>
+ <p
+ style="margin-left: +.5in; font-size: -2; font-family: monospace; margin-top: 0; margin-bottom: 0;">424:
+ else if (TextHoverManager.<b><u>DOCUMENTATION_HOVER</u></b>.equalsIgnoreCase(hoverType))
+ {</p>
+ </dd>
+ <dd style="font-weight: normal; color: black">45. WARNING:
+ DiscouragedReference
+ <p
+ style="margin-left: +.5in; font-size: -1; margin-top: 0; margin-bottom: 0;">