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