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] |
From: <bh...@us...> - 2007-12-19 18:01:59
|
Revision: 582 http://cishell.svn.sourceforge.net/cishell/?rev=582&view=rev Author: bh2 Date: 2007-12-19 10:01:45 -0800 (Wed, 19 Dec 2007) Log Message: ----------- Initial commit of the installer builder for cishell Modified Paths: -------------- trunk/deployment/org.cishell.reference.releng/build_local.properties Added Paths: ----------- trunk/deployment/org.cishell.reference.releng/installer/ trunk/deployment/org.cishell.reference.releng/installer/${files.dir}/ trunk/deployment/org.cishell.reference.releng/installer/build.properties trunk/deployment/org.cishell.reference.releng/installer/build.xml trunk/deployment/org.cishell.reference.releng/installer/info/ trunk/deployment/org.cishell.reference.releng/installer/info/license.txt trunk/deployment/org.cishell.reference.releng/installer/info/mac_instructions.txt trunk/deployment/org.cishell.reference.releng/installer/info/thanks.txt trunk/deployment/org.cishell.reference.releng/installer/info/unix_shortcut_specification.xml trunk/deployment/org.cishell.reference.releng/installer/info/windows_shortcut_specification.xml trunk/deployment/org.cishell.reference.releng/installer/lib/ trunk/deployment/org.cishell.reference.releng/installer/lib/standalone-compiler.jar trunk/deployment/org.cishell.reference.releng/installer/post_install/ trunk/deployment/org.cishell.reference.releng/installer/post_install/post_install.bat trunk/deployment/org.cishell.reference.releng/installer/post_install/post_install.sh Modified: trunk/deployment/org.cishell.reference.releng/build_local.properties =================================================================== --- trunk/deployment/org.cishell.reference.releng/build_local.properties 2007-12-17 23:16:23 UTC (rev 581) +++ trunk/deployment/org.cishell.reference.releng/build_local.properties 2007-12-19 18:01:45 UTC (rev 582) @@ -14,7 +14,7 @@ # # the eclipse build host # -eclipseDir=../org.cishell.reference.releng.eclipse/eclipse/ +eclipseDir=/projects/cishell/releng/org.cishell.reference.releng.eclipse/eclipse/ # # environment: both the environment for the eclipse build host (baseos, basews and basearch) Added: trunk/deployment/org.cishell.reference.releng/installer/build.properties =================================================================== --- trunk/deployment/org.cishell.reference.releng/installer/build.properties (rev 0) +++ trunk/deployment/org.cishell.reference.releng/installer/build.properties 2007-12-19 18:01:45 UTC (rev 582) @@ -0,0 +1,13 @@ +project.name=Cyberinfrastructure Shell +project.short.name=CIShell +home.url=http://cishell.org +files.url.base=http://cishell.org/nightly + +#These properties could be passed in by the releng stuff +#but it would also double the size of each nightly dir. +#So, I recommend not creating this until a release is made. +version=0.8.0 +version.full=0.8.0.200712180500NGT +buildLabel = N-${version.full} +finalResults=/projects/cishell/www/htdocs/nightly +archivePrefix=cishell Property changes on: trunk/deployment/org.cishell.reference.releng/installer/build.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/deployment/org.cishell.reference.releng/installer/build.xml =================================================================== --- trunk/deployment/org.cishell.reference.releng/installer/build.xml (rev 0) +++ trunk/deployment/org.cishell.reference.releng/installer/build.xml 2007-12-19 18:01:45 UTC (rev 582) @@ -0,0 +1,225 @@ +<!-- + CIShell: Cyberinfrastructure Shell (http://cishell.org/) + + CIShell Installer Generator + + Maintained by Bruce Herr (bh...@bh...). +--> + +<project name='CIShell Installer' default='compile.both' basedir='.'> + <!-- Properties --> + <property file="build.properties" /> + <property name="full.jar" value="${archivePrefix}-full-installer_${version}.jar"/> + <property name="web.jar" value="${archivePrefix}-web-installer_${version}.jar"/> + <property name="build.dir" value="${finalResults}/${version.full}"/> + <property name="packs.url" value="${files.url.base}/${version.full}/packs"/> + <property name="packs.dir" value="${build.dir}/packs" /> + + <!-- Allows us to use the IzPack Ant task --> + <taskdef name="izpack" classpath="${basedir}/lib/standalone-compiler.jar" + classname="com.izforge.izpack.ant.IzPackTask"/> + + <target name='compile.both' depends='compile.web,compile.full' /> + + <target name='compile.full'> + <antcall target="-compile"> + <param name="installerType" value="standard" /> + <param name="outputFile" value="${build.dir}/${full.jar}" /> + </antcall> + </target> + + <target name='compile.web'> + <mkdir dir="${packs.dir}"/> + <antcall target="-compile"> + <param name="installerType" value="web" /> + <param name="outputFile" value="${packs.dir}/${web.jar}" /> + </antcall> + <move file="${packs.dir}/${web.jar}" tofile="${build.dir}/${web.jar}" /> + </target> + + <target name='-compile'> + <izpack installerType="${installerType}" + output="${outputFile}" + basedir="${basedir}"> + <config><![CDATA[ +<installation version="1.0"> + + <!-- + The info section. + --> + <info> + <appname>@{project.name}</appname> + <appsubpath>@{archivePrefix}</appsubpath> + <appversion>@{version}</appversion> + <authors> + <author name="Bruce Herr" email="bh...@bh..." /> + <author name="Weixia Huang" email="hu...@in..." /> + <author name="Shashikant Penumarthy" email="sp...@cs..." /> + <author name="Dr. Katy Borner" email="ka...@in..." /> + </authors> + <url>@{home.url}/</url> + <webdir>@{packs.url}</webdir> + <javaversion>1.4</javaversion> + </info> + + <variables> + <variable name="archivePrefix" value="@{archivePrefix}"/> + <variable name="projectName" value="@{project.name}"/> + <variable name="projectShortName" value="@{project.short.name}"/> + </variables> + + <!-- + The gui preferences indication. + Sets the installer window to 640x480. It will not be able to change the size. + --> + <guiprefs width="640" height="480" resizable="no"> + <laf name="metouia"> + <os family="unix" /> + </laf> + <laf name="looks"> + <os family="windows" /> + <param name="variant" value="extwin" /> + </laf> + <modifier value="true" key="showDebugWindow"/> + </guiprefs> + + <!-- + The locale section. + Asks here to include the English and French langpacks. + --> + <locale> + <langpack iso3="eng" /> + </locale> + + <!-- + The resources section. + The ids must be these ones if you want to use the LicencePanel and/or the InfoPanel. + --> + <resources> + <res id="LicencePanel.licence" src="info/license.txt" /> + <!-- <res id="Installer.image" src="info/nice-image.png" /> --> + <res src="info/windows_shortcut_specification.xml" + id="shortcutSpec.xml" /> + <res src="info/unix_shortcut_specification.xml" + id="Unix_shortcutSpec.xml"/> + <res id="InfoPanel.info" src="info/thanks.txt" /> + <res id="XInfoPanel.info" src="info/mac_instructions.txt" /> + </resources> + + <native type="izpack" name="ShellLink.dll" /> + + <!-- + The panels section. + We indicate here which panels we want to use. The order will be respected. + --> + <panels> + <panel classname="HelloPanel" /> + <panel classname="LicencePanel" /> + <panel classname="PacksPanel"/> + <panel classname="TargetPanel" /> + <panel classname="InstallPanel" /> + <panel classname="ShortcutPanel" /> + <panel os="mac" classname="XInfoPanel" /> + <panel classname="InfoPanel" /> + <panel classname="SimpleFinishPanel" /> + </panels> + + <!-- + The packs section. + We specify here our packs. + --> + <packs> + <pack name="Windows_Vista" os="windows" required="no"> + <description>Windows Vista Version</description> + <file unpack="true" targetdir="$INSTALL_PATH" + src="@{build.dir}/@{archivePrefix}-@{buildLabel}-win32.wpf.x86.zip" /> + + <parsable targetfile="$INSTALL_PATH/post_install.bat" /> + <file targetdir="$INSTALL_PATH" + src="post_install/post_install.bat" /> + <executable keep="false" stage="postinstall" + targetfile="$INSTALL_PATH/post_install.bat" /> + </pack> + <pack name="Windows_XP" os="windows" required="no"> + <description>Windows 2000/XP Version</description> + <file unpack="true" targetdir="$INSTALL_PATH" + src="@{build.dir}/@{archivePrefix}-@{buildLabel}-win32.win32.x86.zip" /> + + <parsable targetfile="$INSTALL_PATH/post_install.bat" /> + <file targetdir="$INSTALL_PATH" + src="post_install/post_install.bat" /> + <executable keep="false" stage="postinstall" + targetfile="$INSTALL_PATH/post_install.bat"/> + </pack> + <pack name="32-bit_Linux_(x86)" os="unix" required="no"> + <description>32-bit Linux (x86) Version</description> + <file unpack="true" targetdir="$INSTALL_PATH" + src="@{build.dir}/@{archivePrefix}-@{buildLabel}-linux.gtk.x86.zip" /> + + <parsable targetfile="$INSTALL_PATH/post_install.sh" /> + <file targetdir="$INSTALL_PATH" + src="post_install/post_install.sh" /> + <executable keep="false" stage="postinstall" + targetfile="$INSTALL_PATH/post_install.sh" /> + <executable keep="true" stage="never" + targetfile="$INSTALL_PATH/@{archivePrefix}" /> + </pack> + <pack name="64-bit_Linux_(x86_64)" os="unix" required="no"> + <description>64-bit Linux (x86_64) Version</description> + <file unpack="true" targetdir="$INSTALL_PATH" + src="@{build.dir}/@{archivePrefix}-@{buildLabel}-linux.gtk.x86_64.zip" /> + + <parsable targetfile="$INSTALL_PATH/post_install.sh" /> + <file targetdir="$INSTALL_PATH" + src="post_install/post_install.sh" /> + <executable keep="false" stage="postinstall" + targetfile="$INSTALL_PATH/post_install.sh" /> + <executable keep="true" stage="never" + targetfile="$INSTALL_PATH/@{archivePrefix}" /> + </pack> + <pack name="Mac_OSX_(x86)" os="mac" required="no"> + <description>Mac OSX (x86) Version</description> + <file unpack="true" targetdir="$INSTALL_PATH" + src="@{build.dir}/@{archivePrefix}-@{buildLabel}-macosx.carbon.x86.zip" /> + + <parsable targetfile="$INSTALL_PATH/post_install.sh" /> + <file targetdir="$INSTALL_PATH" + src="post_install/post_install.sh" /> + <executable keep="false" stage="postinstall" + targetfile="$INSTALL_PATH/post_install.sh" /> + <executable keep="true" stage="never" + targetfile="$INSTALL_PATH/@{archivePrefix}.app/Contents/MacOS/@{archivePrefix}" /> + </pack> + <pack name="Mac_OSX_(ppc)" os="mac" required="no"> + <description>Mac OSX (ppc) Version</description> + <file unpack="true" targetdir="$INSTALL_PATH" + src="@{build.dir}/@{archivePrefix}-@{buildLabel}-macosx.carbon.ppc.zip" /> + + <parsable targetfile="$INSTALL_PATH/post_install.sh" /> + <file targetdir="$INSTALL_PATH" + src="post_install/post_install.sh" /> + <executable keep="false" stage="postinstall" + targetfile="$INSTALL_PATH/post_install.sh" /> + <executable keep="true" stage="never" + targetfile="$INSTALL_PATH/@{archivePrefix}.app/Contents/MacOS/@{archivePrefix}" /> + </pack> + <pack name="Solaris_(sparc)" os="unix" required="no"> + <description>Solaris (sparc) Version</description> + <file unpack="true" targetdir="$INSTALL_PATH" + src="@{build.dir}/@{archivePrefix}-@{buildLabel}-solaris.gtk.sparc.zip" /> + + <parsable targetfile="$INSTALL_PATH/post_install.sh" /> + <file targetdir="$INSTALL_PATH" + src="post_install/post_install.sh" /> + <executable keep="false" stage="postinstall" + targetfile="$INSTALL_PATH/post_install.sh" /> + <executable keep="true" stage="never" + targetfile="$INSTALL_PATH/@{archivePrefix}" /> + </pack> + </packs> + +</installation> + ]]></config> + </izpack> + </target> +</project> \ No newline at end of file Property changes on: trunk/deployment/org.cishell.reference.releng/installer/build.xml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/deployment/org.cishell.reference.releng/installer/info/license.txt =================================================================== --- trunk/deployment/org.cishell.reference.releng/installer/info/license.txt (rev 0) +++ trunk/deployment/org.cishell.reference.releng/installer/info/license.txt 2007-12-19 18:01:45 UTC (rev 582) @@ -0,0 +1,20 @@ +CIShell: Cyberinfrastructure Shell +Copyright 2005 Indiana University + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +implied. See the License for the specific language governing +permissions and limitations under the License. + +Project Contacts: +Bruce Herr (bh...@bh...) +Weixia Huang (hu...@in...) +Shashikant Penumarthy (sp...@in...) +Dr. Katy Borner (ka...@in...) Property changes on: trunk/deployment/org.cishell.reference.releng/installer/info/license.txt ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/deployment/org.cishell.reference.releng/installer/info/mac_instructions.txt =================================================================== --- trunk/deployment/org.cishell.reference.releng/installer/info/mac_instructions.txt (rev 0) +++ trunk/deployment/org.cishell.reference.releng/installer/info/mac_instructions.txt 2007-12-19 18:01:45 UTC (rev 582) @@ -0,0 +1,5 @@ +Extra installation steps for Mac OSX users: + +For all CIShell features to work properly, please upgrade to the newest version +of Java, version 1.5.0 Release 5 (or greater). See the FAQ section at +http://cishell.org for more information. Property changes on: trunk/deployment/org.cishell.reference.releng/installer/info/mac_instructions.txt ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/deployment/org.cishell.reference.releng/installer/info/thanks.txt =================================================================== --- trunk/deployment/org.cishell.reference.releng/installer/info/thanks.txt (rev 0) +++ trunk/deployment/org.cishell.reference.releng/installer/info/thanks.txt 2007-12-19 18:01:45 UTC (rev 582) @@ -0,0 +1,8 @@ +Installation of CIShell: Cyberinfrastructure Shell was successful! + +If you have any problems, please contact the CIShell development team at +ci...@li.... +New releases will be announced on the users list. You can sign up on our +sourceforge page at http://sourceforge.net/projects/cishell + +Please go to http://cishell.org for more information and breaking news. Property changes on: trunk/deployment/org.cishell.reference.releng/installer/info/thanks.txt ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/deployment/org.cishell.reference.releng/installer/info/unix_shortcut_specification.xml =================================================================== --- trunk/deployment/org.cishell.reference.releng/installer/info/unix_shortcut_specification.xml (rev 0) +++ trunk/deployment/org.cishell.reference.releng/installer/info/unix_shortcut_specification.xml 2007-12-19 18:01:45 UTC (rev 582) @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> + +<shortcuts> + <programGroup defaultName="${projectShortName}" location="applications"/> + <shortcut + name="${projectShortName}" + programGroup="yes" + desktop="yes" + applications="no" + startMenu="yes" + startup="no" + target="$INSTALL_PATH/${archivePrefix}" + commandLine="" + workingDirectory="$INSTALL_PATH" + description="${projectName}" + iconFile="$INSTALL_PATH/icon.xpm" + iconIndex="0" + type="Application" + encoding="UTF-8" + terminal="false" + KdeSubstUID="false" + initialState="normal"> + </shortcut> +</shortcuts> Property changes on: trunk/deployment/org.cishell.reference.releng/installer/info/unix_shortcut_specification.xml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/deployment/org.cishell.reference.releng/installer/info/windows_shortcut_specification.xml =================================================================== --- trunk/deployment/org.cishell.reference.releng/installer/info/windows_shortcut_specification.xml (rev 0) +++ trunk/deployment/org.cishell.reference.releng/installer/info/windows_shortcut_specification.xml 2007-12-19 18:01:45 UTC (rev 582) @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> + +<shortcuts> + <programGroup defaultName="${projectName}" + location="startMenu"/> + <shortcut + name="${projectName}" + target="$INSTALL_PATH\${archivePrefix}.exe" + commandLine="" + workingDirectory="$INSTALL_PATH" + description="${projectName}" + iconFile="$INSTALL_PATH\${archivePrefix}.exe" + iconIndex="0" + initialState="normal" + programGroup="yes" + desktop="yes" + applications="no" + startMenu="yes" + startup="no"> + </shortcut> + + <shortcut + name="Uninstall ${projectShortName}" + target="$INSTALL_PATH\Uninstaller\uninstaller.jar" + commandLine="" + workingDirectory="$INSTALL_PATH\Uninstaller" + description="Uninstall ${projectShortName}" + iconFile="$INSTALL_PATH\${archivePrefix}.exe" + iconIndex="0" + initialState="normal" + programGroup="yes" + desktop="yes" + applications="no" + startMenu="yes" + startup="no"> + </shortcut> + +</shortcuts> Property changes on: trunk/deployment/org.cishell.reference.releng/installer/info/windows_shortcut_specification.xml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/deployment/org.cishell.reference.releng/installer/lib/standalone-compiler.jar =================================================================== (Binary files differ) Property changes on: trunk/deployment/org.cishell.reference.releng/installer/lib/standalone-compiler.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/deployment/org.cishell.reference.releng/installer/post_install/post_install.bat =================================================================== --- trunk/deployment/org.cishell.reference.releng/installer/post_install/post_install.bat (rev 0) +++ trunk/deployment/org.cishell.reference.releng/installer/post_install/post_install.bat 2007-12-19 18:01:45 UTC (rev 582) @@ -0,0 +1,3 @@ +move "$INSTALL_PATH\${archivePrefix}" "$INSTALL_PATH\${archivePrefix}_install" +xcopy /E "$INSTALL_PATH\${archivePrefix}_install\*" "$INSTALL_PATH" +rmdir /S /Q "$INSTALL_PATH\${archivePrefix}_install" Added: trunk/deployment/org.cishell.reference.releng/installer/post_install/post_install.sh =================================================================== --- trunk/deployment/org.cishell.reference.releng/installer/post_install/post_install.sh (rev 0) +++ trunk/deployment/org.cishell.reference.releng/installer/post_install/post_install.sh 2007-12-19 18:01:45 UTC (rev 582) @@ -0,0 +1,6 @@ +#!/bin/sh + +mv "$INSTALL_PATH/${archivePrefix}" "$INSTALL_PATH/${archivePrefix}_install" +mv "$INSTALL_PATH/${archivePrefix}_install"/* "$INSTALL_PATH" +mv "$INSTALL_PATH/${archivePrefix}_install"/.* "$INSTALL_PATH" +rmdir "$INSTALL_PATH/${archivePrefix}_install" Property changes on: trunk/deployment/org.cishell.reference.releng/installer/post_install/post_install.sh ___________________________________________________________________ Name: svn:mime-type + text/plain This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |