common/templates/zip.cfg.xml.ftl.template
author Simon Howkins <simonh@symbian.org>
Thu, 16 Jul 2009 11:32:45 +0100
changeset 240 62336323cabc
parent 239 5033df3f8834
child 244 97419fef4b8f
permissions -rw-r--r--
Stopped it putting useless information about zips of zips into the release_metadata.xml file.

<?xml version="1.0"?>
<build>
	<config abstract="true">
		<!-- Options that apply accross the board -->
		<set name="archive.tool" value="7za" />
		<set name="root.dir" value="${build.drive}/" />
		<set name="temp.build.dir" value="${temp.build.dir}" />
		<set name="casesensitive" value="false" />
		<set name="archives.dir" value="${build.output.dir}/zips" />
		<set name="policy.internal.name" value="removed" />
		<!--set name="policy.csv" value="${policy.csv}" /-->
		<set name="policy.zip2zip" value="false" />
		<set name="policy.default.value" value="" />
		
		<!--  Metadata creation -->
		<set name="grace.template" value="${temp.build.dir}/release_metadata_template.xml" />
		<set name="grace.metadata" value="true" />
		<set name="grace.service" value="${grace.service.name}" />
		<set name="grace.product" value="${grace.product.name}" />
		<set name="grace.release" value="${grace.release.name}" />
		
		<!-- Specify this config to package all inputs to the build -->
		<config name="src" abstract="true">
			<!-- Options that apply to all src configs -->
			<set name="exclude" value="**/.hg/**"/>
			<set name="exclude" value="**/.hgtags"/>
			<set name="exclude" value="**/.hgignore"/>
			<set name="exclude" value="**/.hg_archival.txt"/>
			
			<!-- These configs will be populated with tags for the source -->
			<config name="sfl" abstract="true">
				<set name="grace.filters" value="src" />
			</config>
			<config name="oss" abstract="true">
				<set name="grace.filters" value="src" />
			</config>
			<config name="rnd" abstract="true">
				<set name="grace.filters" value="rnd" />
			</config>
		</config>
		<config name="src-by-layer" abstract="true">
			<set name="grace.metadata" value="false" />
			<set name="root.dir" value="${build.output.dir}/zips"/>
			<config>
				<set name="name" value="src_adaptation"/>
				<set name="include" value="src_sfl_adaptation_*.zip"/>
			</config>
			<config>
				<set name="name" value="src_app"/>
				<set name="include" value="src_sfl_app_*.zip"/>
			</config>
			<config>
				<set name="name" value="src_mw"/>
				<set name="include" value="src_sfl_mw_*.zip"/>
			</config>
			<config>
				<set name="name" value="src_os"/>
				<set name="include" value="src_sfl_os_*.zip"/>
			</config>
			<config>
				<set name="name" value="src_ostools"/>
				<set name="include" value="src_sfl_ostools_*.zip"/>
			</config>
			<config>
				<set name="name" value="src_tools"/>
				<set name="include" value="src_sfl_tools_*.zip"/>
			</config>
		</config>
		<!-- Specify this config to package all outputs from the build -->
		<config name="bin" abstract="true">
			<!-- This config will be populated with exclusions for the rnd bins -->
			<config>
				<set name="name" value="binaries_epoc"/>
				<set name="grace.filters" value="emu" />
				<set name="include" value="epoc32/**"/>
				<set name="exclude" value="epoc32/build/**"/>
			</config>
		</config>
	</config>
</build>