Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSusan Franklin2009-03-17 12:58:33 -0400
committerSusan Franklin2009-03-17 12:58:33 -0400
commit048429f7eb2b842e4566918d0ce87e08c7f02894 (patch)
treec9b7b710583e740241f192f0e0c279aefcbc51d6 /examples
parent3d02d582abaaa18da772b287893b39f5531169f2 (diff)
downloadrt.equinox.p2-048429f7eb2b842e4566918d0ce87e08c7f02894.tar.gz
rt.equinox.p2-048429f7eb2b842e4566918d0ce87e08c7f02894.tar.xz
rt.equinox.p2-048429f7eb2b842e4566918d0ce87e08c7f02894.zip
initial content
Diffstat (limited to 'examples')
-rw-r--r--examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate.releng/.project11
-rw-r--r--examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate.releng/Build PrestartUpdate Example.launch15
-rw-r--r--examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate.releng/build.properties119
-rw-r--r--examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate.releng/buildProduct.xml26
-rw-r--r--examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate.releng/readme.txt16
5 files changed, 187 insertions, 0 deletions
diff --git a/examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate.releng/.project b/examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate.releng/.project
new file mode 100644
index 000000000..593704fe5
--- /dev/null
+++ b/examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate.releng/.project
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.equinox.p2.examples.rcp.prestartupdate.releng</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
diff --git a/examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate.releng/Build PrestartUpdate Example.launch b/examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate.releng/Build PrestartUpdate Example.launch
new file mode 100644
index 000000000..d0ceb1341
--- /dev/null
+++ b/examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate.releng/Build PrestartUpdate 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.prestartupdate.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.prestartupdate.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.prestartupdate.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.prestartupdate.releng/build.properties b/examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate.releng/build.properties
new file mode 100644
index 000000000..44358173c
--- /dev/null
+++ b/examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate.releng/build.properties
@@ -0,0 +1,119 @@
+###############################################################################
+# 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.prestartupdate/prestartupdate.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 ##############
+# For this example:
+# We specify the JRE locations for CDC-1.1/Foundation-1.1 and J2SE-1.5
+# because these are the required execution environments defined for the
+# bundles in the example.
+
+# The location of the Java jars to compile against. Typically the rt.jar for your JDK/JRE
+#bootclasspath=${java.home}/lib/rt.jar
+
+# If using an IBM VM, use
+#bootclasspath=${java.home}/lib/core.jar;${java.home}/lib/vm.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=${java.home}/lib/rt.jar
+#OSGi/Minimum-1.0=
+#OSGi/Minimum-1.1=
+#JRE-1.1=
+#J2SE-1.2=
+#J2SE-1.3=
+#J2SE-1.4=
+J2SE-1.5=${java.home}/lib/rt.jar
+#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.prestartupdate.releng/buildProduct.xml b/examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate.releng/buildProduct.xml
new file mode 100644
index 000000000..2f1b9a970
--- /dev/null
+++ b/examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate.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 &quot;deltapack&quot; 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.prestartupdate.releng/readme.txt b/examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate.releng/readme.txt
new file mode 100644
index 000000000..e0ab34ec4
--- /dev/null
+++ b/examples/org.eclipse.equinox.p2.examples.rcp.prestartupdate.releng/readme.txt
@@ -0,0 +1,16 @@
+This project is a releng builder for the org.eclipse.equinox.p2.examples.rcp.prestartupdate 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
+
+5) The build.properties file specifically defines the JRE's for CDC-1.1/Foundation-1.1 and
+ J2SE-1.5 because these are the required bundle execution environments in the example.
+ The build should be run on a 1.5 VM. \ No newline at end of file

Back to the top