Author: pwang
Date: 2009-07-09 14:23:57 -0700 (Thu, 09 Jul 2009)
New Revision: 17307
Added:
csplugins/trunk/ucsd/pwang/cyprovision/headless_build/headless_build_product/
csplugins/trunk/ucsd/pwang/cyprovision/headless_build/headless_build_product/build.properties
csplugins/trunk/ucsd/pwang/cyprovision/headless_build/headless_build_product/build.xml
csplugins/trunk/ucsd/pwang/cyprovision/headless_build/headless_build_product/build_cy3_product.xml
csplugins/trunk/ucsd/pwang/cyprovision/headless_build/headless_build_product/category.xml
csplugins/trunk/ucsd/pwang/cyprovision/headless_build/headless_build_product/cytoscape300.product
Log:
Original creation
Added:
csplugins/trunk/ucsd/pwang/cyprovision/headless_build/headless_build_product/build.properties
===================================================================
---
csplugins/trunk/ucsd/pwang/cyprovision/headless_build/headless_build_product/build.properties
(rev 0)
+++
csplugins/trunk/ucsd/pwang/cyprovision/headless_build/headless_build_product/build.properties
2009-07-09 21:23:57 UTC (rev 17307)
@@ -0,0 +1,255 @@
+###############################################################################
+# 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
+###############################################################################
+#####################
+# 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
+
+#The type of the top level element we are building, generally "feature"
+topLevelElementType = feature
+#The id of the top level element we are building
+topLevelElementId = org.foo.bar
+
+############# PRODUCT/PACKAGING CONTROL #############
+product=/plugin or feature id/path/to/.product
+runPackager=true
+
+#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 = *, *, *
+#configs=win32, win32, x86 & \
+# win32,win32,x86_64 & \
+# win32,win32,wpf & \
+# linux, gtk, ppc & \
+# linux, gtk, x86 & \
+# linux, gtk, x86_64 & \
+# linux, motif, x86 & \
+# solaris, motif, sparc & \
+# solaris, gtk, sparc & \
+# aix, motif, ppc & \
+# hpux, motif, ia64_32 & \
+# macosx, carbon, ppc & \
+# macosx, carbon, x86 & \
+# macosx, cocoa, ppc & \
+# macosx, cocoa, x86 & \
+# macosx, cocoa, x86_64
+
+# By default PDE creates one archive (result) per entry listed in the configs
property.
+# Setting this value to true will cause PDE to only create one output
containing all
+# artifacts for all the platforms listed in the configs property.
+# To control the output format for the group, add a "group, group, group -
<format>" entry to the
+# archivesFormat.
+#groupConfigurations=true
+
+#The format of the archive. By default a zip is created using antZip.
+#The list can only contain the configuration for which the desired format is
different than zip.
+#archivesFormat=win32, win32, x86 - antZip& \
+# linux, gtk, ppc - antZip &\
+# linux, gtk, x86 - antZip& \
+# linux, gtk, x86_64 - antZip& \
+# linux, motif, x86 - antZip& \
+# solaris, motif, sparc - antZip& \
+# solaris, gtk, sparc - antZip& \
+# aix, motif, ppc - antZip& \
+# hpux, motif, PA_RISC - antZip& \
+# macosx, carbon, ppc - antZip
+
+#Allow cycles involving at most one bundle that needs to be compiled with the
rest being binary bundles.
+allowBinaryCycles = true
+
+#Sort bundles depenedencies across all features instead of just within a given
feature.
+#flattenDependencies = true
+
+#Parallel compilation, requires flattenedDependencies=true
+#parallelCompilation=true
+#parallelThreadCount=
+#parallelThreadsPerProcessor=
+
+#Set to true if you want the output to be ready for an update jar (no site.xml
generated)
+#outputUpdateJars = false
+
+#Set to true for Jnlp generation
+#codebase should be a URL that will be used as the root of all relative URLs
in the output.
+#generateJnlp=false
+#jnlp.codebase=<codebase url>
+#jnlp.j2se=<j2se version>
+#jnlp.locale=<a locale>
+#jnlp.generateOfflineAllowed=true or false generate <offlineAllowed/>
attribute in the generated features
+#jnlp.configs=${configs} #uncomment to filter the
content of the generated jnlp files based on the configuration being built
+
+#Set to true if you want to sign jars
+#signJars=false
+#sign.alias=<alias>
+#sign.keystore=<keystore location>
+#sign.storepass=<keystore password>
+#sign.keypass=<key password>
+
+#Arguments to send to the zip executable
+zipargs=
+
+#Arguments to send to the tar executable
+tarargs=
+
+#Control the creation of a file containing the version included in each
configuration - on by default
+#generateVersionsLists=false
+
+############## BUILD NAMING CONTROL ################
+# The directory into which the build elements are fetched and where
+# the build takes place.
+buildDirectory=${user.home}/eclipse.build
+
+# 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
+
+#The value to be used for the qualifier of a plugin or feature when you want
to override the value computed by pde.
+#The value will only be applied to plugin or features indicating
build.properties, qualifier = context
+#forceContextQualifier=<the value for the qualifier>
+
+#Enable / disable the generation of a suffix for the features that use
.qualifier.
+#The generated suffix is computed according to the content of the feature
+#generateFeatureVersionSuffix=true
+
+############# BASE CONTROL #############
+# Settings for the base Eclipse components and Java class libraries
+# against which you are building.
+# Base location for anything the build needs to compile against. For example,
+# in most RCP app or a plug-in, the baseLocation should be the location of a
previously
+# installed Eclipse against which the application or plug-in code will be
compiled and the RCP delta pack.
+
+base=<path/to/parent/of/eclipse>
+baseLocation=${base}/eclipse
+
+#Folder containing repositories whose content is needed to compile against
+#repoBaseLocation=${base}/repos
+#Folder where the content of the repositories from ${repoBaseLocation} will be
made available as a form suitable to be compiled against
+#transformedRepoLocation=${base}/transformedRepos
+
+#Os/Ws/Arch/nl of the eclipse specified by baseLocation
+baseos=win32
+basews=win32
+basearch=x86
+
+#this property indicates whether you want the set of plug-ins and features to
be considered during the build to be limited to the ones reachable from the
features / plugins being built
+filteredDependencyCheck=false
+
+#this property indicates whether the resolution should be done in development
mode (i.e. ignore multiple bundles with singletons)
+resolution.devMode=false
+
+#pluginPath is a list of locations in which to find plugins and features.
This list is separated by the platform file separator (; or :)
+#a location is one of:
+#- the location of the jar or folder that is the plugin or feature :
/path/to/foo.jar or /path/to/foo
+#- a directory that contains a /plugins or /features subdirectory
+#- the location of a feature.xml, or for 2.1 style plugins, the plugin.xml or
fragment.xml
+#pluginPath=
+
+skipBase=true
+eclipseURL=<url for eclipse download site>
+eclipseBuildId=<Id of Eclipse build to get>
+eclipseBaseURL=${eclipseURL}/eclipse-platform-${eclipseBuildId}-win32.zip
+
+
+############# MAP FILE CONTROL ################
+# This section defines CVS tags to use when fetching the map files from the
repository.
+# If you want to fetch the map file from repository / location, change the
getMapFiles target in the customTargets.xml
+
+skipMaps=true
+mapsRepo=:pserver:[email protected]/path/to/repo
+mapsRoot=path/to/maps
+mapsCheckoutTag=HEAD
+
+#tagMaps=true
+mapsTagTag=v${buildId}
+
+
+############ REPOSITORY CONTROL ###############
+# This section defines properties parameterizing the repositories where
plugins, fragments
+# bundles and features are being obtained from.
+
+# The tags to use when fetching elements to build.
+# By default thebuilder will use whatever is in the maps.
+# This value takes the form of a comma separated list of repository identifier
(like used in the map files) and the
+# overriding value
+# For example fetchTag=CVS=HEAD, SVN=v20050101
+# fetchTag=HEAD
+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
+
+
Added:
csplugins/trunk/ucsd/pwang/cyprovision/headless_build/headless_build_product/build.xml
===================================================================
---
csplugins/trunk/ucsd/pwang/cyprovision/headless_build/headless_build_product/build.xml
(rev 0)
+++
csplugins/trunk/ucsd/pwang/cyprovision/headless_build/headless_build_product/build.xml
2009-07-09 21:23:57 UTC (rev 17307)
@@ -0,0 +1,47 @@
+<project name="cytoscape.build" default="product-build">
+
+ <!-- Beginning of configuration section -->
+
+ <property name="base" location="c:/eclipse35" />
+ <property name="baseLocation" location="${base}/eclipse" />
+ <property name="buildDirectory" location="./build" />
+
+ <!-- End of configuration section -->
+
+ <pathconvert property="equinoxLauncher">
+ <path>
+ <fileset dir="${baseLocation}/plugins"
includes="**/*.jar" />
+ </path>
+ <regexpmapper
from="(org\.eclipse\.equinox\.launcher)(_)(.*)\.jar" to="\0" />
+ </pathconvert>
+
+ <!--
+ This target actually executes the PDE Build process by
launching the
+ Eclipse antRunner application.
+ -->
+ <target name="product-build">
+
+ <java classname="org.eclipse.equinox.launcher.Main" fork="true"
failonerror="true" >
+ <arg value="-application" />
+ <arg value="org.eclipse.ant.core.antRunner" />
+ <arg value="-buildfile" />
+ <arg value="build_cy3_product.xml" />
+ <classpath>
+ <pathelement
location="${baseLocation}/plugins/${equinoxLauncher}" />
+ </classpath>
+
+ </java>
+ </target>
+
+
+ <!-- This target is responsible for cleaning up the build-directory -->
+ <target name="clean">
+ <delete dir="${buildDirectory}" />
+ </target>
+
+ <target name="init">
+
+
+ </target>
+
+</project>
Added:
csplugins/trunk/ucsd/pwang/cyprovision/headless_build/headless_build_product/build_cy3_product.xml
===================================================================
---
csplugins/trunk/ucsd/pwang/cyprovision/headless_build/headless_build_product/build_cy3_product.xml
(rev 0)
+++
csplugins/trunk/ucsd/pwang/cyprovision/headless_build/headless_build_product/build_cy3_product.xml
2009-07-09 21:23:57 UTC (rev 17307)
@@ -0,0 +1,45 @@
+<project name="Definition of cytoscape build properties" default="runBuild">
+
+ <!-- Beginning of configuration section -->
+
+ <property name="base" location="c:/eclipse35" />
+ <property name="baseLocation" location="${base}/eclipse" />
+ <property name="buildDirectory" location="./build_product" />
+
+ <property name="product" location="./cytoscape300.product" />
+
+ <property name="p2.gathering" value= "true" />
+ <property name="p2.metadata.repo" value=
"file:${buildDirectory}/../cy3repository" />
+ <property name="p2.artifact.repo" value=
"file:${buildDirectory}/../cy3repository" />
+ <property name="p2.metadata.repo.name" value= "Cytoscape 3.0.0 metadata
Repository" />
+ <property name="p2.artifact.repo.name" value= "Cytoscape 3.0.0 artifact
Repository" />
+ <property name="p2.flavor" value= "tooling" />
+ <property name="p2.director.profile" value= "CytoscapeProfile" />
+
+ <property name="archivePrefix" value= "cytoscape" />
+ <property name="buildId" value= "CytoscapeBuild" />
+
+ <property name="pluginPath" location="target/cytoscape" />
+ <!-- End of configuration section -->
+
+ <property file="build.properties" />
+
+ <pathconvert property="equinoxLauncher">
+ <path>
+ <fileset dir="${baseLocation}/plugins" includes="**/*.jar" />
+ </path>
+ <regexpmapper from="(org\.eclipse\.equinox\.launcher)(_)(.*)\.jar"
to="\0" />
+ </pathconvert>
+
+ <pathconvert property="pdeBuild">
+ <path>
+ <fileset dir="${baseLocation}/plugins"
includes="**/*productBuild.xml" />
+ </path>
+ <regexpmapper from="(org\.eclipse\.pde\.build)(_)(.*)" to="\0" />
+ </pathconvert>
+
+ <import file= "${baseLocation}/plugins/${pdeBuild}"/>
+
+ <target name="runBuild" depends="main" />
+
+</project>
Added:
csplugins/trunk/ucsd/pwang/cyprovision/headless_build/headless_build_product/category.xml
===================================================================
---
csplugins/trunk/ucsd/pwang/cyprovision/headless_build/headless_build_product/category.xml
(rev 0)
+++
csplugins/trunk/ucsd/pwang/cyprovision/headless_build/headless_build_product/category.xml
2009-07-09 21:23:57 UTC (rev 17307)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<site>
+ <feature url="features/cytoscape_product_feature_3.0.0.jar"
id="cytoscape_product_feature" version="3.0.0">
+ <category name="Cytoscape3"/>
+ </feature>
+ <category-def name="Cytoscape3" label="Cytoscape33"/>
+</site>
Added:
csplugins/trunk/ucsd/pwang/cyprovision/headless_build/headless_build_product/cytoscape300.product
===================================================================
---
csplugins/trunk/ucsd/pwang/cyprovision/headless_build/headless_build_product/cytoscape300.product
(rev 0)
+++
csplugins/trunk/ucsd/pwang/cyprovision/headless_build/headless_build_product/cytoscape300.product
2009-07-09 21:23:57 UTC (rev 17307)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?pde version="3.5"?>
+
+<product name="Cytoscape" uid="org.cytoscape.product"
id="cytoscape_product.cytoscape" application="org.cytoscape.product"
version="3.0.0" useFeatures="true" includeLaunchers="false">
+
+
+ <configIni use="default">
+ </configIni>
+
+ <launcherArgs>
+ <programArgs>-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl
${target.nl}</programArgs>
+ <vmArgsMac>-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac>
+ </launcherArgs>
+
+ <windowImages/>
+
+
+ <launcher>
+ <solaris/>
+ <win useIco="false">
+ <bmp/>
+ </win>
+ </launcher>
+
+
+ <vm>
+ </vm>
+
+
+ <plugins>
+ </plugins>
+
+ <features>
+ <feature id="cytoscape_product_feature" version="3.0.0"/>
+ </features>
+
+
+</product>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en
-~----------~----~----~----~------~----~------~--~---