Defines build process for babel tool suite
diff --git a/org.eclipse.babel.tapiji.tools.build/build.properties b/org.eclipse.babel.tapiji.tools.build/build.properties index 925fea9..8b9b051 100644 --- a/org.eclipse.babel.tapiji.tools.build/build.properties +++ b/org.eclipse.babel.tapiji.tools.build/build.properties
@@ -12,15 +12,6 @@ # - Enabled 'raw' attribute for mirror step in Headless PDE Build # - https://bugs.eclipse.org/338878 ############################################################################### -##################### -# 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 @@ -45,120 +36,14 @@ # 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 - -############ REPO MIRROR OPTIONS CONTROL ############ -# Default values for the slicingOptions and raw attribute of the p2.mirror Ant target used to generate the p2 repo (buildRepo) -# Note that the default values used by PDE/Build are different from the default values for p2.mirror's slicingOptions and raw attribute -# See http://help.eclipse.org/topic//org.eclipse.platform.doc.isv/guide/p2_repositorytasks.htm for the details -# of each setting. -#p2.mirror.slicing.filter= -#p2.mirror.slicing.followOnlyFilteredRequirements=false -#p2.mirror.slicing.followStrict=false -#p2.mirror.slicing.includeFeatures=true -#p2.mirror.slicing.includeNonGreedy=false -#p2.mirror.slicing.includeOptional=true -#p2.mirror.slicing.platformFilter= -#p2.mirror.slicing.latestVersionOnly=false - -#p2.mirror.raw=false - -############## SOURCE BUNDLE CONTROL ################ -# Set this property to have source bundles created and output into build repository. -# This does NOT put them in the build output (e.g., product) itself. -# Valid values are: not set, built, all. -# built = only source for bundles that are actually built/compiled in this run are output -# all = all available source is collected and output -#sourceBundleMode=all - -# When outputting autogenerated source bundles a feature is created to contain all the automatic -# source bundles. Typically this feature is not needed and can be ignored. As such, it is given a default -# name and version. These properties can be used to override the defaults. -# sourceBundleTemplateFeature - can specify an existing feature which will be augmented to form the generated source feature -# sourceBundleFeatureId - will be the id of generated source feature which contains all the generated source bundles, default value -# is sourceBundleTemplateFeature + ".source" if sourceBundleTemplateFeature is specified -#sourceBundleTemplateFeature= -#sourceBundleFeatureId= -#sourceBundleFeatureVersion= - ############## BUILD NAMING CONTROL ################ # The directory into which the build elements are fetched and where # the build takes place. -buildDirectory=${user.home}/tapiji.build +buildDirectory=${basedir}/build #repoBaseLocation=${buildDirectory}/repository #transformedRepoLocation=${buildDirectory}/transformedRepo @@ -176,20 +61,9 @@ # 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. +generateFeatureVersionSuffix=true #Folder containing repositories whose content is needed to compile against #repoBaseLocation=${base}/repos @@ -220,7 +94,7 @@ # 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 +skipMaps=true #mapsRepo=:pserver:anonymous@example.com/path/to/repo #mapsRoot=path/to/maps #mapsCheckoutTag=HEAD @@ -247,14 +121,13 @@ JavaSE-1.6=${java.home}/lib/rt.jar # Specify the output format of the compiler log when eclipse jdt is used -logExtension=.log +#logExtension=.log # Whether or not to include debug info in the output jars -javacDebugInfo=false +#javacDebugInfo=false # Whether or not to fail the build if there are compiler errors -javacFailOnError=true +#javacFailOnError=true # Enable or disable verbose mode of the compiler -javacVerbose=true - +#javacVerbose=true
diff --git a/org.eclipse.babel.tapiji.tools.build/build/maps/tapiji.map b/org.eclipse.babel.tapiji.tools.build/build/maps/tapiji.map index 2d2724d..dc199f3 100644 --- a/org.eclipse.babel.tapiji.tools.build/build/maps/tapiji.map +++ b/org.eclipse.babel.tapiji.tools.build/build/maps/tapiji.map
@@ -1,31 +1,35 @@ plugin@org.eclipse.babel.core=GIT,\ - repo=git.eclipse.org/gitroot/babel/plugins.git,\ + repo=git://git.eclipse.org/gitroot/babel/plugins.git,\ path=org.eclipse.babel.core plugin@org.eclipse.babel.editor=GIT,\ - repo=git.eclipse.org/gitroot/babel/plugins.git,\ + repo=git://git.eclipse.org/gitroot/babel/plugins.git,\ path=org.eclipse.babel.editor -plugin@org.eclipse.babel.editor.nls=GIT,\ - repo=git.eclipse.org/gitroot/babel/plugins.git,\ +fragment@org.eclipse.babel.editor.nls=GIT,\ + repo=git://git.eclipse.org/gitroot/babel/plugins.git,\ path=org.eclipse.babel.editor.nls plugin@org.eclipse.babel.tapiji.tools.core=GIT,\ - repo=git.eclipse.org/gitroot/babel/plugins.git,\ + repo=git://git.eclipse.org/gitroot/babel/plugins.git,\ path=org.eclipse.babel.tapiji.tools.core plugin@org.eclipse.babel.tapiji.tools.core.ui=GIT,\ - repo=git.eclipse.org/gitroot/babel/plugins.git,\ + repo=git://git.eclipse.org/gitroot/babel/plugins.git,\ path=org.eclipse.babel.tapiji.tools.core.ui plugin@org.eclipse.babel.tapiji.tools.java=GIT,\ - repo=git.eclipse.org/gitroot/babel/plugins.git,\ + repo=git://git.eclipse.org/gitroot/babel/plugins.git,\ path=org.eclipse.babel.tapiji.tools.java plugin@org.eclipse.babel.tapiji.tools.java.ui=GIT,\ - repo=git.eclipse.org/gitroot/babel/plugins.git,\ + repo=git://git.eclipse.org/gitroot/babel/plugins.git,\ path=org.eclipse.babel.tapiji.tools.java.ui +plugin@org.eclipse.babel.tapiji.tools.rbmanager=GIT,\ + repo=git://git.eclipse.org/gitroot/babel/plugins.git,\ + path=org.eclipse.babel.tapiji.tools.rbmanager + feature@org.eclipse.babel.tapiji.tools.java.feature=GIT,\ - repo=git.eclipse.org/gitroot/babel/plugins.git,\ - path=/plugins \ No newline at end of file + repo=git://git.eclipse.org/gitroot/babel/plugins.git,\ + path=org.eclipse.babel.tapiji.tools.java.feature \ No newline at end of file
diff --git a/org.eclipse.babel.tapiji.tools.build/customTargets.xml b/org.eclipse.babel.tapiji.tools.build/customTargets.xml index 1a8cd85..e619a96 100644 --- a/org.eclipse.babel.tapiji.tools.build/customTargets.xml +++ b/org.eclipse.babel.tapiji.tools.build/customTargets.xml
@@ -30,8 +30,8 @@ <target name="getMapFiles" unless="skipMaps"> <mkdir dir="${buildDirectory}/maps" /> <exec executable="git" dir="${buildDirectory}/maps" output="${buildDirectory}/maps/maps.tar"> - <arg line="archive -format=tar" /> - <arg line="-remote=git.eclipse.org/gitroot/babel/plugins.git" /> + <arg line="archive --format=tar" /> + <arg line="--remote=git.eclipse.org/gitroot/babel/plugins.git" /> <arg line="master org.eclipse.babel.tapiji.tools.build/maps" /> </exec> <untar src="${buildDirectory}/maps/maps.tar" dest="${buildDirectory}/maps" />