common/templates/zip.cfg.xml.ftl.template
author Simon Howkins <simonh@symbian.org>
Tue, 05 May 2009 13:20:00 +0100
changeset 82 ad3b0c93410e
parent 77 89903a4399c7
child 83 add0abfa2371
permissions -rw-r--r--
Exclude the .hg repository directories from the packaged src.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
73
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     1
<?xml version="1.0"?>
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     2
<build>
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     3
	<config abstract="true">
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     4
		<!-- Options that apply accross the board -->
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     5
		<set name="archive.tool" value="7za" />
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     6
		<set name="root.dir" value="${build.drive}/" />
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     7
		<set name="temp.build.dir" value="${temp.build.dir}" />
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     8
		<set name="casesensitive" value="false" />
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
     9
		<set name="archives.dir" value="${build.output.dir}/zips" />
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    10
		<set name="policy.internal.name" value="removed" />
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    11
		<!--set name="policy.csv" value="${policy.csv}" /-->
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    12
		<set name="policy.zip2zip" value="false" />
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    13
		<set name="policy.default.value" value="" />
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    14
		
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    15
		<!--  Metadata creation -->
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    16
		<set name="grace.template" value="${temp.build.dir}/release_metadata_template.xml" />
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    17
		<set name="grace.metadata" value="true" />
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    18
		<set name="grace.service" value="${grace.service.name}" />
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    19
		<set name="grace.product" value="${grace.product.name}" />
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    20
		<set name="grace.release" value="${grace.release.name}" />
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    21
		
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    22
		<!-- Specify this config to package all inputs to the build -->
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    23
		<config name="src" abstract="true">
82
ad3b0c93410e Exclude the .hg repository directories from the packaged src.
Simon Howkins <simonh@symbian.org>
parents: 77
diff changeset
    24
			<!-- Options that apply to all src configs -->
ad3b0c93410e Exclude the .hg repository directories from the packaged src.
Simon Howkins <simonh@symbian.org>
parents: 77
diff changeset
    25
			<set name="exclude" value="**/.hg/**"/>
ad3b0c93410e Exclude the .hg repository directories from the packaged src.
Simon Howkins <simonh@symbian.org>
parents: 77
diff changeset
    26
			
ad3b0c93410e Exclude the .hg repository directories from the packaged src.
Simon Howkins <simonh@symbian.org>
parents: 77
diff changeset
    27
			<!-- These configs will be populated with tags for the source -->
73
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    28
			<config name="sfl" abstract="true">
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    29
				<set name="grace.filters" value="src" />
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    30
			</config>
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    31
			<config name="epl" abstract="true">
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    32
				<set name="grace.filters" value="src" />
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    33
			</config>
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    34
			<config name="rnd" abstract="true">
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    35
				<set name="grace.filters" value="rnd" />
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    36
			</config>
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    37
		</config>
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    38
		<!-- Specify this config to package all outputs from the build -->
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    39
		<config name="bin" abstract="true">
82
ad3b0c93410e Exclude the .hg repository directories from the packaged src.
Simon Howkins <simonh@symbian.org>
parents: 77
diff changeset
    40
			<!-- This config will be populated with exclusions for the rnd bins -->
73
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    41
			<config>
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    42
				<set name="name" value="binaries_epoc"/>
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    43
				<set name="grace.filters" value="emu" />
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    44
				<set name="include" value="epoc32/**"/>
77
89903a4399c7 Exclude epoc32/build to stop intermediate obj files from being packaged
Shabe Razvi <shaber@symbian.org>
parents: 73
diff changeset
    45
				<set name="exclude" value="epoc32/include/**"/>
73
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    46
			</config>
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    47
		</config>
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    48
	</config>
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    49
</build>