--- /dev/null
+<project name="allElements delegation and assemble customTargets.xml">\r
+<!-- FILE WILL BE OVERWRITTEN WHEN GENERATED -->\r
+ <target name="allElementsExceptSvnFetch" unless="is.svn.fetch">\r
+ <antcall target="norcpbuild"/>\r
+ <antcall target="rcpbuild"/>\r
+ </target>\r
+ \r
+ <target name="norcpbuild" unless="build.container.feature">\r
+ <ant antfile="${genericTargets}" target="${target}">\r
+ <property name="type" value="feature" />\r
+ <property name="id" value="net.sourceforge.phpeclipse.feature" />\r
+ </ant>\r
+ <ant antfile="${genericTargets}" target="${target}">\r
+ <property name="type" value="feature" />\r
+ <property name="id" value="net.sourceforge.phpeclipse.debug.feature" />\r
+ </ant>\r
+ <ant antfile="${genericTargets}" target="${target}">\r
+ <property name="type" value="feature" />\r
+ <property name="id" value="net.sourceforge.phpeclipse.xdebug.feature" />\r
+ </ant>\r
+ \r
+ </target>\r
+\r
+ <target name="rcpbuild" if="build.container.feature">\r
+ <ant antfile="${genericTargets}" target="${target}">\r
+ <property name="type" value="feature" />\r
+ <property name="id" value="org.eclipse.pde.build.container.feature" />\r
+ </ant>\r
+ </target>\r
+ \r
+ <!-- generated assemble targets --> \r
+ <target name="assemble.net.sourceforge.phpeclipse.feature">\r
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">\r
+ <property name="zipargs" value="" />\r
+ </ant>\r
+ </target>\r
+ <target name="assemble.net.sourceforge.phpeclipse.debug.feature">\r
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">\r
+ <property name="zipargs" value="" />\r
+ </ant>\r
+ </target>\r
+ <target name="assemble.net.sourceforge.phpeclipse.xdebug.feature">\r
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">\r
+ <property name="zipargs" value="" />\r
+ </ant>\r
+ </target>\r
+\r
+ \r
+ <!-- assmble targets for RCP build --> \r
+ <target name="assemble.org.eclipse.pde.build.container.feature.win32.win32.x86">\r
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> \r
+ <property name="archiveName" value="${archiveNamePrefix}-win32.win32.x86.zip"/>\r
+ </ant>\r
+ </target>\r
+ <target name="assemble.org.eclipse.pde.build.container.feature.linux.gtk.x86">\r
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> \r
+ <property name="archiveName" value="${archiveNamePrefix}-linux.gtk.x86.zip"/>\r
+ </ant>\r
+ </target>\r
+ <target name="assemble.org.eclipse.pde.build.container.feature.linux.gtk.ppc">\r
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> \r
+ <property name="archiveName" value="${archiveNamePrefix}-linux.gtk.ppc.zip"/>\r
+ </ant>\r
+ </target>\r
+ <target name="assemble.org.eclipse.pde.build.container.feature.linux.gtk.x86_64">\r
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> \r
+ <property name="archiveName" value="${archiveNamePrefix}-linux.gtk.x86_64.zip"/>\r
+ </ant>\r
+ </target>\r
+ <target name="assemble.org.eclipse.pde.build.container.feature.linux.motif.x86">\r
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> \r
+ <property name="archiveName" value="${archiveNamePrefix}-linux.motif.x86.zip"/>\r
+ </ant>\r
+ </target>\r
+ <target name="assemble.org.eclipse.pde.build.container.feature.solaris.motif.sparc">\r
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> \r
+ <property name="archiveName" value="${archiveNamePrefix}-solaris.motif.sparc.zip"/>\r
+ </ant>\r
+ </target>\r
+ <target name="assemble.org.eclipse.pde.build.container.feature.solaris.gtk.sparc">\r
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> \r
+ <property name="archiveName" value="${archiveNamePrefix}-solaris.gtk.sparc.zip"/>\r
+ </ant>\r
+ </target>\r
+ <target name="assemble.org.eclipse.pde.build.container.feature.aix.motif.ppc">\r
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> \r
+ <property name="archiveName" value="${archiveNamePrefix}-aix.motif.ppc.zip"/>\r
+ </ant>\r
+ </target>\r
+ <target name="assemble.org.eclipse.pde.build.container.feature.hpux.motif.PA_RISC">\r
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> \r
+ <property name="archiveName" value="${archiveNamePrefix}-hpux.motif.PA_RISC.zip"/>\r
+ </ant>\r
+ </target>\r
+ <target name="assemble.org.eclipse.pde.build.container.feature.macosx.carbon.ppc">\r
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}"> \r
+ <property name="archiveName" value="${archiveNamePrefix}-macosx.carbon.ppc.zip"/>\r
+ </ant>\r
+ </target>\r
+ \r
+</project>
\ No newline at end of file
--- /dev/null
+/*
+ * The Apache Software License, Version 1.1
+ *
+ * Copyright (c) 2001-2003 Ant-Contrib project. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if
+ * any, must include the following acknowlegement:
+ * "This product includes software developed by the
+ * Ant-Contrib project (http://sourceforge.net/projects/ant-contrib)."
+ * Alternately, this acknowlegement may appear in the software itself,
+ * if and wherever such third-party acknowlegements normally appear.
+ *
+ * 4. The name Ant-Contrib must not be used to endorse or promote products
+ * derived from this software without prior written permission. For
+ * written permission, please contact
+ * ant-contrib-developers@lists.sourceforge.net.
+ *
+ * 5. Products derived from this software may not be called "Ant-Contrib"
+ * nor may "Ant-Contrib" appear in their names without prior written
+ * permission of the Ant-Contrib project.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE ANT-CONTRIB PROJECT OR ITS
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ */
--- /dev/null
+#\r
+# BEGIN default properties for executing run-tests.xml standalone\r
+# (these properties are already set if run-tests.xml is called\r
+# from the postBuild target in custumTargets.xml) \r
+#\r
+\r
+buildType=N\r
+# archivePrefix is used to determine to which location the build result must be \r
+# extracted:\r
+# if ${archivePrefix} == eclipse the folder will be ${test.eclipse.base} \r
+# ${test.eclipse.host} otherwise. \r
+# Note: The latter makes only sense if archive Prefix is set to ".". If it has\r
+# another value the eclipse host won't be created successfully. \r
+archivePrefix=.\r
+\r
+# test.eclipse.zip must be a zip file for windows and tar file for linux\r
+test.eclipse.zip=C:/downloads/eclipse-SDK-3.2.1-win32.zip\r
+autotestsuite.trace=true\r
+autotestsuite.plugin.inclusions=.*test$\r
+autotestsuite.plugin.exclusions=\r
+autotestsuite.class.inclusions=.*\r
+autotestsuite.class.exclusions=.*\\.All.*;.*ServerCommunication.*\r
+\r
+#\r
+# END default properties for executing run-tests.xml standalone\r
+#\r
+\r
+# test.eclipse.host points to a directory where an Eclipse installation for the\r
+# tests will be built. Therefore ${test.eclipse.zip} will be extracted first and\r
+# then there will be additional plug-ins be "installed", which means they will\r
+# be extracted. The implication of this kind of installation is that the test \r
+# Eclipse host must be called with the clean parameter later\r
+# It is expected that test.eclipse.host contains a subfolder eclipse.\r
+# The plug-ins which will be installed are the plug-ins located in\r
+# ${buildResultsDir} plus the eclipse test framework plus the autotestsuite.\r
+test.eclipse.base=${buildDirectory}/automatedTests\r
+\r
+test.eclipse.host=${test.eclipse.base}/eclipse\r
+\r
+# Denotes the ant script where the target ui-test is defined \r
+test.library.xml=${test.eclipse.host}/plugins/org.eclipse.test_3.1.0/library.xml\r
+\r
+# Directory where the reports are collected\r
+test.result.dir=${test.eclipse.host}/test-reports\r
+\r
+# Specifies the overall report in ${test.result.dir}/xml\r
+test.aggregated.report=testReport_${buildLabel}.xml\r
+\r
+# Workspace for the tests. Particularly useful is ${test.workspace}/.metadata/.log \r
+test.workspace=${test.eclipse.host}/workspace\r
+\r
--- /dev/null
+<project name="Run automated Tests" default="run" basedir=".">\r
+ <taskdef resource="org/pluginbuilder/anttasks/pluginbuildertasks.properties" classpath="../pluginbuilder-anttasks.jar" />\r
+\r
+ <property file="../../build_local.properties" />\r
+ <property file="run-tests.properties" />\r
+\r
+ <import file="../build_shared.xml" />\r
+\r
+ <target name="-init">\r
+ <antcall target="-purgeTestEclipseHost" />\r
+ <property name="eclipse.installation.dir" value="${test.eclipse.base}/eclipse" />\r
+ <property name="eclipse.local.tar.non.server" value="${test.eclipse.zip}" />\r
+ <antcall target="-installTestEclipseHost" />\r
+ </target>\r
+\r
+ <target name="-purgeTestEclipseHost">\r
+ <delete dir="${test.eclipse.base}" failOnError="false" />\r
+ </target>\r
+\r
+ <target name="-installTestEclipseHost" description="Install Eclipse and all required plug-ins for testing" unless="isEclipseInstallationAvailable">\r
+ <echo message="Installing plug-ins for testing" />\r
+ \r
+ <unzip dest="${test.eclipse.base}">\r
+ <fileset dir="." includes="eclipse-test-framework*.zip" />\r
+ </unzip>\r
+ <unzip dest="${test.eclipse.host}">\r
+ <fileset dir="." includes="org.pluginbuilder.autotestsuite*.zip" />\r
+ </unzip>\r
+ <condition property="buildResultZipDest" value="${test.eclipse.base}" else="${test.eclipse.host}">\r
+ <equals arg1="${archivePrefix}" arg2="eclipse" />\r
+ </condition>\r
+ <unzip dest="${buildResultZipDest}">\r
+ <fileset dir="${buildDirectory}" includes="${buildType}-**/*.zip" excludes="**/${archiveNamePrefix}-*"/>\r
+ </unzip>\r
+ <!-- unpack eclipse after the features because there might be product features extracted which contain a config.ini -->\r
+ <antcall target="unpack.eclipse">\r
+ <param name="unpack.eclipse" value="true"/>\r
+ </antcall>\r
+ </target>\r
+\r
+\r
+ <!-- Example target which demonstrates how to run a test suite with the Eclipse test fwk.\r
+ Note that it is not needed if you use the autotestsuite\r
+ \r
+ <target name="-runTestSuite" description="Should be called from allTests.xml only">\r
+ <ant target="ui-test" antfile="${test.library.xml}" dir="${test.eclipse.host}">\r
+ <comment use -clean because plug-ins have been unzipped into the eclipse folder comment>\r
+ <property name="data-dir" value="${test.workspace} -clean" />\r
+ <property name="plugin-name" value="<your plugin id>" />\r
+ <property name="classname" value="<the class which defines the suite>" />\r
+ <property name="eclipse-home" value="${test.eclipse.host}" />\r
+ </ant>\r
+ </target>\r
+ \r
+ <target name="run" depends="-init,-runTestSuite" description="Run manually defined tests and create a report.">\r
+ <delete dir="${test.result.dir}" />\r
+ <mkdir dir="${test.result.dir}/xml" />\r
+ <comment collect creates an aggregated report file in ${test.eclipse.host} comment>\r
+ <ant target="collect" antfile="${test.library.xml}" dir="${test.eclipse.host}">\r
+ <property name="includes" value="*.xml" />\r
+ <property name="output-file" value="${test.aggregated.report}" />\r
+ </ant>\r
+ <copy file="${test.eclipse.host}/${test.aggregated.report}" todir="${test.result.dir}/xml" />\r
+ <style style="${basedir}/JUNIT.XSL" basedir="${test.result.dir}/xml" destdir="${test.result.dir}/html" />\r
+\r
+ </target>\r
+ -->\r
+ \r
+ <target name="run" depends="-init,-runAutoTests" description="Run all tests using the autotestsuite and create xml and html reports.">\r
+\r
+ <junitreport todir="${test.result.dir}/xml" tofile="${test.aggregated.report}">\r
+ <fileset dir="${test.result.dir}/xml">\r
+ <include name="*.xml" />\r
+ </fileset>\r
+ </junitreport>\r
+\r
+ <BundleFileLocator eclipseInstallationRoot="${test.eclipse.host}" bundleId="org.pluginbuilder.autotestsuite.application" filePath="JUNIT.XSL" property="junit.xsl.file" />\r
+\r
+ <style style="${junit.xsl.file}" basedir="${test.result.dir}/xml" includes="${test.aggregated.report}" destdir="${test.result.dir}/html" />\r
+ </target>\r
+\r
+ <target name="-runAutoTests">\r
+ <mkdir dir="${test.result.dir}/xml"/>\r
+ <java fork="true" dir="." logError="true" classname="org.eclipse.core.launcher.Main">\r
+ <classpath>\r
+ <fileset dir="${test.eclipse.host}/plugins">\r
+ <include name="org.eclipse.equinox.launcher_*.jar" />\r
+ </fileset>\r
+ </classpath>\r
+ <arg line="-application org.pluginbuilder.autotestsuite.application.autotestapplication" />\r
+ <arg line="-data ${test.workspace}" />\r
+ <arg line="-os ${os}" />\r
+ <arg line="-ws ${ws}" />\r
+ <arg line="-arch ${arch}" />\r
+ <arg line="-consolelog" />\r
+\r
+ <sysproperty key="autotestsuite.results.directory" value="${test.result.dir}/xml" />\r
+ <sysproperty key="autotest.debug" value="${autotestsuite.trace}" />\r
+ <sysproperty key="autotestsuite.plugin.inclusions" value="${autotestsuite.plugin.inclusions}" />\r
+ <sysproperty key="autotestsuite.plugin.exclusions" value="${autotestsuite.plugin.exclusions}|^org.eclipse.test$" />\r
+ <sysproperty key="autotestsuite.class.inclusions" value="${autotestsuite.class.inclusions}" />\r
+ <sysproperty key="autotestsuite.class.exclusions" value="${autotestsuite.class.exclusions}" />\r
+\r
+ </java>\r
+ </target>\r
+\r
+</project>\r
--- /dev/null
+###############################################################################
+# 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 ################
+# The CVS tag to use when fetching the map files from the repository
+
+mapVersionTag=HEAD
+
+# The CVS tag to use when fetching elements to build. By default the
+# builder will use whatever is in the maps. Use this value to override
+# for example, when doing a nightly build out of HEAD
+
+fetchTag=HEAD
+############## BUILD / GENERATION CONTROL ################
+# The directory into which the build elements will be fetched and where
+# the build will take place.
+# Do not enter relative paths, because otherwise the directory.txt file
+# won't be found
+# If relative , the directory would be relative to the $builder directory
+#buildDirectory=D:\\Temp\\buildresult3
+
+# Type of build. Used in naming the build output. Typically this value is
+# one of I, N, M, S, ...
+# If you change this, please also see the featureVersion and baseFeatureVersion properties below
+buildType=N
+
+# ID of the build. Used in naming the build output. (the zip file)
+# buildId is set in customTargets.xml in order to consider a dynamic featureVersion for nightlyBuild
+#buildId=${featureVersion}
+
+# Label for the build. Used in naming the build output (the directory)
+# buildLabel is set in customTargets.xml in order to consider a dynamic featureVersion for nightlyBuild
+#buildLabel=${featureVersion}
+
+# Timestamp for the build. Used in naming the build output
+#timestamp=007
+
+# Base location for anything the build needs to compile against. For example,
+# when building GEF, the baseLocation should be the location of a previously
+# installed Eclipse against which the GEF code will be compiled.
+#baseLocation=D:\\eclipse-3.0
+
+#Os/Ws/Arch/nl of the eclipse specified by baseLocation
+#baseos
+#basews
+#basearch
+#basenl
+
+# The location underwhich all of the build output will be collected.
+# 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=.
+
+# 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=.
+
+# The list of {os, ws, arch} configurations to build. This
+# value is a '&' separated list of ',' separate triples. For example,
+# configs=win32,win32,x86 & linux,motif,x86
+# By default the value is *,*,*
+#configs=*,*,*
+
+#Arguments to send to the zip executable
+# Doesn't work
+#zipArgs=-z "RDT: extract into eclipse-installation directory"
+
+############# JAVA COMPILER OPTIONS ##############
+# The location of the Java jars to compile against. Typically the rt.jar for your JDK/JRE
+#bootclasspath=d:/ibm1.3.1/jre/lib/rt.jar
+#bootclasspath=D:\\java\\j2sdk1.4.2_05\\jre\\lib\\rt.jar
+
+# 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=true
+
+# The version of the source code
+javacSource=1.5
+
+# The version of the byte code targeted
+javacTarget=1.5
+
+#collPlace=eclipse
+#collBase=.
+#collectingFolder=eclipse
+#archivePrefix=eclipse
+# A List of configurations separated by ampersand.
+# A configuration consists of the tripel os, ws and arch separated by commma,
+# e.g. linux,motif,x86
+# @category rcp
+configs=win32,win32,x86 & linux,gtk,x86
+
+# The name of the product definition file which must reside in the root folder this pluginbuilder project
+# and have the file suffix 'product'
+# @category rcp
+product=rcp.product
+
+# Prefix for the created archive file name
+# @category rcp
+archiveNamePrefix=rcp
+
+# Actually it seems as if this should always be set to true
+runPackager=true
--- /dev/null
+<project name="Shared build targets">\r
+ <!-- the following properties must be set from the calling script \r
+ <property name="eclipse.installation.dir" value="${buildDirectory}"/>\r
+ <property name="eclipse.local.tar.non.server" value="${test.eclipse.host}"/>\r
+ eclipse.download.cache,pluginbuilder.eclipse.url\r
+ optional:\r
+ <property name="pluginbuilder.additional.feature.urls" value="featureurl1,featureurl2"/>\r
+ -->\r
+ \r
+ <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpath="${buildHome}/build-files/ant-contrib.jar" />\r
+ \r
+ <target name="unpack.eclipse">\r
+ <condition property="unpack.eclipse">\r
+ <not>\r
+ <available type="dir" file="${eclipse.installation.dir}"/>\r
+ </not>\r
+ </condition>\r
+ <antcall target="-unpack.eclipse.ifnecessary"/>\r
+ </target> \r
+ \r
+ <!-- call either with or feature.url or pluginbuilder.eclipse.url\r
+ sets property archive.location to the archive path in download cache.\r
+ -->\r
+ <target name="-set.archive.location" if="pluginbuilder.is.server">\r
+ <condition property="archive.url" value="${feature.url}" else="${pluginbuilder.eclipse.url}">\r
+ <isset property="feature.url"/>\r
+ </condition>\r
+ <mkdir dir="${eclipse.download.cache}"/>\r
+ <tempfile destdir="${eclipse.download.cache}" property="tmp.file" suffix=".txt" prefix="downloadurl"/> \r
+ <echo file="${tmp.file}" message="${archive.url}"/>\r
+ <checksum file="${tmp.file}" property="pluginbuilder.eclipse.url.checksum"/>\r
+ <delete file="${tmp.file}"/>\r
+ <property name="archive.location" value="${eclipse.download.cache}/${pluginbuilder.eclipse.url.checksum}"/>\r
+ <!-- <echo message="${archive.location} is archive location for ${archive.url}"/> -->\r
+ </target>\r
+ \r
+ <target name="-set.eclipse.local.tar.server" if="pluginbuilder.is.server" depends="-set.archive.location">\r
+ <property name="eclipse.local.tar" value="${archive.location}"/>\r
+ </target>\r
+ \r
+ <target name="-set.eclipse.local.tar.non.server" unless="pluginbuilder.is.server">\r
+ <property name="eclipse.local.tar" value="${eclipse.local.tar.non.server}"/>\r
+ </target>\r
+ \r
+ <target name="-get.archive.ifnecessary" unless="eclipse.is.downloaded">\r
+ <condition property="archive.url" value="${feature.url}" else="${pluginbuilder.eclipse.url}">\r
+ <isset property="feature.url"/>\r
+ </condition>\r
+ <get src="${archive.url}" dest="${archive.location}" /> \r
+ </target>\r
+ \r
+ <target name="-get.archive" depends="-set.archive.location" if="pluginbuilder.is.server">\r
+ <condition property="eclipse.is.downloaded">\r
+ <available file="${archive.location}" property="${eclipse.is.downloaded}"/>\r
+ </condition> \r
+ <antcall target="-get.archive.ifnecessary"/> \r
+ </target>\r
+ \r
+ <target name="-get.features" if="pluginbuilder.is.server" >\r
+ <property name="pluginbuilder.feature.urls" value=""/>\r
+ <foreach list="${pluginbuilder.feature.urls}" param="feature.url" delimiter="," target="-get.archive" inheritall="true"/>\r
+ </target>\r
+ \r
+ <target name="-unpack.features" if="pluginbuilder.is.server">\r
+ <property name="pluginbuilder.feature.urls" value=""/>\r
+ <foreach list="${pluginbuilder.feature.urls}" param="feature.url" delimiter="," target="-unpack.feature" inheritall="true"/>\r
+ </target>\r
+ \r
+ <target name="-unpack.feature" depends="-set.archive.location">\r
+ <property name="tempunziplocation" value="${buildDirectory}/tmpunzip"/>\r
+ <delete dir="${tempunziplocation}" failonerror="false"/>\r
+ <mkdir dir="${tempunziplocation}"/>\r
+ <unzip src="${archive.location}" overwrite="true" dest="${tempunziplocation}"/>\r
+ <condition property="moveroot" value="${tempunziplocation}/eclipse" else="${tempunziplocation}">\r
+ <available file="${tempunziplocation}/eclipse" type="dir"/>\r
+ </condition>\r
+ <move todir="${eclipse.installation.dir}" includeemptydirs="true">\r
+ <fileset dir="${moveroot}" includes="**"/>\r
+ </move>\r
+ </target>\r
+ \r
+ <target name="-unpack.eclipse.ifnecessary" if="unpack.eclipse">\r
+ <antcall target="-get.archive"/>\r
+ <condition property="is.windows">\r
+ <os family="windows"/>\r
+ </condition>\r
+ <antcall target="-unpack.eclipse.windows"/>\r
+ <antcall target="-unpack.eclipse.linux"/>\r
+ <antcall target="-get.features"/>\r
+ <antcall target="-unpack.features"/>\r
+ </target>\r
+ \r
+ <target name="-unpack.eclipse.windows" if="is.windows" depends="-set.eclipse.local.tar.server,-set.eclipse.local.tar.non.server">\r
+ <unzip src="${eclipse.local.tar}" overwrite="true" dest="${eclipse.installation.dir}/.."/> \r
+ </target>\r
+ \r
+ <target name="-unpack.eclipse.linux" unless="is.windows" depends="-set.eclipse.local.tar.server,-set.eclipse.local.tar.non.server">\r
+ <untar src="${eclipse.local.tar}" overwrite="true" dest="${eclipse.installation.dir}/.." compression="gzip"/> \r
+ </target>\r
+ \r
+ <target name="test">\r
+ <property name="buildDirectory" value="C:/Temp/tst"/>\r
+ <mkdir dir="${buildDirectory}"/>\r
+ <property name="eclipse.download.cache" value="C:/Temp/downloadcache"/>\r
+ <property name="pluginbuilder.is.server" value="true"/>\r
+ <property name="pluginbuilder.eclipse.url" value="http://mirror.yoxos-eclipse-distribution.de/eclipse.org/eclipse/downloads/drops/R-3.2.2-200702121330/eclipse-PDE-3.2.2.zip"/>\r
+ \r
+ <property name="eclipse.installation.dir" value="C:/Temp/eclipse_root/eclipse"/>\r
+ <delete dir="${eclipse.installation.dir}" failonerror="false"/>\r
+ <property name="pluginbuilder.feature.urls" value="http://self.pluginbuilder.org/0.2.0/org.pluginbuilder.feature-0.2.0.20070218PRD.zip,http://mirror.yoxos-eclipse-distribution.de/eclipse.org/eclipse/downloads/drops/R-3.2.2-200702121330/eclipse-examples-3.2.2.zip"/>\r
+ <antcall target="unpack.eclipse"/>\r
+ </target>\r
+ \r
+</project>
\ No newline at end of file
--- /dev/null
+<project name="Build specific targets and properties" default="noDefault">\r
+ <condition property="isNightlyBuild">\r
+ <equals arg1="${buildType}" arg2="N" />\r
+ </condition>\r
+ <condition property="isNightlyOrIntegrationBuild">\r
+ <or>\r
+ <equals arg1="${buildType}" arg2="N" />\r
+ <equals arg1="${buildType}" arg2="I" />\r
+ </or>\r
+ </condition>\r
+ \r
+ <property file="${buildHome}/pluginbuilder.config" />\r
+ \r
+ <property file="${buildDirectory}/version.properties" />\r
+ <property name="buildLabel" value="${buildType}-${version.full}" />\r
+ <property name="buildId" value="${version.full}" />\r
+ \r
+ <condition property="isCVSOrCopy" value="true">\r
+ <or>\r
+ <equals arg1="${pluginbuilder.is.cvs}" arg2="true"/>\r
+ <equals arg1="${pluginbuilder.is.copy}" arg2="true"/>\r
+ </or>\r
+ </condition>\r
+ <condition property="isSVN" value="true">\r
+ <equals arg1="${pluginbuilder.is.svn}" arg2="true"/>\r
+ </condition>\r
+ <condition property="isRunTests" value="true">\r
+ <equals arg1="${pluginbuilder.is.runtests}" arg2="true"/>\r
+ </condition>\r
+ \r
+ \r
+ <target name="allElements">\r
+ <condition property="isFetch" value="true">\r
+ <equals arg1="${target}" arg2="fetchElement"/>\r
+ </condition>\r
+ <condition property="is.svn.fetch" value="true">\r
+ <and>\r
+ <equals arg1="${target}" arg2="fetchElement"/>\r
+ <equals arg1="${pluginbuilder.is.svn}" arg2="true"/>\r
+ </and>\r
+ </condition>\r
+ \r
+ <antcall target="allElementsExceptSvnFetch"/>\r
+ <antcall target="fetchSubversion"/>\r
+ </target>\r
+ \r
+ <import file="allElements.xml"/>\r
+ <import file="subversionSupport.xml"/>\r
+ \r
+ \r
+ <!-- ===================================================================== -->\r
+ <!-- Check out map files from correct repository -->\r
+ <!-- Replace values for cvsRoot, package and mapVersionTag as desired. -->\r
+ <!-- ===================================================================== -->\r
+ <target name="getMapFiles" if="isCVSOrCopy">\r
+ <echo message="Copying map files."/>\r
+ <copy todir="${buildDirectory}/maps">\r
+ <fileset dir="${buildHome}/maps" includes="*.map"></fileset>\r
+ </copy>\r
+ </target>\r
+ \r
+ <!-- ===================================================================== -->\r
+ <!-- Steps to do before setup -->\r
+ <!-- ===================================================================== -->\r
+ <target name="preSetup" if="${product}"> \r
+ <copy todir="${buildDirectory}" file="${buildHome}/${product}"/> \r
+ </target>\r
+ <!-- ===================================================================== -->\r
+ <!-- Steps to do after setup but before starting the build proper -->\r
+ <!-- ===================================================================== -->\r
+ <target name="postSetup">\r
+ </target>\r
+ <!-- ===================================================================== -->\r
+ <!-- Steps to do before fetching the build elements -->\r
+ <!-- ===================================================================== -->\r
+ <target name="preFetch">\r
+ </target>\r
+ <!-- ===================================================================== -->\r
+ <!-- Steps to do after fetching the build elements -->\r
+ <!-- ===================================================================== -->\r
+ <target name="postFetch">\r
+ <condition property="is.fetch" value="true">\r
+ <available file="${buildDirectory}/plugins"/>\r
+ </condition>\r
+ <fail unless="is.fetch" message="There was no plug-in fetched. Was the configuration generated? Is the repository correct?"/>\r
+ <antcall target="replaceVersions"/> \r
+ </target>\r
+ \r
+ <target name="replaceVersions">\r
+ <fail unless="version.full" message="Property version.full must be set" />\r
+ <fail unless="version.qualifier" message="Property version.qualifier must be set" />\r
+ \r
+ <echo message="Updating versions in feature and plugin manifests. Full version: ${version.full}, qualifier: ${version.qualifier}"/>\r
+ <!-- make sure to select the test feature file as well -->\r
+ <replace dir="${buildDirectory}/features">\r
+ <include name="**/feature.xml"/>\r
+ <!-- adding the greater than on the right side is only a dirty trick to replace only the feature version -->\r
+ <replacefilter token="version="0.0.0">" value="version="${version.full}">" />\r
+ <replacefilter token="qualifier" value="${version.qualifier}" />\r
+ <replacefilter token="phpeclipse.release_eclipse.version" value="${phpeclipse_build_target}" />\r
+ </replace>\r
+ <!-- in a manual build started with export from the feature.xml, there is no\r
+ need to replace the versions in the plugin.xml files if they are set to 0.0.0,\r
+ but here it needs to be -->\r
+ <replace dir="${buildDirectory}/plugins">\r
+ <include name="**/plugin.xml"/>\r
+ <replacefilter token="0.0.0" value="${version.full}" />\r
+ </replace>\r
+ <replace dir="${buildDirectory}/plugins">\r
+ <include name="**/META-INF/MANIFEST.MF"/>\r
+ <replacefilter token="Bundle-Version: 0.0.0" value="Bundle-Version: ${version.full}" />\r
+ <replacefilter token="qualifier" value="${version.qualifier}" />\r
+ </replace>\r
+ </target> \r
+ <!-- ===================================================================== -->\r
+ <!-- Steps to do before generating the build scripts. -->\r
+ <!-- ===================================================================== -->\r
+ <target name="preGenerate">\r
+ <!-- fail unless="featureVersion" message="Property featureVersion must be set.\r
+ Either directly or in case of a nightly build with nightlyBuildFeatureVersionPrefix." />\r
+ -->\r
+ </target>\r
+ <!-- ===================================================================== -->\r
+ <!-- Steps to do after generating the build scripts. -->\r
+ <!-- ===================================================================== -->\r
+ <target name="postGenerate">\r
+ </target>\r
+ <!-- ===================================================================== -->\r
+ <!-- Steps to do before running the build.xmls for the elements being built. -->\r
+ <!-- ===================================================================== -->\r
+ <target name="preProcess">\r
+ </target>\r
+ <!-- ===================================================================== -->\r
+ <!-- Steps to do after running the build.xmls for the elements being built. -->\r
+ <!-- ===================================================================== -->\r
+ <target name="postProcess">\r
+ </target>\r
+ <!-- ===================================================================== -->\r
+ <!-- Steps to do before running assemble. -->\r
+ <!-- ===================================================================== -->\r
+ <target name="preAssemble">\r
+ </target>\r
+ <!-- ===================================================================== -->\r
+ <!-- Steps to do after running assemble. -->\r
+ <!-- ===================================================================== -->\r
+ <target name="postAssemble">\r
+ </target>\r
+ <!-- ===================================================================== -->\r
+ <!-- Steps to do before/after packaging RCP. -->\r
+ <!-- ===================================================================== -->\r
+ <target name="prePackage">\r
+ </target>\r
+ <target name="postPackage">\r
+ </target>\r
+\r
+ <!-- ===================================================================== -->\r
+ <!-- Steps to do after the build is done. -->\r
+ <!-- ===================================================================== -->\r
+ <property name="buildResultsDirectory" value="${buildDirectory}/results" />\r
+ <target name="postBuild" depends="-prepareBuildResultsDirectory" unless="no.postBuild">\r
+ <antcall target="runTests"/>\r
+ <copy todir="${buildResultsDirectory}" flatten="true">\r
+ <fileset dir="${buildDirectory}" includes="${buildType}-**/*.zip" />\r
+ </copy>\r
+ <condition property="is.External.Postbuild">\r
+ <available file="${buildHome}/build-files/postBuild.xml"/>\r
+ </condition>\r
+ <antcall target="callExternalPostBuild"/>\r
+ </target>\r
+ <!-- ===================================================================== -->\r
+ <!-- Run tests. -->\r
+ <!-- ===================================================================== -->\r
+ <target name="runTests" if="isRunTests">\r
+ <property name="automatedTestsHome" location="${buildHome}/build-files/automatedTests"/>\r
+\r
+ <ant antfile="${automatedTestsHome}/run-tests.xml" target="run" dir="${automatedTestsHome}">\r
+ <property name="test.result.dir" value="${buildResultsDirectory}/testresults"/>\r
+ </ant>\r
+ </target> \r
+ <!--======================================================-->\r
+ <!-- Gather build results -->\r
+ <!-- ==================================================== -->\r
+ <target name="-prepareBuildResultsDirectory">\r
+ <echo message="Creating ${buildResultsDirectory}" />\r
+ <mkdir dir="${buildResultsDirectory}" /> \r
+ </target>\r
+\r
+ <!--======================================================-->\r
+ <!-- Call External post build file if available -->\r
+ <!-- ==================================================== -->\r
+ <target name="callExternalPostBuild" if="is.External.Postbuild">\r
+ <ant antfile="${buildHome}/build-files/postBuild.xml"/>\r
+ </target>\r
+ \r
+ <target name="noDefault">\r
+ <echo message="You must specify a target when invoking this file" />\r
+ </target>\r
+</project>\r
--- /dev/null
+<project name="Generated">
+ <target name="fetch.svn.all">
+ <!-- use pluginbuilder editor to change content -->
+ </target>
+</project>
\ No newline at end of file
--- /dev/null
+<project name="Run as part of postBuild" default="main">
+
+ <target name="main">
+ <property name="UpdateSiteStagingLocation" value="${buildResultsDirectory}/updateSite"/>
+ <antcall target="-generateUpdateSite"/>
+ </target>
+
+ <!--======================================================-->
+ <!-- UpdateSite Export target, to be called from allElements -->
+ <!-- ==================================================== -->
+ <target name="updateSiteExport">
+ <ant antfile="build.xml" dir="${buildDirectory}/features/${id}/" target="build.update.jar">
+ <property name="feature.destination" value="${UpdateSiteStagingLocation}/features"/>
+ <property name="plugin.destination" value="${UpdateSiteStagingLocation}/plugins"/>
+ </ant>
+ </target>
+
+ <target name="-generateUpdateSite">
+ <!-- Create the directory structure -->
+ <mkdir dir="${UpdateSiteStagingLocation}"/>
+ <mkdir dir="${UpdateSiteStagingLocation}/features"/>
+ <mkdir dir="${UpdateSiteStagingLocation}/plugins"/>
+ <!-- Build the jar files -->
+ <ant antfile="${builder}/customTargets.xml" target="allElements">
+ <property name="genericTargets" value="${builder}/postBuild.xml"/>
+ <property name="target" value="updateSiteExport"/>
+ </ant>
+ <!-- site.xml files for integration and release builds are handled elsewhere -->
+ <antcall target="-createNightlyBuildSiteXml"/>
+ <delete dir="${buildDirectory}/temp.updatesite"/>
+ </target>
+
+ <target name="-createNightlyBuildSiteXml" if="isNightlyBuild">
+ <echo file="${UpdateSiteStagingLocation}/site.xml"><?xml
+ version="1.0" encoding="UTF-8"?>
+ <site> <description> PHPEclipse nightly
+ builds. </description>
+ <feature url="features/net.sourceforge.phpeclipse.feature_${version.full}.jar" id="net.sourceforge.phpeclipse.feature"
+ version="${version.full}">
+ <category name="PHPEclipseNightlyBuilds"/>
+ </feature>
+ <feature url="features/net.sourceforge.phpeclipse.debug.feature_${version.full}.jar" id="net.sourceforge.phpeclipse.debug.feature"
+ version="${version.full}">
+ <category name="PHPEclipseNightlyBuilds"/>
+ </feature>
+ <feature url="features/net.sourceforge.phpeclipse.xdebug.feature_${version.full}.jar" id="net.sourceforge.phpeclipse.xdebug.feature"
+ version="${version.full}">
+ <category name="PHPEclipseNightlyBuilds"/>
+ </feature>
+ <category-def name="PHPEclipseNightlyBuilds"
+ label="PHPEclipse Nightly Builds"> </category-def>
+ </site> </echo>
+ </target>
+
+</project>
\ No newline at end of file
--- /dev/null
+<project name="to be included into customTargets.xml">\r
+\r
+ <import file="fetchSvnAll.xml"/>\r
+\r
+ <path id="project.classpath">\r
+ <pathelement location="${buildHome}/build-files/svn/svnant.jar"/>\r
+ <pathelement location="${buildHome}/build-files/svn/svnClientAdapter.jar"/>\r
+ </path>\r
+ \r
+ <target name="fetchSubversion" if="is.svn.fetch">\r
+ <taskdef resource="svntask.properties" classpathref="project.classpath"/>\r
+ <property name="fetchTag" value="HEAD"/>\r
+ <antcall target="fetch.svn.all"/>\r
+ </target>\r
+ \r
+ <target name="svn.co">\r
+ <property name="target.dir" value="${element.id}"/>\r
+ <svn javahl="false" username="${pluginbuilder.svn.user}" password="${pluginbuilder.svn.password}">\r
+ <checkout revision="${fetchTag}" url="${url}/${project.name}" destPath="${buildDirectory}/${target}/${target.dir}" />\r
+ </svn> \r
+ </target> \r
+\r
+</project>
\ No newline at end of file
--- /dev/null
+SVNClientAdapter Library License\r
+\r
+This license applies to all portions of SVNClientAdapter library, which \r
+are not externally-maintained libraries (e.g. JavaHL or JavaSVN).\r
+\r
+Such libraries have their own licenses; we recommend you read them, as\r
+their terms may differ from the terms below.\r
+\r
+=============================================================================\r
+ Apache License\r
+ Version 2.0, January 2004\r
+ http://www.apache.org/licenses/\r
+\r
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\r
+\r
+ 1. Definitions.\r
+\r
+ "License" shall mean the terms and conditions for use, reproduction,\r
+ and distribution as defined by Sections 1 through 9 of this document.\r
+\r
+ "Licensor" shall mean the copyright owner or entity authorized by\r
+ the copyright owner that is granting the License.\r
+\r
+ "Legal Entity" shall mean the union of the acting entity and all\r
+ other entities that control, are controlled by, or are under common\r
+ control with that entity. For the purposes of this definition,\r
+ "control" means (i) the power, direct or indirect, to cause the\r
+ direction or management of such entity, whether by contract or\r
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the\r
+ outstanding shares, or (iii) beneficial ownership of such entity.\r
+\r
+ "You" (or "Your") shall mean an individual or Legal Entity\r
+ exercising permissions granted by this License.\r
+\r
+ "Source" form shall mean the preferred form for making modifications,\r
+ including but not limited to software source code, documentation\r
+ source, and configuration files.\r
+\r
+ "Object" form shall mean any form resulting from mechanical\r
+ transformation or translation of a Source form, including but\r
+ not limited to compiled object code, generated documentation,\r
+ and conversions to other media types.\r
+\r
+ "Work" shall mean the work of authorship, whether in Source or\r
+ Object form, made available under the License, as indicated by a\r
+ copyright notice that is included in or attached to the work\r
+ (an example is provided in the Appendix below).\r
+\r
+ "Derivative Works" shall mean any work, whether in Source or Object\r
+ form, that is based on (or derived from) the Work and for which the\r
+ editorial revisions, annotations, elaborations, or other modifications\r
+ represent, as a whole, an original work of authorship. For the purposes\r
+ of this License, Derivative Works shall not include works that remain\r
+ separable from, or merely link (or bind by name) to the interfaces of,\r
+ the Work and Derivative Works thereof.\r
+\r
+ "Contribution" shall mean any work of authorship, including\r
+ the original version of the Work and any modifications or additions\r
+ to that Work or Derivative Works thereof, that is intentionally\r
+ submitted to Licensor for inclusion in the Work by the copyright owner\r
+ or by an individual or Legal Entity authorized to submit on behalf of\r
+ the copyright owner. For the purposes of this definition, "submitted"\r
+ means any form of electronic, verbal, or written communication sent\r
+ to the Licensor or its representatives, including but not limited to\r
+ communication on electronic mailing lists, source code control systems,\r
+ and issue tracking systems that are managed by, or on behalf of, the\r
+ Licensor for the purpose of discussing and improving the Work, but\r
+ excluding communication that is conspicuously marked or otherwise\r
+ designated in writing by the copyright owner as "Not a Contribution."\r
+\r
+ "Contributor" shall mean Licensor and any individual or Legal Entity\r
+ on behalf of whom a Contribution has been received by Licensor and\r
+ subsequently incorporated within the Work.\r
+\r
+ 2. Grant of Copyright License. Subject to the terms and conditions of\r
+ this License, each Contributor hereby grants to You a perpetual,\r
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable\r
+ copyright license to reproduce, prepare Derivative Works of,\r
+ publicly display, publicly perform, sublicense, and distribute the\r
+ Work and such Derivative Works in Source or Object form.\r
+\r
+ 3. Grant of Patent License. Subject to the terms and conditions of\r
+ this License, each Contributor hereby grants to You a perpetual,\r
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable\r
+ (except as stated in this section) patent license to make, have made,\r
+ use, offer to sell, sell, import, and otherwise transfer the Work,\r
+ where such license applies only to those patent claims licensable\r
+ by such Contributor that are necessarily infringed by their\r
+ Contribution(s) alone or by combination of their Contribution(s)\r
+ with the Work to which such Contribution(s) was submitted. If You\r
+ institute patent litigation against any entity (including a\r
+ cross-claim or counterclaim in a lawsuit) alleging that the Work\r
+ or a Contribution incorporated within the Work constitutes direct\r
+ or contributory patent infringement, then any patent licenses\r
+ granted to You under this License for that Work shall terminate\r
+ as of the date such litigation is filed.\r
+\r
+ 4. Redistribution. You may reproduce and distribute copies of the\r
+ Work or Derivative Works thereof in any medium, with or without\r
+ modifications, and in Source or Object form, provided that You\r
+ meet the following conditions:\r
+\r
+ (a) You must give any other recipients of the Work or\r
+ Derivative Works a copy of this License; and\r
+\r
+ (b) You must cause any modified files to carry prominent notices\r
+ stating that You changed the files; and\r
+\r
+ (c) You must retain, in the Source form of any Derivative Works\r
+ that You distribute, all copyright, patent, trademark, and\r
+ attribution notices from the Source form of the Work,\r
+ excluding those notices that do not pertain to any part of\r
+ the Derivative Works; and\r
+\r
+ (d) If the Work includes a "NOTICE" text file as part of its\r
+ distribution, then any Derivative Works that You distribute must\r
+ include a readable copy of the attribution notices contained\r
+ within such NOTICE file, excluding those notices that do not\r
+ pertain to any part of the Derivative Works, in at least one\r
+ of the following places: within a NOTICE text file distributed\r
+ as part of the Derivative Works; within the Source form or\r
+ documentation, if provided along with the Derivative Works; or,\r
+ within a display generated by the Derivative Works, if and\r
+ wherever such third-party notices normally appear. The contents\r
+ of the NOTICE file are for informational purposes only and\r
+ do not modify the License. You may add Your own attribution\r
+ notices within Derivative Works that You distribute, alongside\r
+ or as an addendum to the NOTICE text from the Work, provided\r
+ that such additional attribution notices cannot be construed\r
+ as modifying the License.\r
+\r
+ You may add Your own copyright statement to Your modifications and\r
+ may provide additional or different license terms and conditions\r
+ for use, reproduction, or distribution of Your modifications, or\r
+ for any such Derivative Works as a whole, provided Your use,\r
+ reproduction, and distribution of the Work otherwise complies with\r
+ the conditions stated in this License.\r
+\r
+ 5. Submission of Contributions. Unless You explicitly state otherwise,\r
+ any Contribution intentionally submitted for inclusion in the Work\r
+ by You to the Licensor shall be under the terms and conditions of\r
+ this License, without any additional terms or conditions.\r
+ Notwithstanding the above, nothing herein shall supersede or modify\r
+ the terms of any separate license agreement you may have executed\r
+ with Licensor regarding such Contributions.\r
+\r
+ 6. Trademarks. This License does not grant permission to use the trade\r
+ names, trademarks, service marks, or product names of the Licensor,\r
+ except as required for reasonable and customary use in describing the\r
+ origin of the Work and reproducing the content of the NOTICE file.\r
+\r
+ 7. Disclaimer of Warranty. Unless required by applicable law or\r
+ agreed to in writing, Licensor provides the Work (and each\r
+ Contributor provides its Contributions) on an "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\r
+ implied, including, without limitation, any warranties or conditions\r
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\r
+ PARTICULAR PURPOSE. You are solely responsible for determining the\r
+ appropriateness of using or redistributing the Work and assume any\r
+ risks associated with Your exercise of permissions under this License.\r
+\r
+ 8. Limitation of Liability. In no event and under no legal theory,\r
+ whether in tort (including negligence), contract, or otherwise,\r
+ unless required by applicable law (such as deliberate and grossly\r
+ negligent acts) or agreed to in writing, shall any Contributor be\r
+ liable to You for damages, including any direct, indirect, special,\r
+ incidental, or consequential damages of any character arising as a\r
+ result of this License or out of the use or inability to use the\r
+ Work (including but not limited to damages for loss of goodwill,\r
+ work stoppage, computer failure or malfunction, or any and all\r
+ other commercial damages or losses), even if such Contributor\r
+ has been advised of the possibility of such damages.\r
+\r
+ 9. Accepting Warranty or Additional Liability. While redistributing\r
+ the Work or Derivative Works thereof, You may choose to offer,\r
+ and charge a fee for, acceptance of support, warranty, indemnity,\r
+ or other liability obligations and/or rights consistent with this\r
+ License. However, in accepting such obligations, You may act only\r
+ on Your own behalf and on Your sole responsibility, not on behalf\r
+ of any other Contributor, and only if You agree to indemnify,\r
+ defend, and hold each Contributor harmless for any liability\r
+ incurred by, or claims asserted against, such Contributor by reason\r
+ of your accepting any such warranty or additional liability.\r
+\r
+ END OF TERMS AND CONDITIONS
\ No newline at end of file
--- /dev/null
+<!-- This script will not be uploaded to the server.\r
+ PLEASE DO NOT MODIFY \r
+ If you modify this script it is likely that the build will not work on the server\r
+-->\r
+<project name="Build Facade" default="main">\r
+ <taskdef resource="org/pluginbuilder/anttasks/pluginbuildertasks.properties" classpath="build-files/pluginbuilder-anttasks.jar" />\r
+ \r
+ <property file="build_local.properties" />\r
+ <property name="eclipse.installation.dir" value="${eclipseDir}"/>\r
+ <property name="eclipse.local.tar.non.server" value="${test.eclipse.zip}"/>\r
+ <import file="build-files/build_shared.xml"/>\r
+ \r
+ <target name="-properties"> \r
+ \r
+ <!-- versioning -->\r
+ <property name="build.version" value="HEAD"/>\r
+ <property file="releases/${build.version}.properties" />\r
+ <tstamp>\r
+ <format property="version.qualifier" pattern="yyyyMMddHHmm" timezone="GMT" unit="minute"/>\r
+ </tstamp>\r
+ \r
+ <property name="buildTypePresentation" value=""/>\r
+ <property name="version.full" value="${version}.${version.qualifier}${buildTypePresentation}"/>\r
+\r
+ <!-- includes -->\r
+ <property file="build_local.properties" />\r
+ <property file="pluginbuilder.config" />\r
+ \r
+ <!-- set defaults -->\r
+ <property name="buildTarget" value="main"/>\r
+ <property name="verboseAnt" value="-Ddummy=true"/>\r
+ \r
+ <!-- check if clean should be called -->\r
+ <condition property="is.clean">\r
+ <or>\r
+ <equals arg1="main" arg2="${buildTarget}" trim="true"/>\r
+ <equals arg1="fetch" arg2="${buildTarget}" trim="true"/>\r
+ </or>\r
+ </condition>\r
+ \r
+ </target>\r
+ \r
+ <target name="-prepare.build.host">\r
+\r
+ <antcall target="unpack.eclipse"/>\r
+ \r
+ <available type="dir" file="${eclipseDir}/plugins" property="eclipseDir.plugins.exists"/>\r
+ <fail message="Could not find directory ${eclipseDir}/plugins. Please check eclipseDir in build_local.properties" unless="eclipseDir.plugins.exists"/>\r
+ \r
+ <!-- determine buildfiles -->\r
+ <BundleFileLocator eclipseInstallationRoot="${eclipseDir}" bundleId="org.eclipse.pde.build" filePath="scripts/build.xml" property="regularbuildfile" /> \r
+ <dirname file="${regularbuildfile}" property="scriptdir"/>\r
+ <property name="productbuildfile" value="${scriptdir}/productBuild/productBuild.xml"/>\r
+ \r
+ <!-- determine launcher -->\r
+ <BundleFileLocator eclipseInstallationRoot="${eclipseDir}" bundleId="org.eclipse.equinox.launcher" property="equinoxjar" /> \r
+\r
+ </target>\r
+ \r
+ <target name="-clean" if="is.clean">\r
+ <echo level="info" message="Cleaning directory ${buildDirectory}"/>\r
+ <delete dir="${buildDirectory}" verbose="false"/>\r
+ <mkdir dir="${buildDirectory}"/>\r
+ </target>\r
+ \r
+ <target name="-build" depends="-properties,-clean,-prepare.build.host">\r
+ <condition property="no.rcp.build" value="true">\r
+ <not>\r
+ <equals arg1="${pluginbuilder.is.rcpbuild}" arg2="true"/>\r
+ </not>\r
+ </condition>\r
+ <antcall target="-build.rcp.internal"/>\r
+ <antcall target="-build.internal">\r
+ <param name="buildfile" value="${regularbuildfile}"/>\r
+ <param name="varjvmargs1" value="-Dconfigs=*,*,*"/>\r
+ <param name="varjvmargs2" value="-Ddummy2=2"/>\r
+ </antcall>\r
+ </target>\r
+ \r
+ <target name="-build.rcp.internal" unless="no.rcp.build">\r
+ <antcall target="-build.internal"> \r
+ <param name="buildfile" value="${productbuildfile}"/>\r
+ <param name="varjvmargs1" value="-Dno.postBuild=true"/>\r
+ <param name="varjvmargs2" value="-Dbuild.container.feature=true"/>\r
+ </antcall>\r
+ </target>\r
+ \r
+ <target name="rcp" unless="no.rcp.build" depends="-properties,-clean,-prepare.build.host" description="Build RCP">\r
+ <condition property="no.rcp.build" value="true">\r
+ <not>\r
+ <equals arg1="${pluginbuilder.is.rcpbuild}" arg2="true"/>\r
+ </not>\r
+ </condition>\r
+ <fail message="Please enable and configure an RCP build in the Plug-in Builder Editor before calling this target." if="no.rcp.build"/>\r
+ <antcall target="-build.internal">\r
+ <param name="buildfile" value="${productbuildfile}"/>\r
+ <param name="varjvmargs1" value="-Dno.postBuild=true"/>\r
+ <param name="varjvmargs2" value="-Dbuild.container.feature=true"/>\r
+ </antcall>\r
+ </target>\r
+\r
+ <target name="-build.internal">\r
+ <property name="buildResultsDirectory" value="${buildDirectory}/results" />\r
+ <java classname="org.eclipse.equinox.launcher.Main" fork="true" \r
+ failonerror="true" errorproperty="build.stderr">\r
+ <arg value="-ws" />\r
+ <arg value="${ws}" />\r
+ <arg value="-os" />\r
+ <arg value="${os}" />\r
+ <arg value="-application" />\r
+ <arg value="org.eclipse.ant.core.antRunner" />\r
+ <arg value="-buildfile" />\r
+ <arg value="${buildfile}" />\r
+ <arg value="${buildTarget}" />\r
+ <arg value="-data" />\r
+ <arg value="${buildDirectory}/workspace" />\r
+ <arg value="${verboseAnt}"/>\r
+ <jvmarg value="-Dbasews=${ws}" />\r
+ <jvmarg value="-Dbaseos=${os}" />\r
+ <jvmarg value="-Dbasearch=${arch}" />\r
+ <jvmarg value="-Dbuilder=${buildHome}/build-files" />\r
+ <jvmarg value="-DjavacFailOnError=true"/>\r
+ <jvmarg value="-DbuildDirectory=${buildDirectory}"/>\r
+ <jvmarg value="-DbuildResultsDirectory=${buildResultsDirectory}"/>\r
+ <jvmarg value="-DbaseLocation=${eclipseDir}"/>\r
+ <jvmarg value="-DbuildHome=${buildHome}"/>\r
+ <jvmarg value="-Dversion.full=${version.full}"/>\r
+ <jvmarg value="-Dversion.qualifier=${version.qualifier}${buildTypePresentation}"/>\r
+ <jvmarg value="-DbuildType=${buildType}"/>\r
+ <jvmarg value="-Dphpeclipse_build_target=${phpeclipse_build_target}" />\r
+ <jvmarg value="-DfetchTag=${fetchTag}"/>\r
+ <jvmarg value="${varjvmargs1}"/>\r
+ <jvmarg value="${varjvmargs2}"/>\r
+ \r
+ <jvmarg value="-Dtest.eclipse.zip=${test.eclipse.zip}"/>\r
+\r
+ <classpath>\r
+ <pathelement location="${equinoxjar}" />\r
+ </classpath>\r
+ </java>\r
+ <echo>${build.stderr}</echo>\r
+ <condition property="is.build.error" value="true">\r
+ <contains string="${build.stderr}" substring="BUILD FAILED"/>\r
+ </condition>\r
+ <fail message="PDE Build failed" if="is.build.error"/>\r
+ </target>\r
+ \r
+ <target name="main-cc"\r
+ description="This target is suited to be run from cruisecontrol. The property 'label' is expected to be set from cruisecontrol.">\r
+ <exec executable="date" outputproperty="label">\r
+ <arg value="+%Y%m%d%H%M" />\r
+ </exec>\r
+ <property name="version.full" value="${label}"/> \r
+ <!-- TODO: extract qualifier correctly from label -->\r
+ <property name="version.qualifier" value="${label}"/> \r
+ <antcall target="-build"/>\r
+ </target>\r
+ \r
+ <target name="main" description="Run the main target of customTargets.xml.">\r
+ <property name="buildTarget" value="main"/>\r
+ <antcall target="-build"/>\r
+ </target>\r
+\r
+ <target name="fetch" description="Run the fetch target of customTargets.xml.">\r
+ <property name="buildTarget" value="fetch"/>\r
+ <antcall target="-build"/>\r
+ </target> \r
+ \r
+ <target name="generate" description="Run the generate target of customTargets.xml.">\r
+ <property name="buildTarget" value="generate"/>\r
+ <antcall target="-build"/>\r
+ </target>\r
+ \r
+ <target name="process" description="Run the process target of customTargets.xml.">\r
+ <property name="buildTarget" value="process"/>\r
+ <antcall target="-build"/>\r
+ </target>\r
+ \r
+ <target name="assemble" description="Run the assemble target of customTargets.xml.">\r
+ <property name="buildTarget" value="assemble"/>\r
+ <antcall target="-build"/>\r
+ </target>\r
+ \r
+ <target name="postBuild" description="Run the postBuild target of customTargets.xml.">\r
+ <property name="buildTarget" value="postBuild"/>\r
+ <antcall target="-build"/>\r
+ </target>\r
+ \r
+ <target name="buildProperties" description="Print out derived properties for the current build." depends="-properties">\r
+ <fail message="You have to set the property 'buildPropertiesFile' if calling buildProperties" unless="buildPropertiesFile"/>\r
+ <condition property="subdir" value="nightly" else="releases">\r
+ <equals arg1="${buildType}" arg2="N"/>\r
+ </condition>\r
+ <echo file="${buildPropertiesFile}">relativeServerResultsDir: ${subdir}/${version.full}</echo>\r
+ </target>\r
+\r
+</project>\r
--- /dev/null
+# The content of this file was initially created from the new project wizard\r
+# If you see any placeholders (marked with @) in this file, something went wrong \r
+\r
+#\r
+# The location of this pluginbuilder project\r
+#\r
+buildHome=/data/apps/cc_build/PHPEclipse/pluginbuilder\r
+\r
+#\r
+# buildDirectory is the directory into which the source are checked out and\r
+# where the build takes place\r
+# THIS DIRECTORY WILL BE DELETED !!!\r
+#\r
+buildDirectory=/data/apps/cc_build/PHPEclipse/build\r
+\r
+#\r
+# the eclipse build host\r
+#\r
+eclipseDir=/data/software/eclipse/eclipse.europa\r
+\r
+#\r
+# phpeclipse Eclipse Target platform\r
+#\r
+phpeclipse_build_target=3.3\r
+#\r
+# environment: both the environment for the eclipse build host (baseos, basews and basearch)\r
+# and the eclipse test host\r
+#\r
+os=linux\r
+ws=gtk\r
+arch=x86\r
--- /dev/null
+feature@net.sourceforge.phpeclipse.feature=HEAD,:pserver:anonymous@phpeclipse.cvs.sourceforge.net:/cvsroot/phpeclipse,,net.sourceforge.phpeclipse.feature
+plugin@net.sourceforge.phpeclipse=HEAD,:pserver:anonymous@phpeclipse.cvs.sourceforge.net:/cvsroot/phpeclipse,,net.sourceforge.phpeclipse
+plugin@net.sourceforge.phpeclipse.core=HEAD,:pserver:anonymous@phpeclipse.cvs.sourceforge.net:/cvsroot/phpeclipse,,net.sourceforge.phpeclipse.core
+plugin@net.sourceforge.phpeclipse.externaltools=HEAD,:pserver:anonymous@phpeclipse.cvs.sourceforge.net:/cvsroot/phpeclipse,,net.sourceforge.phpeclipse.externaltools
+plugin@net.sourceforge.phpeclipse.phphelp=HEAD,:pserver:anonymous@phpeclipse.cvs.sourceforge.net:/cvsroot/phpeclipse,,net.sourceforge.phpeclipse.phphelp
+plugin@net.sourceforge.phpeclipse.smarty.ui=HEAD,:pserver:anonymous@phpeclipse.cvs.sourceforge.net:/cvsroot/phpeclipse,,net.sourceforge.phpeclipse.smarty.ui
+plugin@net.sourceforge.phpeclipse.ui=HEAD,:pserver:anonymous@phpeclipse.cvs.sourceforge.net:/cvsroot/phpeclipse,,net.sourceforge.phpeclipse.ui
+plugin@net.sourceforge.phpeclipse.webbrowser=HEAD,:pserver:anonymous@phpeclipse.cvs.sourceforge.net:/cvsroot/phpeclipse,,net.sourceforge.phpeclipse.webbrowser
+plugin@net.sourceforge.phpeclipse.xml.core=HEAD,:pserver:anonymous@phpeclipse.cvs.sourceforge.net:/cvsroot/phpeclipse,,net.sourceforge.phpeclipse.xml.core
+plugin@net.sourceforge.phpeclipse.xml.ui=HEAD,:pserver:anonymous@phpeclipse.cvs.sourceforge.net:/cvsroot/phpeclipse,,net.sourceforge.phpeclipse.xml.ui
+feature@net.sourceforge.phpeclipse.debug.feature=HEAD,:pserver:anonymous@phpeclipse.cvs.sourceforge.net:/cvsroot/phpeclipse,,net.sourceforge.phpeclipse.debug.feature
+plugin@net.sourceforge.phpeclipse.debug.core=HEAD,:pserver:anonymous@phpeclipse.cvs.sourceforge.net:/cvsroot/phpeclipse,,net.sourceforge.phpeclipse.debug.core
+plugin@net.sourceforge.phpeclipse.debug.ui=HEAD,:pserver:anonymous@phpeclipse.cvs.sourceforge.net:/cvsroot/phpeclipse,,net.sourceforge.phpeclipse.debug.ui
+plugin@net.sourceforge.phpeclipse.launching=HEAD,:pserver:anonymous@phpeclipse.cvs.sourceforge.net:/cvsroot/phpeclipse,,net.sourceforge.phpeclipse.launching
+feature@net.sourceforge.phpeclipse.xdebug.feature=HEAD,:pserver:anonymous@phpeclipse.cvs.sourceforge.net:/cvsroot/phpeclipse,,net.sourceforge.phpeclipse.xdebug.feature
+plugin@net.sourceforge.phpeclipse.xdebug.core=HEAD,:pserver:anonymous@phpeclipse.cvs.sourceforge.net:/cvsroot/phpeclipse,,-r XDebugProxy net.sourceforge.phpeclipse.xdebug.core
+plugin@net.sourceforge.phpeclipse.xdebug.ui=HEAD,:pserver:anonymous@phpeclipse.cvs.sourceforge.net:/cvsroot/phpeclipse,,-r XDebugProxy net.sourceforge.phpeclipse.xdebug.ui
--- /dev/null
+#Mon Jun 11 20:16:40 CDT 2007
+autotestsuite.class.exclusions=.*All(Tests|PDE_Tests|_Tests|PDETests).*
+autotestsuite.trace=true
+pluginbuilder.features=net.sourceforge.phpeclipse.feature,net.sourceforge.phpeclipse.debug.feature,net.sourceforge.phpeclipse.xdebug.feature
+pluginbuilder.is.svn=false
+autotestsuite.class.inclusions=.*
+pluginbuilder.is.runtests=false
+autotestsuite.plugin.inclusions=.*(test|tests)$
+pluginbuilder.is.cvs=true
+pluginbuilder.is.copy=false
+pluginbuilder.is.rcpbuild=false
--- /dev/null
+#Written from Plug-in Builder Editor
+#Sun May 20 15:34:56 CDT 2007
+buildType=N
+version=1.2.0
+fetchTag=HEAD
+buildTypePresentation=