build.properties 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. ###############################################################################
  2. # Copyright (c) 2003, 2011 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. # Compuware Corporation - Sebastien Angers <sebastien.angers@compuware.com>
  11. # - Enabled additional mirror slicingOptions in Headless PDE Build
  12. # - Enabled 'raw' attribute for mirror step in Headless PDE Build
  13. # - https://bugs.eclipse.org/338878
  14. ###############################################################################
  15. #####################
  16. # Parameters describing how and where to execute the build.
  17. # Typical users need only update the following properties:
  18. # baseLocation - where things you are building against are installed
  19. # bootclasspath - The base jars to compile against (typicaly rt.jar)
  20. # configs - the list of {os, ws, arch} configurations to build.
  21. #
  22. # Of course any of the settings here can be overridden by spec'ing
  23. # them on the command line (e.g., -DbaseLocation=d:/eclipse
  24. #The type of the top level element we are building, generally "feature"
  25. topLevelElementType = feature
  26. #The id of the top level element we are building
  27. # the following feature will not be include in the final archive
  28. topLevelElementId = com.intel.sgx.build.driver
  29. ############# PRODUCT/PACKAGING CONTROL #############
  30. #product=/plugin or feature id/path/to/.product
  31. #product=com.intel.sgx.feature
  32. runPackager=false
  33. #Set the name of the archive that will result from the product build.
  34. #archiveNamePrefix=
  35. # The prefix that will be used in the generated archive.
  36. archivePrefix=sgx-eclipse-plugin
  37. # The location underwhich all of the build output will be collected.
  38. collectingFolder=${archivePrefix}
  39. # The list of {os, ws, arch} configurations to build. This
  40. # value is a '&' separated list of ',' separate triples. For example,
  41. # configs=win32,win32,x86 & linux,motif,x86
  42. # By default the value is *,*,*
  43. configs = *, *, *
  44. #configs=win32, win32, x86 & \
  45. # win32,win32,x86_64 & \
  46. # win32,win32,wpf & \
  47. # linux, gtk, ppc & \
  48. # linux, gtk, x86 & \
  49. # linux, gtk, x86_64 & \
  50. # linux, motif, x86 & \
  51. # solaris, motif, sparc & \
  52. # solaris, gtk, sparc & \
  53. # aix, motif, ppc & \
  54. # hpux, motif, ia64_32 & \
  55. # macosx, carbon, ppc & \
  56. # macosx, carbon, x86 & \
  57. # macosx, cocoa, ppc & \
  58. # macosx, cocoa, x86 & \
  59. # macosx, cocoa, x86_64
  60. # By default PDE creates one archive (result) per entry listed in the configs property.
  61. # Setting this value to true will cause PDE to only create one output containing all
  62. # artifacts for all the platforms listed in the configs property.
  63. # To control the output format for the group, add a "group, group, group - <format>" entry to the
  64. # archivesFormat.
  65. #groupConfigurations=true
  66. #The format of the archive. By default a zip is created using antZip.
  67. #The list can only contain the configuration for which the desired format is different than zip.
  68. #archivesFormat=win32, win32, x86 - antZip& \
  69. # linux, gtk, ppc - antZip &\
  70. # linux, gtk, x86 - antZip& \
  71. # linux, gtk, x86_64 - antZip& \
  72. # linux, motif, x86 - antZip& \
  73. # solaris, motif, sparc - antZip& \
  74. # solaris, gtk, sparc - antZip& \
  75. # aix, motif, ppc - antZip& \
  76. # hpux, motif, PA_RISC - antZip& \
  77. # macosx, carbon, ppc - antZip
  78. #Allow cycles involving at most one bundle that needs to be compiled with the rest being binary bundles.
  79. allowBinaryCycles = true
  80. #Sort bundles depenedencies across all features instead of just within a given feature.
  81. #flattenDependencies = true
  82. #Parallel compilation, requires flattenedDependencies=true
  83. #parallelCompilation=true
  84. #parallelThreadCount=
  85. #parallelThreadsPerProcessor=
  86. #Set to true if you want the output to be ready for an update jar (no site.xml generated)
  87. outputUpdateJars = true
  88. #Set to true for Jnlp generation
  89. #codebase should be a URL that will be used as the root of all relative URLs in the output.
  90. #generateJnlp=false
  91. #jnlp.codebase=<codebase url>
  92. #jnlp.j2se=<j2se version>
  93. #jnlp.locale=<a locale>
  94. #jnlp.generateOfflineAllowed=true or false generate <offlineAllowed/> attribute in the generated features
  95. #jnlp.configs=${configs} #uncomment to filter the content of the generated jnlp files based on the configuration being built
  96. #Set to true if you want to sign jars
  97. #signJars=false
  98. #sign.alias=<alias>
  99. #sign.keystore=<keystore location>
  100. #sign.storepass=<keystore password>
  101. #sign.keypass=<key password>
  102. #Arguments to send to the zip executable
  103. zipargs=
  104. #Arguments to send to the tar executable
  105. tarargs=
  106. #individualSourceBundles=true
  107. #Control the creation of a file containing the version included in each configuration - on by default
  108. #generateVersionsLists=false
  109. ############ REPO MIRROR OPTIONS CONTROL ############
  110. # Default values for the slicingOptions and raw attribute of the p2.mirror Ant target used to generate the p2 repo (buildRepo)
  111. # Note that the default values used by PDE/Build are different from the default values for p2.mirror's slicingOptions and raw attribute
  112. # See http://help.eclipse.org/topic//org.eclipse.platform.doc.isv/guide/p2_repositorytasks.htm for the details
  113. # of each setting.
  114. #p2.mirror.slicing.filter=
  115. #p2.mirror.slicing.followOnlyFilteredRequirements=false
  116. #p2.mirror.slicing.followStrict=false
  117. #p2.mirror.slicing.includeFeatures=true
  118. #p2.mirror.slicing.includeNonGreedy=false
  119. #p2.mirror.slicing.includeOptional=true
  120. #p2.mirror.slicing.platformFilter=
  121. #p2.mirror.slicing.latestVersionOnly=false
  122. #p2.mirror.raw=false
  123. ############## SOURCE BUNDLE CONTROL ################
  124. # Set this property to have source bundles created and output into build repository.
  125. # This does NOT put them in the build output (e.g., product) itself.
  126. # Valid values are: not set, built, all.
  127. # built = only source for bundles that are actually built/compiled in this run are output
  128. # all = all available source is collected and output
  129. #sourceBundleMode=all
  130. # When outputting autogenerated source bundles a feature is created to contain all the automatic
  131. # source bundles. Typically this feature is not needed and can be ignored. As such, it is given a default
  132. # name and version. These properties can be used to override the defaults.
  133. # sourceBundleTemplateFeature - can specify an existing feature which will be augmented to form the generated source feature
  134. # sourceBundleFeatureId - will be the id of generated source feature which contains all the generated source bundles, default value
  135. # is sourceBundleTemplateFeature + ".source" if sourceBundleTemplateFeature is specified
  136. #sourceBundleTemplateFeature=
  137. #sourceBundleFeatureId=
  138. #sourceBundleFeatureVersion=
  139. ############## BUILD NAMING CONTROL ################
  140. # The directory into which the build elements are fetched and where
  141. # the build takes place.
  142. #buildDirectory=
  143. # Type of build. Used in naming the build output. Typically this value is
  144. # one of I, N, M, S, ...
  145. buildType=build
  146. # ID of the build. Used in naming the build output.
  147. buildId=${forceContextQualifier}
  148. # Label for the build. Used in naming the build output
  149. buildLabel=${buildId}
  150. # Timestamp for the build. Used in naming the build output
  151. timestamp=007
  152. #The value to be used for the qualifier of a plugin or feature when you want to override the value computed by pde.
  153. #The value will only be applied to plugin or features indicating build.properties, qualifier = context
  154. #forceContextQualifier=
  155. #Enable / disable the generation of a suffix for the features that use .qualifier.
  156. #The generated suffix is computed according to the content of the feature
  157. #generateFeatureVersionSuffix=true
  158. ############# BASE CONTROL #############
  159. # Settings for the base Eclipse components and Java class libraries
  160. # against which you are building.
  161. # Base location for anything the build needs to compile against. For example,
  162. # in most RCP app or a plug-in, the baseLocation should be the location of a previously
  163. # installed Eclipse against which the application or plug-in code will be compiled and the RCP delta pack.
  164. base=<path/to/parent/of/eclipse>
  165. #baseLocation=
  166. #Folder containing repositories whose content is needed to compile against
  167. #repoBaseLocation=${base}/repos
  168. #Folder where the content of the repositories from ${repoBaseLocation} will be made available as a form suitable to be compiled against
  169. #transformedRepoLocation=${base}/transformedRepos
  170. #Os/Ws/Arch/nl of the eclipse specified by baseLocation
  171. baseos=win32
  172. basews=win32
  173. basearch=x86
  174. #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
  175. filteredDependencyCheck=false
  176. #this property indicates whether the resolution should be done in development mode (i.e. ignore multiple bundles with singletons)
  177. resolution.devMode=false
  178. #pluginPath is a list of locations in which to find plugins and features. This list is separated by the platform file separator (; or :)
  179. #a location is one of:
  180. #- the location of the jar or folder that is the plugin or feature : /path/to/foo.jar or /path/to/foo
  181. #- a directory that contains a /plugins or /features subdirectory
  182. #- the location of a feature.xml, or for 2.1 style plugins, the plugin.xml or fragment.xml
  183. #pluginPath=
  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. ############# MAP FILE CONTROL ################
  189. # This section defines CVS tags to use when fetching the map files from the repository.
  190. # If you want to fetch the map file from repository / location, change the getMapFiles target in the customTargets.xml
  191. skipMaps=true
  192. mapsRepo=:pserver:anonymous@example.com/path/to/repo
  193. mapsRoot=path/to/maps
  194. mapsCheckoutTag=HEAD
  195. #tagMaps=true
  196. mapsTagTag=v${buildId}
  197. ############ REPOSITORY CONTROL ###############
  198. # This section defines properties parameterizing the repositories where plugins, fragments
  199. # bundles and features are being obtained from.
  200. # The tags to use when fetching elements to build.
  201. # By default thebuilder will use whatever is in the maps.
  202. # This value takes the form of a comma separated list of repository identifier (like used in the map files) and the
  203. # overriding value
  204. # For example fetchTag=CVS=HEAD, SVN=v20050101
  205. # fetchTag=HEAD
  206. skipFetch=true
  207. ############# JAVA COMPILER OPTIONS ##############
  208. # The location of the Java jars to compile against. Typically the rt.jar for your JDK/JRE
  209. #bootclasspath=${java.home}/lib/rt.jar
  210. # specific JRE locations to compile against. These values are used to compile bundles specifying a
  211. # Bundle-RequiredExecutionEnvironment. Uncomment and set values for environments that you support
  212. #CDC-1.0/Foundation-1.0= /path/to/rt.jar
  213. #CDC-1.1/Foundation-1.1=
  214. #OSGi/Minimum-1.0=
  215. #OSGi/Minimum-1.1=
  216. #JRE-1.1=
  217. #J2SE-1.2=
  218. #J2SE-1.3=
  219. #J2SE-1.4=
  220. #J2SE-1.5=
  221. #JavaSE-1.6=
  222. #PersonalJava-1.1=
  223. #PersonalJava-1.2=
  224. #CDC-1.0/PersonalBasis-1.0=
  225. #CDC-1.0/PersonalJava-1.0=
  226. #CDC-1.1/PersonalBasis-1.1=
  227. #CDC-1.1/PersonalJava-1.1=
  228. # Specify the output format of the compiler log when eclipse jdt is used
  229. logExtension=.log
  230. # Whether or not to include debug info in the output jars
  231. javacDebugInfo=false
  232. # Whether or not to fail the build if there are compiler errors
  233. javacFailOnError=true
  234. # Enable or disable verbose mode of the compiler
  235. javacVerbose=true
  236. # Extra arguments for the compiler. These are specific to the java compiler being used.
  237. #compilerArg=
  238. # 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
  239. javacSource=1.6
  240. # 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.
  241. javacTarget=1.6
  242. ################### CUSTOM PROPERTIES #######################################
  243. # repository location for update site
  244. # comment out - this is passed in from command line
  245. updateSiteSource=${buildDirectory}/sites
  246. # where to place update site build
  247. #updateSiteRoot=${user.home}/www/no_crawl/
  248. updateSiteRoot=${buildDirectory}/updatesite
  249. updateSiteFolder=${archivePrefix}
  250. updateSiteDestination=${updateSiteRoot}/${updateSiteFolder}