scripts/build.properties
changeset 157 c68f6790ea55
child 158 eea70b5d3a93
equal deleted inserted replaced
156:5d68e30cba9b 157:c68f6790ea55
       
     1 ###############################################################################
       
     2 # Copyright (c) 2003, 2006 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 #The type of the top level element we are building,  generally "feature"
       
    22 topLevelElementType = feature
       
    23 #The id of the top level element we are building
       
    24 topLevelElementId = org.symbian.tools.wrttools.feature
       
    25 
       
    26 ############# PRODUCT/PACKAGING CONTROL #############
       
    27 # product=/plugin or feature id/path/to/.product
       
    28 product=/home/symbian/scratch/build_dir/046/workspace/wrttools/org.symbian.tools.wrttools.product/wrt-ide.product
       
    29 runPackager=true
       
    30 
       
    31 #Set the name of the archive that will result from the product build.
       
    32 #archiveNamePrefix=
       
    33 
       
    34 # The prefix that will be used in the generated archive.
       
    35 archivePrefix=eclipse
       
    36 
       
    37 # The location underwhich all of the build output will be collected.
       
    38 collectingFolder=${archivePrefix}
       
    39 
       
    40 # The list of {os, ws, arch} configurations to build.  This 
       
    41 # value is a '&' separated list of ',' separate triples.  For example, 
       
    42 #     configs=win32,win32,x86 & linux,motif,x86
       
    43 # By default the value is *,*,*
       
    44 configs = *, *, *
       
    45 #configs=win32, win32, x86 & \
       
    46 #	win32,win32,x86_64 & \
       
    47 #	win32,win32,wpf & \
       
    48 #	linux, gtk, ppc & \
       
    49 #	linux, gtk, x86 & \
       
    50 #	linux, gtk, x86_64 & \
       
    51 #	linux, motif, x86 & \
       
    52 #	solaris, motif, sparc & \
       
    53 #	solaris, gtk, sparc & \
       
    54 #	aix, motif, ppc & \
       
    55 #	hpux, motif, ia64_32 & \
       
    56 #	macosx, carbon, ppc & \
       
    57 #	macosx, carbon, x86 & \
       
    58 #	macosx, cocoa, ppc & \
       
    59 #	macosx, cocoa, x86 & \
       
    60 #	macosx, cocoa, x86_64
       
    61 
       
    62 # By default PDE creates one archive (result) per entry listed in the configs property.
       
    63 # Setting this value to true will cause PDE to only create one output containing all 
       
    64 # artifacts for all the platforms listed in the configs property.
       
    65 # To control the output format for the group, add a "group, group, group - <format>" entry to the
       
    66 # archivesFormat. 
       
    67 #groupConfigurations=true
       
    68 
       
    69 #The format of the archive. By default a zip is created using antZip.
       
    70 #The list can only contain the configuration for which the desired format is different than zip.
       
    71 #archivesFormat=win32, win32, x86 - antZip& \
       
    72 #	linux, gtk, ppc - antZip &\
       
    73 #    linux, gtk, x86 - antZip& \
       
    74 #	linux, gtk, x86_64 - antZip& \
       
    75 # linux, motif, x86 - antZip& \
       
    76 #	solaris, motif, sparc - antZip& \
       
    77 #	solaris, gtk, sparc - antZip& \
       
    78 #	aix, motif, ppc - antZip& \
       
    79 #	hpux, motif, PA_RISC - antZip& \
       
    80 #	macosx, carbon, ppc - antZip
       
    81 
       
    82 #Allow cycles involving at most one bundle that needs to be compiled with the rest being binary bundles.
       
    83 allowBinaryCycles = true
       
    84 
       
    85 #Sort bundles depenedencies across all features instead of just within a given feature.
       
    86 #flattenDependencies = true
       
    87 
       
    88 #Parallel compilation, requires flattenedDependencies=true
       
    89 #parallelCompilation=true
       
    90 #parallelThreadCount=
       
    91 #parallelThreadsPerProcessor=
       
    92 	
       
    93 #Set to true if you want the output to be ready for an update jar (no site.xml generated)
       
    94 #outputUpdateJars = false
       
    95 
       
    96 #Set to true for Jnlp generation
       
    97 #codebase should be a URL that will be used as the root of all relative URLs in the output.
       
    98 #generateJnlp=false
       
    99 #jnlp.codebase=<codebase url>
       
   100 #jnlp.j2se=<j2se version>
       
   101 #jnlp.locale=<a locale>
       
   102 #jnlp.generateOfflineAllowed=true or false generate <offlineAllowed/> attribute in the generated features
       
   103 #jnlp.configs=${configs}			#uncomment to filter the content of the generated jnlp files based on the configuration being built
       
   104 
       
   105 #Set to true if you want to sign jars
       
   106 #signJars=false
       
   107 #sign.alias=<alias>
       
   108 #sign.keystore=<keystore location>
       
   109 #sign.storepass=<keystore password>
       
   110 #sign.keypass=<key password>
       
   111 
       
   112 #Arguments to send to the zip executable
       
   113 zipargs=
       
   114 
       
   115 #Arguments to send to the tar executable
       
   116 tarargs=
       
   117 
       
   118 #Control the creation of a file containing the version included in each configuration - on by default 
       
   119 #generateVersionsLists=false
       
   120 
       
   121 ############## BUILD NAMING CONTROL ################
       
   122 # The directory into which the build elements are fetched and where
       
   123 # the build takes place.
       
   124 buildDirectory=${user.home}/eclipse.build
       
   125 
       
   126 # Type of build.  Used in naming the build output.  Typically this value is
       
   127 # one of I, N, M, S, ...
       
   128 buildType=R
       
   129 
       
   130 # ID of the build.  Used in naming the build output.
       
   131 buildId=TestBuild
       
   132 
       
   133 # Label for the build.  Used in naming the build output
       
   134 buildLabel=${buildType}.${buildId}
       
   135 
       
   136 # Timestamp for the build.  Used in naming the build output
       
   137 timestamp=007
       
   138 
       
   139 #The value to be used for the qualifier of a plugin or feature when you want to override the value computed by pde.
       
   140 #The value will only be applied to plugin or features indicating build.properties, qualifier = context 
       
   141 #forceContextQualifier=<the value for the qualifier>
       
   142 
       
   143 #Enable / disable the generation of a suffix for the features that use .qualifier. 
       
   144 #The generated suffix is computed according to the content of the feature   
       
   145 #generateFeatureVersionSuffix=true
       
   146 
       
   147 ############# BASE CONTROL #############
       
   148 # Settings for the base Eclipse components and Java class libraries 
       
   149 # against which you are building.
       
   150 # Base location for anything the build needs to compile against.  For example,
       
   151 # in most RCP app or a plug-in,  the baseLocation should be the location of a previously
       
   152 # installed Eclipse against which the application or plug-in code will be compiled and the RCP delta pack.
       
   153 
       
   154 base=/usr/eclipse/JEE/
       
   155 baseLocation=${base}/eclipse
       
   156 
       
   157 eclipseLocation=/usr/eclipse
       
   158 equinoxLauncherPluginVersion=1.0.201.R35x_v20090715
       
   159 pdeBuildPluginVersion=3.5.1.R35x_20090820
       
   160 
       
   161 #Folder containing repositories whose content is needed to compile against
       
   162 #repoBaseLocation=${base}/repos
       
   163 #Folder where the content of the repositories from ${repoBaseLocation} will be made available as a form suitable to be compiled against
       
   164 #transformedRepoLocation=${base}/transformedRepos
       
   165 
       
   166 #Os/Ws/Arch/nl of the eclipse specified by baseLocation
       
   167 baseos=win32
       
   168 basews=win32
       
   169 basearch=x86
       
   170 
       
   171 #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
       
   172 filteredDependencyCheck=false
       
   173 
       
   174 #this property indicates whether the resolution should be done in development mode (i.e. ignore multiple bundles with singletons)
       
   175 resolution.devMode=false
       
   176 
       
   177 #pluginPath is a list of locations in which to find plugins and features.  This list is separated by the platform file separator (; or :)
       
   178 #a location is one of:  
       
   179 #- the location of the jar or folder that is the plugin or feature : /path/to/foo.jar or /path/to/foo
       
   180 #- a directory that contains a /plugins or /features subdirectory
       
   181 #- the location of a feature.xml, or for 2.1 style plugins, the plugin.xml or fragment.xml
       
   182 #pluginPath=
       
   183 
       
   184 skipBase=true
       
   185 eclipseURL=<url for eclipse download site>
       
   186 eclipseBuildId=<Id of Eclipse build to get>
       
   187 eclipseBaseURL=${eclipseURL}/eclipse-platform-${eclipseBuildId}-win32.zip
       
   188 
       
   189 
       
   190 ############# MAP FILE CONTROL ################
       
   191 # This section defines CVS tags to use when fetching the map files from the repository.
       
   192 # If you want to fetch the map file from repository / location, change the getMapFiles target in the customTargets.xml
       
   193 
       
   194 skipMaps=true
       
   195 mapsRepo=:pserver:anonymous@example.com/path/to/repo
       
   196 mapsRoot=path/to/maps
       
   197 mapsCheckoutTag=HEAD
       
   198 
       
   199 #tagMaps=true
       
   200 mapsTagTag=v${buildId}
       
   201 
       
   202 
       
   203 ############ REPOSITORY CONTROL ###############
       
   204 # This section defines properties parameterizing the repositories where plugins, fragments
       
   205 # bundles and features are being obtained from. 
       
   206 
       
   207 # The tags to use when fetching elements to build.
       
   208 # By default thebuilder will use whatever is in the maps.  
       
   209 # This value takes the form of a comma separated list of repository identifier (like used in the map files) and the 
       
   210 # overriding value
       
   211 # For example fetchTag=CVS=HEAD, SVN=v20050101
       
   212 # fetchTag=HEAD
       
   213 skipFetch=true
       
   214 
       
   215 
       
   216 ############# JAVA COMPILER OPTIONS ##############
       
   217 # The location of the Java jars to compile against.  Typically the rt.jar for your JDK/JRE
       
   218 #bootclasspath=${java.home}/lib/rt.jar
       
   219 
       
   220 # specific JRE locations to compile against. These values are used to compile bundles specifying a 
       
   221 # Bundle-RequiredExecutionEnvironment. Uncomment and set values for environments that you support
       
   222 #CDC-1.0/Foundation-1.0= /path/to/rt.jar
       
   223 #CDC-1.1/Foundation-1.1=
       
   224 #OSGi/Minimum-1.0=
       
   225 #OSGi/Minimum-1.1=
       
   226 #JRE-1.1=
       
   227 #J2SE-1.2=
       
   228 #J2SE-1.3=
       
   229 #J2SE-1.4=
       
   230 #J2SE-1.5=
       
   231 #JavaSE-1.6=
       
   232 #PersonalJava-1.1=
       
   233 #PersonalJava-1.2=
       
   234 #CDC-1.0/PersonalBasis-1.0=
       
   235 #CDC-1.0/PersonalJava-1.0=
       
   236 #CDC-1.1/PersonalBasis-1.1=
       
   237 #CDC-1.1/PersonalJava-1.1=
       
   238 
       
   239 # Specify the output format of the compiler log when eclipse jdt is used
       
   240 logExtension=.log
       
   241 
       
   242 # Whether or not to include debug info in the output jars
       
   243 javacDebugInfo=false 
       
   244 
       
   245 # Whether or not to fail the build if there are compiler errors
       
   246 javacFailOnError=true
       
   247 
       
   248 # Enable or disable verbose mode of the compiler
       
   249 javacVerbose=true
       
   250 
       
   251 # Extra arguments for the compiler. These are specific to the java compiler being used.
       
   252 #compilerArg=
       
   253 
       
   254 # 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
       
   255 javacSource=1.5
       
   256 
       
   257 # 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.
       
   258 javacTarget=1.5
       
   259 
       
   260