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