Home | History | Annotate | Download | only in pdebuild
      1 ###############################################################################
      2 # Copyright (c) 2003-2014 IBM Corporation and others.
      3 # All rights reserved. This program and the accompanying materials
      4 # are made available under the terms of the Eclipse Public License v1.0
      5 # which accompanies this distribution, and is available at
      6 # http://www.eclipse.org/legal/epl-v10.html
      7 # 
      8 # Contributors:
      9 #     IBM Corporation - initial API and implementation
     10 ###############################################################################
     11 #####################
     12 # Parameters describing how and where to execute the build.
     13 # Typical users need only update the following properties:
     14 #    baseLocation - where things you are building against are installed
     15 #    bootclasspath - The base jars to compile against (typicaly rt.jar)
     16 #    configs - the list of {os, ws, arch} configurations to build.  
     17 #
     18 # Of course any of the settings here can be overridden by spec'ing 
     19 # them on the command line (e.g., -DbaseLocation=d:/eclipse
     20 
     21 ############# PRODUCT/PACKAGING CONTROL #############
     22 product=/plugin or feature id/path/to/.product
     23 runPackager=true
     24 
     25 #Set the name of the archive that will result from the product build.
     26 #archiveNamePrefix=
     27 
     28 # The prefix that will be used in the generated archive.
     29 #archivePrefix=<output archive root>
     30 archivePrefix=
     31 
     32 # The location underwhich all of the build output will be collected.
     33 collectingFolder=${archivePrefix}
     34 
     35 # The list of {os, ws, arch} configurations to build.  This 
     36 # value is a '&' separated list of ',' separate triples.  For example, 
     37 #     configs=win32,win32,x86 & linux,motif,x86
     38 # By default the value is *,*,*
     39 #configs=win32, win32, x86 & \
     40 #	linux, gtk, ppc &\
     41 # linux, gtk, x86 & \
     42 #	linux, gtk, x86_64 & \
     43 #	linux, motif, x86 & \
     44 #	solaris, motif, sparc & \
     45 #	solaris, gtk, sparc & \
     46 #	aix, motif, ppc & \
     47 #	hpux, motif, PA_RISC & \
     48 #	macosx, carbon, ppc
     49 
     50 # By default PDE creates one archive (result) per entry listed in the configs property.
     51 # Setting this value to try will cause PDE to only create one output containing all 
     52 # artifacts for all the platforms listed in the configs property.
     53 #groupConfigurations=true
     54 
     55 #The format of the archive. By default a zip is created using antZip.
     56 #The list can only contain the configuration for which the desired format is different than zip.
     57 #archivesFormat=win32, win32, x86 - antZip& \
     58 #	linux, gtk, ppc - antZip &\
     59 #    linux, gtk, x86 - antZip& \
     60 #	linux, gtk, x86_64 - antZip& \
     61 # linux, motif, x86 - antZip& \
     62 #	solaris, motif, sparc - antZip& \
     63 #	solaris, gtk, sparc - antZip& \
     64 #	aix, motif, ppc - antZip& \
     65 #	hpux, motif, PA_RISC - antZip& \
     66 #	macosx, carbon, ppc - antZip
     67 	
     68 #Set to true if you want the output to be ready for an update jar (no site.xml generated)
     69 #outputUpdateJars = false
     70 
     71 #Set to true for Jnlp generation
     72 #codebase should be a URL that will be used as the root of all relative URLs in the output.
     73 #generateJnlp=false
     74 #jnlp.codebase=<codebase url>
     75 #jnlp.j2se=<j2se version>
     76 #jnlp.locale=<a locale>
     77 
     78 #Set to true if you want to sign jars
     79 #signJars=false
     80 #sign.alias=<alias>
     81 #sign.keystore=<keystore location>
     82 #sign.storepass=<keystore password>
     83 
     84 #Arguments to send to the zip executable
     85 zipargs=
     86 
     87 #Arguments to send to the tar executable
     88 tarargs=
     89 
     90 #Control the creation of a file containing the version included in each configuration - on by default 
     91 #generateVersionsLists=false
     92 
     93 ############## BUILD NAMING CONTROL ################
     94 # The directory into which the build elements are fetched and where
     95 # the build takes place.
     96 buildDirectory=@BUILD_DIR@
     97 
     98 # Type of build.  Used in naming the build output.  Typically this value is
     99 # one of I, N, M, S, ...
    100 buildType=@BUILD_TYPE@
    101 
    102 # ID of the build.  Used in naming the build output.
    103 buildId=@BUILD_ID@
    104 
    105 # Label for the build.  Used in naming the build output
    106 buildLabel=${buildType}.${buildId}
    107 
    108 # Timestamp for the build.  Used in naming the build output
    109 timestamp=007
    110 
    111 #The value to be used for the qualifier of a plugin or feature when you want to override the value computed by pde.
    112 #The value will only be applied to plugin or features indicating build.properties, qualifier = context 
    113 #forceContextQualifier=<the value for the qualifier>
    114 
    115 #Enable / disable the generation of a suffix for the features that use .qualifier. 
    116 #The generated suffix is computed according to the content of the feature   
    117 #generateFeatureVersionSuffix=true
    118 
    119 ############# BASE CONTROL #############
    120 # Settings for the base Eclipse components and Java class libraries 
    121 # against which you are building.
    122 # Base location for anything the build needs to compile against.  For example,
    123 # in most RCP app or a plug-in,  the baseLocation should be the location of a previously
    124 # installed Eclipse against which the application or plug-in code will be compiled and the RCP delta pack.
    125 
    126 base=<path/to/parent/of/eclipse>
    127 #baseLocation=${base}/eclipse
    128 baseLocation=@BASE_LOCATION@
    129 #Os/Ws/Arch/nl of the eclipse specified by baseLocation
    130 baseos=@BASE_OS@
    131 basews=@BASE_WS@
    132 basearch=@BASE_ARCH@
    133 
    134 #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
    135 filteredDependencyCheck=false
    136 
    137 #pluginPath is a list of locations in which to find plugins and features.  This list is separated by the platform file separator (; or :)
    138 #a location is one of:  
    139 #- the location of the jar or folder that is the plugin or feature : /path/to/foo.jar or /path/to/foo
    140 #- a directory that contains a /plugins or /features subdirectory
    141 #- the location of a feature.xml, or for 2.1 style plugins, the plugin.xml or fragment.xml
    142 #pluginPath=
    143 
    144 skipBase=true
    145 eclipseURL=<url for eclipse download site>
    146 eclipseBuildId=<Id of Eclipse build to get>
    147 eclipseBaseURL=${eclipseURL}/eclipse-platform-${eclipseBuildId}-win32.zip
    148 
    149 
    150 ############# MAP FILE CONTROL ################
    151 # This section defines CVS tags to use when fetching the map files from the repository.
    152 # If you want to fetch the map file from repository / location, change the getMapFiles target in the customTargets.xml
    153 
    154 skipMaps=true
    155 mapsRepo=:pserver:anonymous@example.com/path/to/repo
    156 mapsRoot=path/to/maps
    157 mapsCheckoutTag=HEAD
    158 
    159 #tagMaps=true
    160 mapsTagTag=v${buildId}
    161 
    162 
    163 ############ REPOSITORY CONTROL ###############
    164 # This section defines properties parameterizing the repositories where plugins, fragments
    165 # bundles and features are being obtained from. 
    166 
    167 # The tags to use when fetching elements to build.
    168 # By default thebuilder will use whatever is in the maps.  
    169 # This value takes the form of a comma separated list of repository identifier (like used in the map files) and the 
    170 # overriding value
    171 # For example fetchTag=CVS=HEAD, SVN=v20050101
    172 # fetchTag=HEAD
    173 skipFetch=true
    174 
    175 
    176 ############# JAVA COMPILER OPTIONS ##############
    177 # The location of the Java jars to compile against.  Typically the rt.jar for your JDK/JRE
    178 #bootclasspath=${java.home}/lib/rt.jar
    179 
    180 # specific JRE locations to compile against. These values are used to compile bundles specifying a 
    181 # Bundle-RequiredExecutionEnvironment. Uncomment and set values for environments that you support
    182 #CDC-1.0/Foundation-1.0= /path/to/rt.jar
    183 #CDC-1.1/Foundation-1.1=
    184 #OSGi/Minimum-1.0=
    185 #OSGi/Minimum-1.1=
    186 #JRE-1.1=
    187 #J2SE-1.2=
    188 #J2SE-1.3=
    189 #J2SE-1.4=
    190 #J2SE-1.5=
    191 J2SE-1.5=@JAVA_RT@
    192 #JavaSE-1.6=
    193 #PersonalJava-1.1=
    194 #PersonalJava-1.2=
    195 #CDC-1.0/PersonalBasis-1.0=
    196 #CDC-1.0/PersonalJava-1.0=
    197 #CDC-1.1/PersonalBasis-1.1=
    198 #CDC-1.1/PersonalJava-1.1=
    199 
    200 # Specify the output format of the compiler log when eclipse jdt is used
    201 logExtension=.log
    202 
    203 # Whether or not to include debug info in the output jars
    204 javacDebugInfo=true
    205 
    206 # Whether or not to fail the build if there are compiler errors
    207 javacFailOnError=true
    208 
    209 # Enable or disable verbose mode of the compiler
    210 javacVerbose=true
    211 
    212 # Extra arguments for the compiler. These are specific to the java compiler being used.
    213 compilerArg=-inlineJSR -enableJavadoc -encoding UTF-8
    214 
    215 # 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
    216 javacSource=1.5
    217 
    218 # 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.
    219 javacTarget=1.5
    220 
    221 individualSourceBundles=true
    222