common/common_props.ant.xml
author Simon Howkins <simonh@symbian.org>
Tue, 09 Feb 2010 17:49:27 +0000
changeset 892 24ecf67cba71
parent 858 f9fc2a3f8f70
child 901 1bec8957803b
permissions -rw-r--r--
Bug 1661: Improve build speed with better caching strategy Changed the way that the cache is located, so the same code can run on any build machine without any configuration. Made work around for Bug 419 the only option, as we're not using the alternative anyway, and I don't want to commit completely untested code! Changed caching algorithm, to improve build times.

<?xml version="1.0"?>

<project name="SF-COMMON-PROPS" >

    <property name="sf.drive.space.needed" value="0"/>

    <property name="sf.spec.job.name" value="myproduct"/>
    <property name="sf.spec.job.codeline" value="MCL"/>
    <property name="sf.spec.job.number" value="001"/> <!-- this is always overriden from the commandline -->
    <!-- <property name="sf.spec.job.root.drive" value="D:"/> Set this to force the physical drive for the build storage. Leave unset to allow any non-system physical drive to be found-->
    <property name="sf.spec.job.root.path" value="fbf_job"/>
    <property name="sf.spec.job.drive" value="M:"/>
    <property name="sf.spec.job.freespace" value="10"/>
    <property name="sf.spec.email.from" value="fbf@symbian.org"/> <!-- needs to be defined for S60 platform builds -->
    
    <property name="sf.spec.systemdefinition.assemble" value="true"/>

    <property name="sf.spec.pdt.root" value="${env.PDT_HOME}"/> <!-- e.g. C:\Symbian\Tools\PDT_1.0\ -->

    <property name="sf.spec.sbs.config" value="armv5"/>

    <!-- sbs -t param -->
    <property name="sf.spec.sbs.retry.limit" value="5"/>
    
    <!-- When not set -j option is to: 2 X NUMBER_OF_PROCESSORS
    <property name="sf.spec.sbs.numberofjobs" value="2"/>
    -->
    
    <property name="sf.spec.build.target" value="all"/>
    <property name="sf.spec.build.variant" value=""/>
    <property name="sf.spec.build.productioncode.enable" value="true"/>
    <property name="sf.spec.build.testcode.enable" value="false"/>
    <property name="sf.spec.build.system" value="sbs"/> <!-- sbs|ebs|ec -->
    <property name="sf.spec.build.clean.enable" value="false"/>
    <property name="sf.spec.sysdef.configurations.list" value="s60_build,s60_bldmelast"/>
    
    
    <property name="sf.spec.referenceroms.createimages.enable" value="false"/>
    <property name="sf.spec.referenceroms.list" value=""/>
    
    <property name="sf.spec.testroms.createimages.enable" value="false"/>
    
    <property name="sf.spec.sourcesync.enable" value="true"/>
    <property name="sf.spec.sourcesync.usecache" value="false"/>
    <property name="sf.spec.sourcesync.sourcespecfile" value="sources.csv"/>
    <property name="sf.spec.sourcesync.cache.path" value="hgcache"/> <!-- Path relative to root of some drive for location of hg cache -->
    <property name="sf.spec.sourcesync.local.development.area" value="//v800008/Builds01"/> <!-- Location of a "development area" which should be cached on build machines (in addition to developer.symbian.org content) -->
    
    <property name="sf.spec.baseline.enable" value="true"/>
    <property name="sf.spec.baseline.select" value="auto"/> <!-- auto|explicit|location -->
    <property name="sf.spec.baseline.getenv_options" value="-i emu,tools"/>
    <property name="sf.spec.toolsbaseline.enable" value="true"/>
    <property name="sf.spec.toolsbaseline.select" value="auto"/>
    <property name="sf.spec.toolsbaseline.getenv_options" value="-i tools"/>
    
    <property name="sf.spec.publish.enable" value="true"/>
    <property name="sf.spec.publish.unpackagedartefacts.enable" value="true"/>
    <property name="sf.spec.publish.packagedartefacts.enable" value="true"/>
    <property name="sf.spec.publish.network.freespace" value="10"/>
    <property name="sf.spec.publish.networkdrive" value="\\v800020\Publish\SF_builds"/>
    <property name="sf.spec.publish.rootdir" value="\\v800020\Publish\SF_builds"/>
    <property name="sf.spec.publish.diamonds.server" value="v800002.ad-sfpd.intra"/>
    <property name="sf.spec.publish.diamonds.port" value="80"/>
    <property name="sf.spec.publish.diamonds.path" value="/diamonds/builds/"/>
    <property name="sf.spec.publish.diamonds.tag" value=""/>
    <property name="sf.spec.ats_worker.drive" value="C:\apps\ATS3\bin"/>
    
    <property name="sf.spec.tagafterbuild.enable" value="false"/>

    <!-- if sf-list-dir called, generate dir list(s) of epoc32 tree -->
    <property name="sf.spec.dirlist.enable"  value="false"/>
    
    <!-- if sf-list-dir called, generate delta of two epoc32 trees. note: this takes a while! -->
    <property name="sf.spec.dirdelta.enable" value="false"/>
    
    <!-- prefilter raptor logs -->
    <property name="sf.spec.logs.raptorfilter.enable" value="true"/>
    
    <!-- zip all logs before publish -->
    <property name="sf.spec.logs.zip.enable"  value="true"/>
    
    <!-- packaging options for bin/src-->
    <property name="sf.spec.package.bin.enable"  value="false"/>
    <property name="sf.spec.package.src.enable"  value="false"/>
<!--<property name="sf.sdk.header.list.file"     value=""/> --> <!-- Set this to package SDK headers separately from the rest of epoc32 -->

    <!-- enable creation of MD5s -->
    <property name="sf.spec.md5.enable"          value="false"/>

    <!-- ATS client properties -->
    <property name="sf.spec.test.sendpkg.enable" value="false"/>
    <property name="sf.spec.test.host.name"      value="v800026"/>
    <property name="sf.spec.test.host.username"  value="admin"/>
    <property name="sf.spec.test.host.password"  value="admin"/>
    <property name="sf.spec.test.host.droppath"  value="D:\ats3_testdrop_arrivals\${env.COMPUTERNAME}"/>
    <property name="sf.spec.test.epocroot"       value="winscw_smoketest"/>

    <!-- ATS properties -->
    <property name="sf.spec.test.package.location"  value="\\${sf.spec.test.host.name}\ats3_testdrop_arrivals\${env.COMPUTERNAME}"/>
    <property name="sf.spec.test.package.name"      value="${env.COMPUTERNAME}-Smoketest-${sf.spec.job.name}_${sf.spec.job.codeline}.${sf.spec.job.number}.zip"/> <!-- build.id not available at this point, so construct it from component parts -->
    <property name="sf.spec.test.package.droppath"  value="TestDrops"/>

    <!-- BC check properties -->
    <property name="sf.spec.bccheck.enable" value="false"/> <!-- This disables it being called during a normal build, although the target can be called seperately -->
    <property name="sf.spec.bccheck.enable.la" value="true"/>
    <property name="sf.spec.bccheck.enable.ha" value="true"/>
    <property name="sf.spec.bccheck.enable.dynamic" value="false"/>
    <property name="sf.spec.bccheck.baseline.name" value="symbian1"/>
    <property name="sf.spec.bccheck.baseline.skd.dir" value="\\v800008\builds01\installed\s60_5th_sdk_installed"/>
    <property name="sf.spec.bccheck.baseline.s60.version" value="5.0"/>
    <property name="sf.spec.bccheck.current.s60.version" value="5.1"/>
    <property name="sf.spec.bccheck.reportid" value="report"/>
    <property name="sf.spec.bccheck.package.name" value="${env.COMPUTERNAME}-bctest-${sf.spec.job.name}_${sf.spec.job.codeline}.${sf.spec.job.number}.zip"/>
	
	<!-- Smoketest properties -->
	<property name="sf.spec.smoketest.enable" value="true"/> <!-- This disables publishing Smoke Test Report -->
</project>