###############################################################################
# Copyright (c) 2003, 2009 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
#     IBM Corporation - initial API and implementation
###############################################################################
# http://wiki.eclipse.org/Equinox/p2/Publisher
############# PRODUCT/PACKAGING CONTROL #############
product=/org.wesnoth/org.wesnoth.product
runPackager=true

p2.gathering=true
p2.compress=true
p2.metadata.repo.name=Wesnoth Eclipse Plugins
p2.artifact.repo.name=Wesnoth Eclipse Plugins
p2.build.repo=file:${buildDirectory}/repository
p2.metadata.repo=file:${buildDirectory}/repository
p2.artifact.repo=file:${buildDirectory}/repository
p2.category.definition=file:${basedir}/../org.wesnoth.feature/category.xml

#Set the name of the archive that will result from the product build.
archiveNamePrefix=wesnoth_umc_dev

# The prefix that will be used in the generated archive.
archivePrefix=wesnoth_umc_dev

# The location underwhich all of the build output will be collected.
collectingFolder=${archivePrefix}

# The list of {os, ws, arch} configurations to build.  This 
# value is a '&' separated list of ',' separate triples.  For example, 
#     configs=win32,win32,x86 & linux,motif,x86
# By default the value is *,*,*
configs=win32, win32, x86 &\
       win32,win32,x86_64 & \
       linux, gtk, x86 & \
       linux, gtk, x86_64 & \
       macosx, cocoa, x86_64

#Allow cycles involving at most one bundle that needs to be compiled with the rest being binary bundles.
allowBinaryCycles = true

#Sort bundles depenedencies across all features instead of just within a given feature.
flattenDependencies = true

#Parallel compilation, requires flattenedDependencies=true
parallelCompilation=true
parallelThreadCount=2
parallelThreadsPerProcessor=1
	
#Set to true if you want the output to be ready for an update jar (no site.xml generated)
outputUpdateJars = true

############## BUILD NAMING CONTROL ################
# The directory into which the build elements are fetched and where
# the build takes place.

# ID of the build. Used in naming the build output.
buildId=wesnoth_umc_dev

# Label for the build.  Used in naming the build output
buildLabel=${buildId}

# Timestamp for the build.  Used in naming the build output
timestamp=007

#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
filteredDependencyCheck=false

#this property indicates whether the resolution should be done in development mode (i.e. ignore multiple bundles with singletons)
resolution.devMode=false

skipBase=true
skipMaps=true
skipFetch=true

############# JAVA COMPILER OPTIONS ##############
# we support just Java 1.6 or greater
JavaSE-1.6=${java.home}/lib/rt.jar

# Specify the output format of the compiler log when eclipse jdt is used
logExtension=.log

# Whether or not to include debug info in the output jars
javacDebugInfo=true

# Whether or not to fail the build if there are compiler errors
javacFailOnError=true

# Enable or disable verbose mode of the compiler
javacVerbose=false

# 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
javacSource=1.6

# 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.
javacTarget=1.6
