|
From: <bh...@us...> - 2007-12-12 21:16:13
|
Revision: 561
http://cishell.svn.sourceforge.net/cishell/?rev=561&view=rev
Author: bh2
Date: 2007-12-12 13:16:01 -0800 (Wed, 12 Dec 2007)
Log Message:
-----------
Initial commit of the CIShell Release Engineering Project.
Note that to use this locally you will need to at least update
build_local.properties, build-files/build.properties, and check out
deployment/org.cishell.reference.relenge.eclipse (the eclipse
builder for releng).
Some initial documentation is in the README file
Added Paths:
-----------
trunk/deployment/org.cishell.reference.releng/.project
trunk/deployment/org.cishell.reference.releng/README
trunk/deployment/org.cishell.reference.releng/build-files/
trunk/deployment/org.cishell.reference.releng/build-files/allElements.xml
trunk/deployment/org.cishell.reference.releng/build-files/ant-contrib-LICENSE.txt
trunk/deployment/org.cishell.reference.releng/build-files/ant-contrib.jar
trunk/deployment/org.cishell.reference.releng/build-files/automatedTests/
trunk/deployment/org.cishell.reference.releng/build-files/automatedTests/eclipse-test-framework-3.3RC3.zip
trunk/deployment/org.cishell.reference.releng/build-files/automatedTests/org.pluginbuilder.autotestsuite.feature-0.2.0.20070610PRDEclipse3_3.zip
trunk/deployment/org.cishell.reference.releng/build-files/automatedTests/run-tests.properties
trunk/deployment/org.cishell.reference.releng/build-files/automatedTests/run-tests.xml
trunk/deployment/org.cishell.reference.releng/build-files/build.properties
trunk/deployment/org.cishell.reference.releng/build-files/build_shared.xml
trunk/deployment/org.cishell.reference.releng/build-files/customTargets.xml
trunk/deployment/org.cishell.reference.releng/build-files/fetchSvnAll.xml
trunk/deployment/org.cishell.reference.releng/build-files/pluginbuilder-anttasks.jar
trunk/deployment/org.cishell.reference.releng/build-files/postBuild.xml
trunk/deployment/org.cishell.reference.releng/build-files/subversionSupport.xml
trunk/deployment/org.cishell.reference.releng/build-files/svn/
trunk/deployment/org.cishell.reference.releng/build-files/svn/SVNCLIENTADAPTER-LICENSE
trunk/deployment/org.cishell.reference.releng/build-files/svn/svnClientAdapter.jar
trunk/deployment/org.cishell.reference.releng/build-files/svn/svnant.jar
trunk/deployment/org.cishell.reference.releng/build.xml
trunk/deployment/org.cishell.reference.releng/build_local.properties
trunk/deployment/org.cishell.reference.releng/cishell.product
trunk/deployment/org.cishell.reference.releng/maps/
trunk/deployment/org.cishell.reference.releng/maps/all.map
trunk/deployment/org.cishell.reference.releng/pluginbuilder.config
trunk/deployment/org.cishell.reference.releng/releases/
trunk/deployment/org.cishell.reference.releng/releases/HEAD.properties
Added: trunk/deployment/org.cishell.reference.releng/.project
===================================================================
--- trunk/deployment/org.cishell.reference.releng/.project (rev 0)
+++ trunk/deployment/org.cishell.reference.releng/.project 2007-12-12 21:16:01 UTC (rev 561)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.cishell.reference.releng</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ <nature>org.pluginbuilder.core.pluginBuilderNature</nature>
+ </natures>
+</projectDescription>
Property changes on: trunk/deployment/org.cishell.reference.releng/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/deployment/org.cishell.reference.releng/README
===================================================================
--- trunk/deployment/org.cishell.reference.releng/README (rev 0)
+++ trunk/deployment/org.cishell.reference.releng/README 2007-12-12 21:16:01 UTC (rev 561)
@@ -0,0 +1,44 @@
+CIShell Release Engineering Project
+-----------------------------------
+Initial version by Bruce Herr building on the Eclipse PluginBuilder project.
+
+Getting Eclipse to play nicely is a severe challenge. Hopefully, all that is
+documented here continues to work for at least a couple versions.
+
+The following sections assume that you just follow the model of whatever
+file is pointed to in there. Its a pain in the butt, but generally it works.
+
+==
+Files that will need edited as new versions come out:
+releases/HEAD.properties
+
+==
+Files that will need edited as new plugins/features are added:
+maps/all.map
+build-files/fetchSvnAll.xml
+
+NOTE: for build-files/fetchSvnAll.xml if you do not want to pull from svn, but
+simply want to copy a local copy, use a copy command instead. This is sometimes
+helpful when you need to debug features/plugins (though you should try to
+minimize this by exporting from the product file in the Eclipse IDE before
+trying to update the releng project).
+
+==
+Files that will need edited as new platforms are added:
+build-files/customTargets.xml
+build-files/allElements.xml
+
+==
+Files that will need edited for different brands:
+cishell.product
+build-files/build.properties
+
+==
+NOTE: pluginbuilder.config is basically useless now that I have customized
+the project.
+
+NOTE: Unfortunately buildHome will need to be set in build_local.properties
+depending on where the project is checked out at.
+
+NOTE: You should also check out org.cishell.reference.releng.eclipse for the
+current base eclipse builder.
\ No newline at end of file
Added: trunk/deployment/org.cishell.reference.releng/build-files/allElements.xml
===================================================================
--- trunk/deployment/org.cishell.reference.releng/build-files/allElements.xml (rev 0)
+++ trunk/deployment/org.cishell.reference.releng/build-files/allElements.xml 2007-12-12 21:16:01 UTC (rev 561)
@@ -0,0 +1,120 @@
+<project name="allElements delegation and assemble customTargets.xml">
+<!-- FILE WILL BE OVERWRITTEN WHEN GENERATED -->
+ <target name="allElementsExceptSvnFetch" unless="is.svn.fetch">
+ <antcall target="norcpbuild"/>
+ <antcall target="rcpbuild"/>
+ </target>
+
+ <target name="norcpbuild" unless="build.container.feature">
+ <ant antfile="${genericTargets}" target="${target}">
+ <property name="type" value="feature" />
+ <property name="id" value="org.cishell.feature" />
+ </ant>
+ <ant antfile="${genericTargets}" target="${target}">
+ <property name="type" value="feature" />
+ <property name="id" value="org.cishell.environment.equinox.feature" />
+ </ant>
+ <ant antfile="${genericTargets}" target="${target}">
+ <property name="type" value="feature" />
+ <property name="id" value="org.cishell.reference.feature" />
+ </ant>
+ <ant antfile="${genericTargets}" target="${target}">
+ <property name="type" value="feature" />
+ <property name="id" value="org.cishell.reference.gui.feature" />
+ </ant>
+
+ </target>
+
+ <target name="rcpbuild" if="build.container.feature">
+ <ant antfile="${genericTargets}" target="${target}">
+ <property name="type" value="feature" />
+ <property name="id" value="org.eclipse.pde.build.container.feature" />
+ </ant>
+ </target>
+
+ <!-- generated assemble targets -->
+ <target name="assemble.org.cishell.feature">
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
+ <property name="zipargs" value="" />
+ </ant>
+ </target>
+ <target name="assemble.org.cishell.environment.equinox.feature">
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
+ <property name="zipargs" value="" />
+ </ant>
+ </target>
+ <target name="assemble.org.cishell.reference.feature">
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
+ <property name="zipargs" value="" />
+ </ant>
+ </target>
+ <target name="assemble.org.cishell.reference.gui.feature">
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
+ <property name="zipargs" value="" />
+ </ant>
+ </target>
+
+
+ <!-- assmble targets for RCP build -->
+ <target name="assemble.org.eclipse.pde.build.container.feature.win32.win32.x86">
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
+ <property name="archiveName" value="${archiveNamePrefix}-win32.win32.x86.zip"/>
+ </ant>
+ </target>
+ <target name="assemble.org.eclipse.pde.build.container.feature.win32.wpf.x86">
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
+ <property name="archiveName" value="${archiveNamePrefix}-win32.wpf.x86.zip"/>
+ </ant>
+ </target>
+ <target name="assemble.org.eclipse.pde.build.container.feature.linux.gtk.x86">
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
+ <property name="archiveName" value="${archiveNamePrefix}-linux.gtk.x86.zip"/>
+ </ant>
+ </target>
+ <target name="assemble.org.eclipse.pde.build.container.feature.linux.gtk.ppc">
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
+ <property name="archiveName" value="${archiveNamePrefix}-linux.gtk.ppc.zip"/>
+ </ant>
+ </target>
+ <target name="assemble.org.eclipse.pde.build.container.feature.linux.gtk.x86_64">
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
+ <property name="archiveName" value="${archiveNamePrefix}-linux.gtk.x86_64.zip"/>
+ </ant>
+ </target>
+ <target name="assemble.org.eclipse.pde.build.container.feature.linux.motif.x86">
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
+ <property name="archiveName" value="${archiveNamePrefix}-linux.motif.x86.zip"/>
+ </ant>
+ </target>
+ <target name="assemble.org.eclipse.pde.build.container.feature.solaris.motif.sparc">
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
+ <property name="archiveName" value="${archiveNamePrefix}-solaris.motif.sparc.zip"/>
+ </ant>
+ </target>
+ <target name="assemble.org.eclipse.pde.build.container.feature.solaris.gtk.sparc">
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
+ <property name="archiveName" value="${archiveNamePrefix}-solaris.gtk.sparc.zip"/>
+ </ant>
+ </target>
+ <target name="assemble.org.eclipse.pde.build.container.feature.aix.motif.ppc">
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
+ <property name="archiveName" value="${archiveNamePrefix}-aix.motif.ppc.zip"/>
+ </ant>
+ </target>
+ <target name="assemble.org.eclipse.pde.build.container.feature.hpux.motif.PA_RISC">
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
+ <property name="archiveName" value="${archiveNamePrefix}-hpux.motif.PA_RISC.zip"/>
+ </ant>
+ </target>
+ <target name="assemble.org.eclipse.pde.build.container.feature.macosx.carbon.ppc">
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
+ <property name="archiveName" value="${archiveNamePrefix}-macosx.carbon.ppc.zip"/>
+ </ant>
+ </target>
+ <target name="assemble.org.eclipse.pde.build.container.feature.macosx.carbon.x86">
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
+ <property name="archiveName" value="${archiveNamePrefix}-macosx.carbon.x86.zip"/>
+ </ant>
+ </target>
+
+</project>
Property changes on: trunk/deployment/org.cishell.reference.releng/build-files/allElements.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/deployment/org.cishell.reference.releng/build-files/ant-contrib-LICENSE.txt
===================================================================
--- trunk/deployment/org.cishell.reference.releng/build-files/ant-contrib-LICENSE.txt (rev 0)
+++ trunk/deployment/org.cishell.reference.releng/build-files/ant-contrib-LICENSE.txt 2007-12-12 21:16:01 UTC (rev 561)
@@ -0,0 +1,47 @@
+/*
+ * 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...@li....
+ *
+ * 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.
+ * ====================================================================
+ */
Property changes on: trunk/deployment/org.cishell.reference.releng/build-files/ant-contrib-LICENSE.txt
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/deployment/org.cishell.reference.releng/build-files/ant-contrib.jar
===================================================================
(Binary files differ)
Property changes on: trunk/deployment/org.cishell.reference.releng/build-files/ant-contrib.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/deployment/org.cishell.reference.releng/build-files/automatedTests/eclipse-test-framework-3.3RC3.zip
===================================================================
(Binary files differ)
Property changes on: trunk/deployment/org.cishell.reference.releng/build-files/automatedTests/eclipse-test-framework-3.3RC3.zip
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/deployment/org.cishell.reference.releng/build-files/automatedTests/org.pluginbuilder.autotestsuite.feature-0.2.0.20070610PRDEclipse3_3.zip
===================================================================
(Binary files differ)
Property changes on: trunk/deployment/org.cishell.reference.releng/build-files/automatedTests/org.pluginbuilder.autotestsuite.feature-0.2.0.20070610PRDEclipse3_3.zip
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/deployment/org.cishell.reference.releng/build-files/automatedTests/run-tests.properties
===================================================================
--- trunk/deployment/org.cishell.reference.releng/build-files/automatedTests/run-tests.properties (rev 0)
+++ trunk/deployment/org.cishell.reference.releng/build-files/automatedTests/run-tests.properties 2007-12-12 21:16:01 UTC (rev 561)
@@ -0,0 +1,51 @@
+#
+# BEGIN default properties for executing run-tests.xml standalone
+# (these properties are already set if run-tests.xml is called
+# from the postBuild target in custumTargets.xml)
+#
+
+buildType=N
+# archivePrefix is used to determine to which location the build result must be
+# extracted:
+# if ${archivePrefix} == eclipse the folder will be ${test.eclipse.base}
+# ${test.eclipse.host} otherwise.
+# Note: The latter makes only sense if archive Prefix is set to ".". If it has
+# another value the eclipse host won't be created successfully.
+archivePrefix=.
+
+# test.eclipse.zip must be a zip file for windows and tar file for linux
+test.eclipse.zip=C:/downloads/eclipse-SDK-3.2.1-win32.zip
+autotestsuite.trace=true
+autotestsuite.plugin.inclusions=.*test$
+autotestsuite.plugin.exclusions=
+autotestsuite.class.inclusions=.*
+autotestsuite.class.exclusions=.*\\.All.*;.*ServerCommunication.*
+
+#
+# END default properties for executing run-tests.xml standalone
+#
+
+# test.eclipse.host points to a directory where an Eclipse installation for the
+# tests will be built. Therefore ${test.eclipse.zip} will be extracted first and
+# then there will be additional plug-ins be "installed", which means they will
+# be extracted. The implication of this kind of installation is that the test
+# Eclipse host must be called with the clean parameter later
+# It is expected that test.eclipse.host contains a subfolder eclipse.
+# The plug-ins which will be installed are the plug-ins located in
+# ${buildResultsDir} plus the eclipse test framework plus the autotestsuite.
+test.eclipse.base=${buildDirectory}/automatedTests
+
+test.eclipse.host=${test.eclipse.base}/eclipse
+
+# Denotes the ant script where the target ui-test is defined
+test.library.xml=${test.eclipse.host}/plugins/org.eclipse.test_3.1.0/library.xml
+
+# Directory where the reports are collected
+test.result.dir=${test.eclipse.host}/test-reports
+
+# Specifies the overall report in ${test.result.dir}/xml
+test.aggregated.report=testReport_${buildLabel}.xml
+
+# Workspace for the tests. Particularly useful is ${test.workspace}/.metadata/.log
+test.workspace=${test.eclipse.host}/workspace
+
Property changes on: trunk/deployment/org.cishell.reference.releng/build-files/automatedTests/run-tests.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/deployment/org.cishell.reference.releng/build-files/automatedTests/run-tests.xml
===================================================================
--- trunk/deployment/org.cishell.reference.releng/build-files/automatedTests/run-tests.xml (rev 0)
+++ trunk/deployment/org.cishell.reference.releng/build-files/automatedTests/run-tests.xml 2007-12-12 21:16:01 UTC (rev 561)
@@ -0,0 +1,117 @@
+<project name="Run automated Tests" default="run" basedir=".">
+ <taskdef resource="org/pluginbuilder/anttasks/pluginbuildertasks.properties" classpath="../pluginbuilder-anttasks.jar" />
+
+ <property file="../../build_local.properties" />
+ <property file="run-tests.properties" />
+
+ <import file="../build_shared.xml" />
+
+ <target name="-init">
+ <antcall target="-purgeTestEclipseHost" />
+ <property name="eclipse.installation.dir" value="${test.eclipse.base}/eclipse" />
+ <property name="eclipse.local.tar.non.server" value="${test.eclipse.zip}" />
+ <antcall target="-installTestEclipseHost" />
+ </target>
+
+ <target name="-purgeTestEclipseHost">
+ <delete dir="${test.eclipse.base}" failOnError="false" />
+ </target>
+
+ <target name="-installTestEclipseHost" description="Install Eclipse and all required plug-ins for testing" unless="isEclipseInstallationAvailable">
+ <echo message="Installing plug-ins for testing" />
+
+ <unzip dest="${test.eclipse.base}">
+ <fileset dir="." includes="eclipse-test-framework*.zip" />
+ </unzip>
+ <unzip dest="${test.eclipse.host}">
+ <fileset dir="." includes="org.pluginbuilder.autotestsuite*.zip" />
+ </unzip>
+ <condition property="buildResultZipDest" value="${test.eclipse.base}" else="${test.eclipse.host}">
+ <equals arg1="${archivePrefix}" arg2="eclipse" />
+ </condition>
+ <unzip dest="${buildResultZipDest}">
+ <fileset dir="${buildDirectory}" includes="${buildType}-**/*.zip" excludes="**/${archiveNamePrefix}-*"/>
+ </unzip>
+ <!-- unpack eclipse after the features because there might be product features extracted which contain a config.ini -->
+ <antcall target="unpack.eclipse">
+ <param name="unpack.eclipse" value="true"/>
+ </antcall>
+ </target>
+
+
+ <!-- Example target which demonstrates how to run a test suite with the Eclipse test fwk.
+ Note that it is not needed if you use the autotestsuite
+
+ <target name="-runTestSuite" description="Should be called from allTests.xml only">
+ <ant target="ui-test" antfile="${test.library.xml}" dir="${test.eclipse.host}">
+ <comment use -clean because plug-ins have been unzipped into the eclipse folder comment>
+ <property name="data-dir" value="${test.workspace} -clean" />
+ <property name="plugin-name" value="<your plugin id>" />
+ <property name="classname" value="<the class which defines the suite>" />
+ <property name="eclipse-home" value="${test.eclipse.host}" />
+ </ant>
+ </target>
+
+ <target name="run" depends="-init,-runTestSuite" description="Run manually defined tests and create a report.">
+ <delete dir="${test.result.dir}" />
+ <mkdir dir="${test.result.dir}/xml" />
+ <comment collect creates an aggregated report file in ${test.eclipse.host} comment>
+ <ant target="collect" antfile="${test.library.xml}" dir="${test.eclipse.host}">
+ <property name="includes" value="*.xml" />
+ <property name="output-file" value="${test.aggregated.report}" />
+ </ant>
+ <copy file="${test.eclipse.host}/${test.aggregated.report}" todir="${test.result.dir}/xml" />
+ <style style="${basedir}/JUNIT.XSL" basedir="${test.result.dir}/xml" destdir="${test.result.dir}/html" />
+
+ </target>
+ -->
+
+ <target name="run" depends="-init,-runAutoTests" description="Run all tests using the autotestsuite and create xml and html reports.">
+
+ <junitreport todir="${test.result.dir}/xml" tofile="${test.aggregated.report}">
+ <fileset dir="${test.result.dir}/xml">
+ <include name="*.xml" />
+ </fileset>
+ </junitreport>
+
+ <BundleFileLocator eclipseInstallationRoot="${test.eclipse.host}" bundleId="org.pluginbuilder.autotestsuite.application" filePath="JUNIT.XSL" property="junit.xsl.file" />
+
+ <style style="${junit.xsl.file}" basedir="${test.result.dir}/xml" includes="${test.aggregated.report}" destdir="${test.result.dir}/html" />
+ </target>
+
+ <target name="markErrorOrFailure" if="isErrorOrFailure">
+ <echo level="error" message="TESTS FAILED"/>
+ </target>
+
+ <target name="-runAutoTests">
+ <mkdir dir="${test.result.dir}/xml"/>
+ <java fork="true" dir="." logError="true" classname="org.eclipse.core.launcher.Main" resultproperty="autotestsuite.result">
+ <classpath>
+ <fileset dir="${test.eclipse.host}/plugins">
+ <include name="org.eclipse.equinox.launcher_*.jar" />
+ </fileset>
+ </classpath>
+ <arg line="-application org.pluginbuilder.autotestsuite.application.autotestapplication" />
+ <arg line="-data ${test.workspace}" />
+ <arg line="-os ${os}" />
+ <arg line="-ws ${ws}" />
+ <arg line="-arch ${arch}" />
+ <arg line="-consolelog" />
+
+ <sysproperty key="autotestsuite.results.directory" value="${test.result.dir}/xml" />
+ <sysproperty key="autotest.debug" value="${autotestsuite.trace}" />
+ <sysproperty key="autotestsuite.plugin.inclusions" value="${autotestsuite.plugin.inclusions}" />
+ <sysproperty key="autotestsuite.plugin.exclusions" value="${autotestsuite.plugin.exclusions}|^org.eclipse.test$" />
+ <sysproperty key="autotestsuite.class.inclusions" value="${autotestsuite.class.inclusions}" />
+ <sysproperty key="autotestsuite.class.exclusions" value="${autotestsuite.class.exclusions}" />
+
+ </java>
+ <condition property="isErrorOrFailure">
+ <not>
+ <equals arg1="${autotestsuite.result}" arg2="0"/>
+ </not>
+ </condition>
+ <antcall target="markErrorOrFailure"/>
+ </target>
+
+</project>
Property changes on: trunk/deployment/org.cishell.reference.releng/build-files/automatedTests/run-tests.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/deployment/org.cishell.reference.releng/build-files/build.properties
===================================================================
--- trunk/deployment/org.cishell.reference.releng/build-files/build.properties (rev 0)
+++ trunk/deployment/org.cishell.reference.releng/build-files/build.properties 2007-12-12 21:16:01 UTC (rev 561)
@@ -0,0 +1,126 @@
+###############################################################################
+# 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=cishell
+
+# 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=cishell
+
+# 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.4
+
+# The version of the byte code targeted
+javacTarget=1.4
+
+#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 & win32,wpf,x86 & linux,gtk,x86 & linux,gtk,x86_64 & macosx,carbon,ppc & macosx,carbon,x86 & solaris,gtk,sparc
+
+# 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=cishell.product
+brand=org.cishell.reference.gui.brand.cishell
+finalResults=/projects/cishell/www/htdocs/nightly
+
+# Prefix for the created archive file name
+# @category rcp
+#archiveNamePrefix=cishell
+
+# Actually it seems as if this should always be set to true
+runPackager=true
Property changes on: trunk/deployment/org.cishell.reference.releng/build-files/build.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/deployment/org.cishell.reference.releng/build-files/build_shared.xml
===================================================================
--- trunk/deployment/org.cishell.reference.releng/build-files/build_shared.xml (rev 0)
+++ trunk/deployment/org.cishell.reference.releng/build-files/build_shared.xml 2007-12-12 21:16:01 UTC (rev 561)
@@ -0,0 +1,114 @@
+<project name="Shared build targets">
+ <!-- the following properties must be set from the calling script
+ <property name="eclipse.installation.dir" value="${buildDirectory}"/>
+ <property name="eclipse.local.tar.non.server" value="${test.eclipse.host}"/>
+ eclipse.download.cache,pluginbuilder.eclipse.url
+ optional:
+ <property name="pluginbuilder.additional.feature.urls" value="featureurl1,featureurl2"/>
+ -->
+
+ <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpath="${buildHome}/build-files/ant-contrib.jar" />
+
+ <target name="unpack.eclipse">
+ <condition property="unpack.eclipse">
+ <not>
+ <available type="dir" file="${eclipse.installation.dir}"/>
+ </not>
+ </condition>
+ <antcall target="-unpack.eclipse.ifnecessary"/>
+ </target>
+
+ <!-- call either with or feature.url or pluginbuilder.eclipse.url
+ sets property archive.location to the archive path in download cache.
+ -->
+ <target name="-set.archive.location" if="pluginbuilder.is.server">
+ <condition property="archive.url" value="${feature.url}" else="${pluginbuilder.eclipse.url}">
+ <isset property="feature.url"/>
+ </condition>
+ <mkdir dir="${eclipse.download.cache}"/>
+ <tempfile destdir="${eclipse.download.cache}" property="tmp.file" suffix=".txt" prefix="downloadurl"/>
+ <echo file="${tmp.file}" message="${archive.url}"/>
+ <checksum file="${tmp.file}" property="pluginbuilder.eclipse.url.checksum"/>
+ <delete file="${tmp.file}"/>
+ <property name="archive.location" value="${eclipse.download.cache}/${pluginbuilder.eclipse.url.checksum}"/>
+ <!-- <echo message="${archive.location} is archive location for ${archive.url}"/> -->
+ </target>
+
+ <target name="-set.eclipse.local.tar.server" if="pluginbuilder.is.server" depends="-set.archive.location">
+ <property name="eclipse.local.tar" value="${archive.location}"/>
+ </target>
+
+ <target name="-set.eclipse.local.tar.non.server" unless="pluginbuilder.is.server">
+ <property name="eclipse.local.tar" value="${eclipse.local.tar.non.server}"/>
+ </target>
+
+ <target name="-get.archive.ifnecessary" unless="eclipse.is.downloaded">
+ <condition property="archive.url" value="${feature.url}" else="${pluginbuilder.eclipse.url}">
+ <isset property="feature.url"/>
+ </condition>
+ <get src="${archive.url}" dest="${archive.location}" />
+ </target>
+
+ <target name="-get.archive" depends="-set.archive.location" if="pluginbuilder.is.server">
+ <condition property="eclipse.is.downloaded">
+ <available file="${archive.location}" property="${eclipse.is.downloaded}"/>
+ </condition>
+ <antcall target="-get.archive.ifnecessary"/>
+ </target>
+
+ <target name="-get.features" if="pluginbuilder.is.server" >
+ <property name="pluginbuilder.feature.urls" value=""/>
+ <foreach list="${pluginbuilder.feature.urls}" param="feature.url" delimiter="," target="-get.archive" inheritall="true"/>
+ </target>
+
+ <target name="-unpack.features" if="pluginbuilder.is.server">
+ <property name="pluginbuilder.feature.urls" value=""/>
+ <foreach list="${pluginbuilder.feature.urls}" param="feature.url" delimiter="," target="-unpack.feature" inheritall="true"/>
+ </target>
+
+ <target name="-unpack.feature" depends="-set.archive.location">
+ <property name="tempunziplocation" value="${buildDirectory}/tmpunzip"/>
+ <delete dir="${tempunziplocation}" failonerror="false"/>
+ <mkdir dir="${tempunziplocation}"/>
+ <unzip src="${archive.location}" overwrite="true" dest="${tempunziplocation}"/>
+ <condition property="moveroot" value="${tempunziplocation}/eclipse" else="${tempunziplocation}">
+ <available file="${tempunziplocation}/eclipse" type="dir"/>
+ </condition>
+ <move todir="${eclipse.installation.dir}" includeemptydirs="true">
+ <fileset dir="${moveroot}" includes="**"/>
+ </move>
+ </target>
+
+ <target name="-unpack.eclipse.ifnecessary" if="unpack.eclipse">
+ <antcall target="-get.archive"/>
+ <condition property="is.windows">
+ <os family="windows"/>
+ </condition>
+ <antcall target="-unpack.eclipse.windows"/>
+ <antcall target="-unpack.eclipse.linux"/>
+ <antcall target="-get.features"/>
+ <antcall target="-unpack.features"/>
+ </target>
+
+ <target name="-unpack.eclipse.windows" if="is.windows" depends="-set.eclipse.local.tar.server,-set.eclipse.local.tar.non.server">
+ <unzip src="${eclipse.local.tar}" overwrite="true" dest="${eclipse.installation.dir}/.."/>
+ </target>
+
+ <target name="-unpack.eclipse.linux" unless="is.windows" depends="-set.eclipse.local.tar.server,-set.eclipse.local.tar.non.server">
+ <untar src="${eclipse.local.tar}" overwrite="true" dest="${eclipse.installation.dir}/.." compression="gzip"/>
+ </target>
+
+ <target name="test">
+ <property name="buildDirectory" value="C:/Temp/tst"/>
+ <mkdir dir="${buildDirectory}"/>
+ <property name="eclipse.download.cache" value="C:/Temp/downloadcache"/>
+ <property name="pluginbuilder.is.server" value="true"/>
+ <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"/>
+
+ <property name="eclipse.installation.dir" value="C:/Temp/eclipse_root/eclipse"/>
+ <delete dir="${eclipse.installation.dir}" failonerror="false"/>
+ <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"/>
+ <antcall target="unpack.eclipse"/>
+ </target>
+
+</project>
\ No newline at end of file
Property changes on: trunk/deployment/org.cishell.reference.releng/build-files/build_shared.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/deployment/org.cishell.reference.releng/build-files/customTargets.xml
===================================================================
--- trunk/deployment/org.cishell.reference.releng/build-files/customTargets.xml (rev 0)
+++ trunk/deployment/org.cishell.reference.releng/build-files/customTargets.xml 2007-12-12 21:16:01 UTC (rev 561)
@@ -0,0 +1,258 @@
+<project name="Build specific targets and properties" default="noDefault">
+ <condition property="isNightlyBuild">
+ <equals arg1="${buildType}" arg2="N" />
+ </condition>
+ <condition property="isNightlyOrIntegrationBuild">
+ <or>
+ <equals arg1="${buildType}" arg2="N" />
+ <equals arg1="${buildType}" arg2="I" />
+ </or>
+ </condition>
+
+ <property file="${buildHome}/pluginbuilder.config" />
+
+ <property file="${buildDirectory}/version.properties" />
+ <property name="buildLabel" value="${buildType}-${version.full}" />
+ <property name="buildId" value="${version.full}" />
+ <property name="archiveNamePrefix" value="${archivePrefix}-${buildLabel}" />
+ <property name="theResults" value="${finalResults}/${version.full}" />
+
+ <condition property="isCVSOrCopy" value="true">
+ <or>
+ <equals arg1="${pluginbuilder.is.cvs}" arg2="true"/>
+ <equals arg1="${pluginbuilder.is.copy}" arg2="true"/>
+ </or>
+ </condition>
+ <condition property="isSVN" value="true">
+ <equals arg1="${pluginbuilder.is.svn}" arg2="true"/>
+ </condition>
+ <condition property="isRunTests" value="true">
+ <equals arg1="${pluginbuilder.is.runtests}" arg2="true"/>
+ </condition>
+
+
+ <target name="allElements">
+ <condition property="isFetch" value="true">
+ <equals arg1="${target}" arg2="fetchElement"/>
+ </condition>
+ <condition property="is.svn.fetch" value="true">
+ <and>
+ <equals arg1="${target}" arg2="fetchElement"/>
+ <equals arg1="${pluginbuilder.is.svn}" arg2="true"/>
+ </and>
+ </condition>
+
+ <antcall target="allElementsExceptSvnFetch"/>
+ <antcall target="fetchSubversion"/>
+ </target>
+
+ <import file="allElements.xml"/>
+ <import file="subversionSupport.xml"/>
+
+
+ <!-- ===================================================================== -->
+ <!-- Check out map files from correct repository -->
+ <!-- Replace values for cvsRoot, package and mapVersionTag as desired. -->
+ <!-- ===================================================================== -->
+ <target name="getMapFiles" if="isCVSOrCopy">
+ <echo message="Copying map files."/>
+ <copy todir="${buildDirectory}/maps">
+ <fileset dir="${buildHome}/maps" includes="*.map"></fileset>
+ </copy>
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do before setup -->
+ <!-- ===================================================================== -->
+ <target name="preSetup" if="${product}">
+ <copy todir="${buildDirectory}" file="${buildHome}/${product}"/>
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after setup but before starting the build proper -->
+ <!-- ===================================================================== -->
+ <target name="postSetup">
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do before fetching the build elements -->
+ <!-- ===================================================================== -->
+ <target name="preFetch">
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after fetching the build elements -->
+ <!-- ===================================================================== -->
+ <target name="postFetch">
+ <condition property="is.fetch" value="true">
+ <available file="${buildDirectory}/plugins"/>
+ </condition>
+ <fail unless="is.fetch" message="There was no plug-in fetched. Was the configuration generated? Is the repository correct?"/>
+ <antcall target="replaceVersions"/>
+ </target>
+
+ <target name="replaceVersions">
+ <fail unless="version.full" message="Property version.full must be set" />
+ <fail unless="version.qualifier" message="Property version.qualifier must be set" />
+
+ <echo message="Updating versions in feature and plugin manifests. Full version: ${version.full}, qualifier: ${version.qualifier}"/>
+ <!-- make sure to select the test feature file as well -->
+ <replace dir="${buildDirectory}/features">
+ <include name="**/feature.xml"/>
+ <!-- adding the greater than on the right side is only a dirty trick to replace only the feature version -->
+ <replacefilter token="version="0.0.0">" value="version="${version.full}">" />
+ <replacefilter token="qualifier" value="${version.qualifier}" />
+ </replace>
+ <!-- in a manual build started with export from the feature.xml, there is no
+ need to replace the versions in the plugin.xml files if they are set to 0.0.0,
+ but here it needs to be -->
+ <replace dir="${buildDirectory}/plugins">
+ <include name="**/plugin.xml"/>
+ <replacefilter token="0.0.0" value="${version.full}" />
+ </replace>
+ <replace dir="${buildDirectory}/plugins">
+ <include name="**/META-INF/MANIFEST.MF"/>
+ <replacefilter token="Bundle-Version: 0.0.0" value="Bundle-Version: ${version.full}" />
+ <replacefilter token="qualifier" value="${version.qualifier}" />
+ </replace>
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do before generating the build scripts. -->
+ <!-- ===================================================================== -->
+ <target name="preGenerate">
+ <!-- fail unless="featureVersion" message="Property featureVersion must be set.
+ Either directly or in case of a nightly build with nightlyBuildFeatureVersionPrefix." />
+ -->
+ </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">
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after running the build.xmls for the elements being built. -->
+ <!-- ===================================================================== -->
+ <target name="postProcess">
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do before running assemble. -->
+ <!-- ===================================================================== -->
+ <target name="preAssemble">
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do after running assemble. -->
+ <!-- ===================================================================== -->
+ <target name="postAssemble">
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Steps to do before/after packaging RCP. -->
+ <!-- ===================================================================== -->
+ <target name="prePackage">
+ </target>
+ <target name="postPackage">
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do after the build is done. -->
+ <!-- ===================================================================== -->
+ <target name="add_extra-files" if="have_arch_files">
+ <mkdir dir="${buildDirectory}/temp.extra-files"/>
+ <unzip dest="${buildDirectory}/temp.extra-files" src="${archiveName}" />
+ <copy todir="${buildDirectory}/temp.extra-files/${archivePrefix}" overwrite="true">
+ <fileset dir="${buildDirectory}/plugins/${brand}/extra-files" includes="**/*"/>
+ </copy>
+ <delete file="${archiveName}" />
+
+ <zip destfile="${archiveName}" update="true" >
+ <zipfileset dir="${buildDirectory}/temp.extra-files" includes="**/*" excludes="${archivePrefix}/${archivePrefix}*"/>
+ <zipfileset dir="${buildDirectory}/temp.extra-files" includes="${archivePrefix}/${archivePrefix}*" filemode="755"/>
+ </zip>
+ <delete dir="${buildDirectory}/temp.extra-files"/>
+ </target>
+
+ <target name="pre_add_extra-files">
+ <available file="${buildDirectory}/${buildLabel}/${archiveNamePrefix}-${myArch}.zip" property="have_arch_files.${myArch}" />
+ <antcall target="add_extra-files" inheritall="true" inheritrefs="true">
+ <param name="archiveName" value="${buildDirectory}/${buildLabel}/${archiveNamePrefix}-${myArch}.zip" />
+ <param name="have_arch_files" value="have_arch_files.${myArch}"/>
+ </antcall>
+ </target>
+
+ <property name="buildResultsDirectory" value="${buildDirectory}/results" />
+ <target name="postBuild" depends="-prepareBuildResultsDirectory" unless="no.postBuild">
+ <antcall target="pre_add_extra-files">
+ <param name="myArch" value="win32.win32.x86" />
+ </antcall>
+
+ <antcall target="pre_add_extra-files">
+ <param name="myArch" value="win32.wpf.x86" />
+ </antcall>
+
+ <antcall target="pre_add_extra-files">
+ <param name="myArch" value="linux.gtk.x86" />
+ </antcall>
+
+ <antcall target="pre_add_extra-files">
+ <param name="myArch" value="linux.gtk.x86_64" />
+ </antcall>
+
+ <antcall target="pre_add_extra-files">
+ <param name="myArch" value="macosx.carbon.ppc" />
+ </antcall>
+
+ <antcall target="pre_add_extra-files">
+ <param name="myArch" value="macosx.carbon.x86" />
+ </antcall>
+
+ <antcall target="pre_add_extra-files">
+ <param name="myArch" value="solaris.gtk.sparc" />
+ </antcall>
+
+ <antcall target="runTests"/>
+ <copy todir="${buildResultsDirectory}" flatten="true">
+ <fileset dir="${buildDirectory}" includes="${buildType}-**/*.zip" />
+ </copy>
+ <condition property="is.External.Postbuild">
+ <available file="${buildHome}/build-files/postBuild.xml"/>
+ </condition>
+ <antcall target="callExternalPostBuild"/>
+
+ <mkdir dir="${theResults}" />
+ <copy todir="${theResults}" flatten="true">
+ <fileset dir="${buildDirectory}/results" includes="**/*" />
+ </copy>
+ <copy todir="${theResults}">
+ <fileset dir="${buildDirectory}/updateSite" includes="**/*"/>
+ </copy>
+ </target>
+ <!-- ===================================================================== -->
+ <!-- Run tests. -->
+ <!-- ===================================================================== -->
+ <target name="runTests" if="isRunTests">
+ <property name="automatedTestsHome" location="${buildHome}/build-files/automatedTests"/>
+
+ <ant antfile="${automatedTestsHome}/run-tests.xml" target="run" dir="${automatedTestsHome}">
+ <property name="test.result.dir" value="${buildResultsDirectory}/testresults"/>
+ </ant>
+ </target>
+ <!--======================================================-->
+ <!-- Gather build results -->
+ <!-- ==================================================== -->
+ <target name="-prepareBuildResultsDirectory">
+ <echo message="Creating ${buildResultsDirectory}" />
+ <mkdir dir="${buildResultsDirectory}" />
+ </target>
+
+ <!--======================================================-->
+ <!-- Call External post build file if available -->
+ <!-- ==================================================== -->
+ <target name="callExternalPostBuild" if="is.External.Postbuild">
+ <ant antfile="${buildHome}/build-files/postBuild.xml"/>
+ </target>
+
+ <target name="noDefault">
+ <echo message="You must specify a target when invoking this file" />
+ </target>
+</project>
Property changes on: trunk/deployment/org.cishell.reference.releng/build-files/customTargets.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/deployment/org.cishell.reference.releng/build-files/fetchSvnAll.xml
===================================================================
--- trunk/deployment/org.cishell.reference.releng/build-files/fetchSvnAll.xml (rev 0)
+++ trunk/deployment/org.cishell.reference.releng/build-files/fetchSvnAll.xml 2007-12-12 21:16:01 UTC (rev 561)
@@ -0,0 +1,148 @@
+<project name="Generated">
+ <target name="fetch.svn.all">
+ <!-- If you want to pull from a local filesystem, do something like this:
+ <copydir src="/home/bherr/cishell-workspace/org.cishell.environment.equinox.feature" dest="/tmp/pluginbuilder/org.cishell.reference.releng/features/org.cishell.environment.equinox.feature" />
+ <copydir src="/home/bherr/cishell-workspace/org.cishell.reference.feature" dest="/tmp/pluginbuilder/org.cishell.reference.releng/features/org.cishell.reference.feature" />
+ <copydir src="/home/bherr/cishell-workspace/org.cishell.reference.gui.brand.cishell" dest="/tmp/pluginbuilder/org.cishell.reference.releng/plugins/org.cishell.reference.gui.brand.cishell" />
+ -->
+
+ <antcall target="svn.co">
+ <param name="target" value="features"/>
+ <param name="element.id" value="org.cishell.feature"/>
+ <param name="project.name" value="/deployment/org.cishell.feature"/>
+ <param name="url" value="https://cishell.svn.sourceforge.net/svnroot/cishell/trunk"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.cishell.framework"/>
+ <param name="project.name" value="/core/org.cishell.framework"/>
+ <param name="url" value="https://cishell.svn.sourceforge.net/svnroot/cishell/trunk"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="features"/>
+ <param name="element.id" value="org.cishell.environment.equinox.feature"/>
+ <param name="project.name" value="/deployment/org.cishell.environment.equinox.feature"/>
+ <param name="url" value="https://cishell.svn.sourceforge.net/svnroot/cishell/trunk"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="features"/>
+ <param name="element.id" value="org.cishell.reference.feature"/>
+ <param name="project.name" value="/deployment/org.cishell.reference.feature"/>
+ <param name="url" value="https://cishell.svn.sourceforge.net/svnroot/cishell/trunk"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.cishell.reference"/>
+ <param name="project.name" value="/core/org.cishell.reference"/>
+ <param name="url" value="https://cishell.svn.sourceforge.net/svnroot/cishell/trunk"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.cishell.reference.services"/>
+ <param name="project.name" value="/core/org.cishell.reference.services"/>
+ <param name="url" value="https://cishell.svn.sourceforge.net/svnroot/cishell/trunk"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.cishell.service.autostart"/>
+ <param name="project.name" value="/core/org.cishell.service.autostart"/>
+ <param name="url" value="https://cishell.svn.sourceforge.net/svnroot/cishell/trunk"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.cishell.templates"/>
+ <param name="project.name" value="/templates/org.cishell.templates"/>
+ <param name="url" value="https://cishell.svn.sourceforge.net/svnroot/cishell/trunk"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.cishell.templates.jythonrunner"/>
+ <param name="project.name" value="/templates/org.cishell.templates.jythonrunner"/>
+ <param name="url" value="https://cishell.svn.sourceforge.net/svnroot/cishell/trunk"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="edu.uci.ics.jung"/>
+ <param name="project.name" value="/libs/edu.uci.ics.jung"/>
+ <param name="url" value="https://cishell.svn.sourceforge.net/svnroot/cishell/trunk"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.apache.commons.collections"/>
+ <param name="project.name" value="/libs/org.apache.commons.collections"/>
+ <param name="url" value="https://cishell.svn.sourceforge.net/svnroot/cishell/trunk"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="cern.colt"/>
+ <param name="project.name" value="/libs/cern.colt"/>
+ <param name="url" value="https://cishell.svn.sourceforge.net/svnroot/cishell/trunk"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="features"/>
+ <param name="element.id" value="org.cishell.reference.gui.feature"/>
+ <param name="project.name" value="/deployment/org.cishell.reference.gui.feature"/>
+ <param name="url" value="https://cishell.svn.sourceforge.net/svnroot/cishell/trunk"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.cishell.reference.gui.brand.cishell"/>
+ <param name="project.name" value="/clients/gui/org.cishell.reference.gui.brand.cishell"/>
+ <param name="url" value="https://cishell.svn.sourceforge.net/svnroot/cishell/trunk"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.cishell.reference.gui.datamanager"/>
+ <param name="project.name" value="/clients/gui/org.cishell.reference.gui.datamanager"/>
+ <param name="url" value="https://cishell.svn.sourceforge.net/svnroot/cishell/trunk"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.cishell.reference.gui.log"/>
+ <param name="project.name" value="/clients/gui/org.cishell.reference.gui.log"/>
+ <param name="url" value="https://cishell.svn.sourceforge.net/svnroot/cishell/trunk"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.cishell.reference.gui.menumanager"/>
+ <param name="project.name" value="/clients/gui/org.cishell.reference.gui.menumanager"/>
+ <param name="url" value="https://cishell.svn.sourceforge.net/svnroot/cishell/trunk"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.cishell.reference.gui.workspace"/>
+ <param name="project.name" value="/clients/gui/org.cishell.reference.gui.workspace"/>
+ <param name="url" value="https://cishell.svn.sourceforge.net/svnroot/cishell/trunk"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.cishell.reference.gui.guibuilder.swt"/>
+ <param name="project.name" value="/clients/gui/org.cishell.reference.gui.guibuilder.swt"/>
+ <param name="url" value="https://cishell.svn.sourceforge.net/svnroot/cishell/trunk"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.cishell.reference.gui.persistence"/>
+ <param name="project.name" value="/clients/gui/org.cishell.reference.gui.persistence"/>
+ <param name="url" value="https://cishell.svn.sourceforge.net/svnroot/cishell/trunk"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.cishell.reference.gui.scheduler"/>
+ <param name="project.name" value="/clients/gui/org.cishell.reference.gui.scheduler"/>
+ <param name="url" value="https://cishell.svn.sourceforge.net/svnroot/cishell/trunk"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="org.prefuse.lib"/>
+ <param name="project.name" value="/plugins/libs/prefuselib"/>
+ <param name="url" value="http://nwb.slis.indiana.edu/svn/nwb/trunk"/>
+ </antcall>
+ <antcall target="svn.co">
+ <param name="target" value="plugins"/>
+ <param name="element.id" value="jythonlib"/>
+ <param name="project.name" value="/libs/jythonlib"/>
+ <param name="url" value="https://cishell.svn.sourceforge.net/svnroot/cishell/trunk"/>
+ </antcall>
+ </target>
+</project>
\ No newline at end of file
Property changes on: trunk/deployment/org.cishell.reference.releng/build-files/fetchSvnAll.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/deployment/org.cishell.reference.releng/build-files/pluginbuilder-anttasks.jar
===================================================================
(Binary files differ)
Property changes on: trunk/deployment/org.cishell.reference.releng/build-files/pluginbuilder-anttasks.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/deployment/org.cishell.reference.releng/build-files/postBuild.xml
===================================================================
--- trunk/deployment/org.cishell.reference.releng/build-files/postBuild.xml (rev 0)
+++ trunk/deployment/org.cishell.reference.releng/build-files/postBuild.xml 2007-12-12 21:16:01 UTC (rev 561)
@@ -0,0 +1,47 @@
+<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>
+
+ <!-- replace at least yourFeature, categoryName and categoryDef -->
+ <target name="-createNightlyBuildSiteXml" if="isNightlyBuild">
+ <echo file="${UpdateSiteStagingLocation}/site.xml"><?xml
+ version="1.0" encoding="UTF-8"?>
+ <site> <description> Descript...
[truncated message content] |