diff options
author | Andrew Niefer | 2009-03-16 20:05:22 +0000 |
---|---|---|
committer | Andrew Niefer | 2009-03-16 20:05:22 +0000 |
commit | c9171fa8fb3e1a53b1cb92b252e78f420ad33120 (patch) | |
tree | 6415b4fc058cbafadd87e43aaa8b27cc3709398c | |
parent | 9280a3c53c4c580d45483b9fb4852729d3d42127 (diff) | |
download | rt.equinox.p2-c9171fa8fb3e1a53b1cb92b252e78f420ad33120.tar.gz rt.equinox.p2-c9171fa8fb3e1a53b1cb92b252e78f420ad33120.tar.xz rt.equinox.p2-c9171fa8fb3e1a53b1cb92b252e78f420ad33120.zip |
releng project for building p2.examples.rcp.cloud.releng
5 files changed, 175 insertions, 0 deletions
diff --git a/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/.project b/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/.project new file mode 100644 index 000000000..96fb3bc7a --- /dev/null +++ b/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/.project @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.equinox.p2.examples.rcp.cloud.releng</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + </buildSpec> + <natures> + </natures> +</projectDescription> diff --git a/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/Build Cloud Example.launch b/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/Build Cloud Example.launch new file mode 100644 index 000000000..9da6e2c17 --- /dev/null +++ b/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/Build Cloud Example.launch @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<launchConfiguration type="org.eclipse.ant.AntLaunchConfigurationType"> +<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/> +<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"> +<listEntry value="/org.eclipse.equinox.p2.examples.rcp.cloud.releng/buildProduct.xml"/> +</listAttribute> +<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"> +<listEntry value="1"/> +</listAttribute> +<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/> +<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.equinox.p2.examples.rcp.cloud.releng"/> +<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/org.eclipse.equinox.p2.examples.rcp.cloud.releng/buildProduct.xml}"/> +<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/> +</launchConfiguration> diff --git a/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/build.properties b/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/build.properties new file mode 100644 index 000000000..8bca1bde5 --- /dev/null +++ b/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/build.properties @@ -0,0 +1,111 @@ +############################################################################### +# Copyright (c) 2003, 2006 IBM Corporation and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# IBM Corporation - initial API and implementation +############################################################################### +product=/org.eclipse.equinox.p2.examples.rcp.cloud/cloud.product +runPackager=true + +p2.gathering=true + p2.metadata.repo=file:${builder}/repository +p2.artifact.repo=file:${builder}/repository + +#Set the name of the archive that will result from the product build. +#archiveNamePrefix= + +# The prefix that will be used in the generated archive. +archivePrefix=eclipse + +# The location underwhich all of the build output will be collected. +collectingFolder=${archivePrefix} + +# The list of {os, ws, arch} configurations to build. This +# value is a '&' separated list of ',' separate triples. For example, +# configs=win32,win32,x86 & linux,motif,x86 +# By default the value is *,*,* +configs = win32, win32, x86 +#configs=win32, win32, x86 & \ +# linux, gtk, ppc &\ +# linux, gtk, x86 & \ +# linux, gtk, x86_64 & \ +# linux, motif, x86 & \ +# solaris, motif, sparc & \ +# solaris, gtk, sparc & \ +# aix, motif, ppc & \ +# hpux, motif, PA_RISC & \ +# macosx, carbon, ppc + +#Allow cycles involving at most one bundle that needs to be compiled with the rest being binary bundles. +allowBinaryCycles = true + +# Type of build. Used in naming the build output. Typically this value is +# one of I, N, M, S, ... +buildType=I + +# ID of the build. Used in naming the build output. +buildId=TestBuild + +# Label for the build. Used in naming the build output +buildLabel=${buildType}.${buildId} + +# Timestamp for the build. Used in naming the build output +timestamp=007 + +#this property indicates whether the resolution should be done in development mode (i.e. ignore multiple bundles with singletons) +resolution.devMode=false + +skipBase=true +skipMaps=true +skipFetch=true + + +############# JAVA COMPILER OPTIONS ############## +# The location of the Java jars to compile against. Typically the rt.jar for your JDK/JRE +#bootclasspath=${java.home}/lib/rt.jar + +# specific JRE locations to compile against. These values are used to compile bundles specifying a +# Bundle-RequiredExecutionEnvironment. Uncomment and set values for environments that you support +#CDC-1.0/Foundation-1.0= /path/to/rt.jar +#CDC-1.1/Foundation-1.1= +#OSGi/Minimum-1.0= +#OSGi/Minimum-1.1= +#JRE-1.1= +#J2SE-1.2= +#J2SE-1.3= +#J2SE-1.4= +#J2SE-1.5= +#JavaSE-1.6= +#PersonalJava-1.1= +#PersonalJava-1.2= +#CDC-1.0/PersonalBasis-1.0= +#CDC-1.0/PersonalJava-1.0= +#CDC-1.1/PersonalBasis-1.1= +#CDC-1.1/PersonalJava-1.1= + +# Specify the output format of the compiler log when eclipse jdt is used +logExtension=.log + +# Whether or not to include debug info in the output jars +javacDebugInfo=false + +# Whether or not to fail the build if there are compiler errors +javacFailOnError=true + +# Enable or disable verbose mode of the compiler +javacVerbose=true + +# Extra arguments for the compiler. These are specific to the java compiler being used. +#compilerArg= + +# Default value for the version of the source code. This value is used when compiling plug-ins that do not set the Bundle-RequiredExecutionEnvironment or set javacSource in build.properties +#javacSource=1.3 + +# Default value for the version of the byte code targeted. This value is used when compiling plug-ins that do not set the Bundle-RequiredExecutionEnvironment or set javacTarget in build.properties. +#javacTarget=1.1 + + diff --git a/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/buildProduct.xml b/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/buildProduct.xml new file mode 100644 index 000000000..2f1b9a970 --- /dev/null +++ b/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/buildProduct.xml @@ -0,0 +1,26 @@ +<project default="main"> + <target name="main"> + <property name="baseLocation" value="${eclipse.home}"/> + <!-- by default, check for deltapack co-located with eclipse --> + <property name="deltapack" value="${eclipse.home}/../deltapack/eclipse"/> + + <!-- Check that we have a deltapack --> + <available property="haveDeltaPack" file="${deltapack}"/> + <fail unless="haveDeltaPack" message="The deltapack is required to build this product. Please edit buildProduct.xml or set the "deltapack" property." /> + + <property name="builder" value="${basedir}" /> + <property name="buildDirectory" value="${basedir}/buildDirectory"/> + <property name="pluginPath" value="${basedir}/..${path.separator}${deltapack}" /> + <property name="buildTempFolder" value="${buildDirectory}" /> + + <ant antfile="${eclipse.pdebuild.scripts}/productBuild/productBuild.xml" /> + + <move todir="${basedir}"> + <fileset dir="${buildDirectory}/I.TestBuild" includes="*.zip"/> + </move> + + <!-- refresh the workspace --> + <eclipse.convertPath fileSystemPath="${basedir}" property="resourcePath"/> + <eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/> + </target> +</project>
\ No newline at end of file diff --git a/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/readme.txt b/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/readme.txt new file mode 100644 index 000000000..8bc9a7ca6 --- /dev/null +++ b/examples/org.eclipse.equinox.p2.examples.rcp.cloud.releng/readme.txt @@ -0,0 +1,12 @@ +This project is a releng builder for the org.eclipse.equinox.p2.examples.rcp.cloud project. + +1) This build requires 3.5M6 or later + +2) This build requires the deltapack. By default it looks beside the eclipse install for "deltapack/eclipse/*". + If your deltapack is located elsewhere, set the "deltapack" property or edit the buildProduct.xml file. The + version of the deltapack used should match the version of the eclipse that is running. + +3) Due to bug 268867, if the buildDirectory/buildRepo is deleted/cleaned, then the repo must also be removed from + the workspace Available Software Sites preferences. + +4) Use the included launch config, or run buildProduct.xml as an ant build using the same JRE as the workspace
\ No newline at end of file |