common/templates/zip.cfg.xml.ftl.template
author Maciej Seroka <maciejs@symbian.org>
Mon, 23 Nov 2009 09:08:01 +0000
changeset 787 bfafbde70ba1
parent 767 69d150dcf917
child 795 7f120899dd36
permissions -rw-r--r--
Disabled bccheck for normal builds
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
		
460
fda39efc6eb8 Avoided zipping up .hg et al in rnd zips.
Simon Howkins <simonh@symbian.org>
parents: 456
diff changeset
    22
		<!-- Options that apply to all configs - don't put in any hg internals! -->
fda39efc6eb8 Avoided zipping up .hg et al in rnd zips.
Simon Howkins <simonh@symbian.org>
parents: 456
diff changeset
    23
		<set name="exclude" value="**/.hg/**"/>
fda39efc6eb8 Avoided zipping up .hg et al in rnd zips.
Simon Howkins <simonh@symbian.org>
parents: 456
diff changeset
    24
		<set name="exclude" value="**/.hgtags"/>
fda39efc6eb8 Avoided zipping up .hg et al in rnd zips.
Simon Howkins <simonh@symbian.org>
parents: 456
diff changeset
    25
		<set name="exclude" value="**/.hgignore"/>
fda39efc6eb8 Avoided zipping up .hg et al in rnd zips.
Simon Howkins <simonh@symbian.org>
parents: 456
diff changeset
    26
		<set name="exclude" value="**/.hg_archival.txt"/>
fda39efc6eb8 Avoided zipping up .hg et al in rnd zips.
Simon Howkins <simonh@symbian.org>
parents: 456
diff changeset
    27
		
456
1ba3c86ebec0 Bug 350 RnD binary zips missing all content outside epoc32 tree
Simon Howkins <simonh@symbian.org>
parents: 388
diff changeset
    28
		<!-- Specify this config to package all src inputs to the build -->
73
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    29
		<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
    30
			<!-- 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
    31
			<config name="sfl" 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>
96
d9f19d792d0c Fixed "zip.cfg.xml.ftl.template" to use "oss" and not "epl" in the configuration name.
ThomasE@UK-ThomasE.symbian.int
parents: 83
diff changeset
    34
			<config name="oss" abstract="true">
73
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    35
				<set name="grace.filters" value="src" />
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    36
			</config>
388
2ab990de5a23 Bug 299 populateziptemplate.pl aborts if it cannot determine the license for a source component
Simon Howkins <simonh@symbian.org>
parents: 387
diff changeset
    37
			<config name="misc" abstract="true">
2ab990de5a23 Bug 299 populateziptemplate.pl aborts if it cannot determine the license for a source component
Simon Howkins <simonh@symbian.org>
parents: 387
diff changeset
    38
				<set name="grace.filters" value="misc" />
2ab990de5a23 Bug 299 populateziptemplate.pl aborts if it cannot determine the license for a source component
Simon Howkins <simonh@symbian.org>
parents: 387
diff changeset
    39
			</config>
73
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    40
		</config>
456
1ba3c86ebec0 Bug 350 RnD binary zips missing all content outside epoc32 tree
Simon Howkins <simonh@symbian.org>
parents: 388
diff changeset
    41
		<!-- Specify this config to double-package all src inputs to the build -->
254
5033df3f8834 Create zips of zips for SFL src.
Simon Howkins <simonh@symbian.org>
parents: 106
diff changeset
    42
		<config name="src-by-layer" abstract="true">
5033df3f8834 Create zips of zips for SFL src.
Simon Howkins <simonh@symbian.org>
parents: 106
diff changeset
    43
			<set name="root.dir" value="${build.output.dir}/zips"/>
261
a0e85954c23c Fix packaging issues. Released zips now delivered in zips\release folder.
Shabe Razvi <shaber@symbian.org>
parents: 259
diff changeset
    44
			<set name="archives.dir" value="${build.output.dir}/zips/release" />
456
1ba3c86ebec0 Bug 350 RnD binary zips missing all content outside epoc32 tree
Simon Howkins <simonh@symbian.org>
parents: 388
diff changeset
    45
			<set name="grace.filters" value="src" />
1ba3c86ebec0 Bug 350 RnD binary zips missing all content outside epoc32 tree
Simon Howkins <simonh@symbian.org>
parents: 388
diff changeset
    46
			<set name="grace.extract" value="double" />
767
69d150dcf917 Now creates src-by-layer entries on the fly, so it doesn't create release zips with no content.
Simon Howkins <simonh@symbian.org>
parents: 664
diff changeset
    47
			<!-- Zips of zips for SFL code and for OSS code will be inserted here -->
254
5033df3f8834 Create zips of zips for SFL src.
Simon Howkins <simonh@symbian.org>
parents: 106
diff changeset
    48
		</config>
456
1ba3c86ebec0 Bug 350 RnD binary zips missing all content outside epoc32 tree
Simon Howkins <simonh@symbian.org>
parents: 388
diff changeset
    49
		<!-- Specify this config to package all rnd inputs to the build that should be released -->
1ba3c86ebec0 Bug 350 RnD binary zips missing all content outside epoc32 tree
Simon Howkins <simonh@symbian.org>
parents: 388
diff changeset
    50
		<config name="rnd" abstract="true">
1ba3c86ebec0 Bug 350 RnD binary zips missing all content outside epoc32 tree
Simon Howkins <simonh@symbian.org>
parents: 388
diff changeset
    51
			<set name="grace.filters" value="rnd" />
1ba3c86ebec0 Bug 350 RnD binary zips missing all content outside epoc32 tree
Simon Howkins <simonh@symbian.org>
parents: 388
diff changeset
    52
			<set name="archives.dir" value="${build.output.dir}/zips/release" />
1ba3c86ebec0 Bug 350 RnD binary zips missing all content outside epoc32 tree
Simon Howkins <simonh@symbian.org>
parents: 388
diff changeset
    53
		</config>
1ba3c86ebec0 Bug 350 RnD binary zips missing all content outside epoc32 tree
Simon Howkins <simonh@symbian.org>
parents: 388
diff changeset
    54
		<!-- Specify this config to package all rnd inputs to the build that should be released -->
1ba3c86ebec0 Bug 350 RnD binary zips missing all content outside epoc32 tree
Simon Howkins <simonh@symbian.org>
parents: 388
diff changeset
    55
		<config name="rnd-internal" abstract="true">
1ba3c86ebec0 Bug 350 RnD binary zips missing all content outside epoc32 tree
Simon Howkins <simonh@symbian.org>
parents: 388
diff changeset
    56
			<set name="grace.filters" value="emu" />
1ba3c86ebec0 Bug 350 RnD binary zips missing all content outside epoc32 tree
Simon Howkins <simonh@symbian.org>
parents: 388
diff changeset
    57
		</config>
73
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    58
		<!-- 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
    59
		<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
    60
			<!-- 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
    61
			<config>
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    62
				<set name="name" value="binaries_epoc"/>
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    63
				<set name="grace.filters" value="emu" />
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    64
				<set name="include" value="epoc32/**"/>
83
add0abfa2371 Fix the generation of the binary zip, so epoc32/include is zipped, but epoc32/build is not.
Simon Howkins <simonh@symbian.org>
parents: 82
diff changeset
    65
				<set name="exclude" value="epoc32/build/**"/>
73
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    66
			</config>
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    67
		</config>
456
1ba3c86ebec0 Bug 350 RnD binary zips missing all content outside epoc32 tree
Simon Howkins <simonh@symbian.org>
parents: 388
diff changeset
    68
		<!-- Specify this config to re-package the internal rnd bins after the build has updates some of the files -->
1ba3c86ebec0 Bug 350 RnD binary zips missing all content outside epoc32 tree
Simon Howkins <simonh@symbian.org>
parents: 388
diff changeset
    69
		<config name="rnd-postbuild" abstract="true">
1ba3c86ebec0 Bug 350 RnD binary zips missing all content outside epoc32 tree
Simon Howkins <simonh@symbian.org>
parents: 388
diff changeset
    70
			<set name="grace.filters" value="emu"/>
1ba3c86ebec0 Bug 350 RnD binary zips missing all content outside epoc32 tree
Simon Howkins <simonh@symbian.org>
parents: 388
diff changeset
    71
			<set name="archives.dir" value="${build.output.dir}/zips/release" />
1ba3c86ebec0 Bug 350 RnD binary zips missing all content outside epoc32 tree
Simon Howkins <simonh@symbian.org>
parents: 388
diff changeset
    72
		</config>
497
63547bf80809 Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents: 460
diff changeset
    73
		<!-- "Null" tools entry, which matches no files, but does populate the release_metadata.xml -->
63547bf80809 Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents: 460
diff changeset
    74
		<config name="tools">
63547bf80809 Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents: 460
diff changeset
    75
			<set name="name" value="tools_epoc"/>
63547bf80809 Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents: 460
diff changeset
    76
			<set name="archives.dir" value="${build.output.dir}/zips/release" />
63547bf80809 Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents: 460
diff changeset
    77
			<set name="grace.filters" value="tools"/>
63547bf80809 Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents: 460
diff changeset
    78
			<set name="include" value="*"/>
63547bf80809 Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents: 460
diff changeset
    79
			<set name="exclude" value="**"/>
63547bf80809 Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents: 460
diff changeset
    80
		</config>
63547bf80809 Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents: 460
diff changeset
    81
		<!-- "Null" binaries entries, which match no files, but do populate the release_metadata.xml -->
63547bf80809 Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents: 460
diff changeset
    82
		<config name="bin-just-metadata" abstract="true">
63547bf80809 Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents: 460
diff changeset
    83
			<set name="archives.dir" value="${build.output.dir}/zips/release" />
63547bf80809 Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents: 460
diff changeset
    84
			<set name="grace.filters" value="emu"/>
63547bf80809 Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents: 460
diff changeset
    85
			<set name="include" value="*"/>
63547bf80809 Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents: 460
diff changeset
    86
			<set name="exclude" value="**"/>
63547bf80809 Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents: 460
diff changeset
    87
			<config name="core">
63547bf80809 Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents: 460
diff changeset
    88
				<set name="name" value="binaries_epoc"/>
63547bf80809 Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents: 460
diff changeset
    89
			</config>
63547bf80809 Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents: 460
diff changeset
    90
			<config name="armv5">
63547bf80809 Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents: 460
diff changeset
    91
				<set name="name" value="binaries_armv5"/>
63547bf80809 Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents: 460
diff changeset
    92
			</config>
63547bf80809 Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents: 460
diff changeset
    93
			<config name="winscw">
63547bf80809 Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents: 460
diff changeset
    94
				<set name="name" value="binaries_winscw"/>
63547bf80809 Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents: 460
diff changeset
    95
			</config>
63547bf80809 Bug 384 Platform build should output all PDK releasables into one directory
Simon Howkins <simonh@symbian.org>
parents: 460
diff changeset
    96
		</config>
664
29955a149536 Bug 478: build_*.zip missing from generated release_metadata.xml
Simon Howkins <simonh@symbian.org>
parents: 497
diff changeset
    97
		<!-- "Null" info entries, which match no files, but do populate the release_metadata.xml -->
29955a149536 Bug 478: build_*.zip missing from generated release_metadata.xml
Simon Howkins <simonh@symbian.org>
parents: 497
diff changeset
    98
		<config name="info-just-metadata" abstract="true">
29955a149536 Bug 478: build_*.zip missing from generated release_metadata.xml
Simon Howkins <simonh@symbian.org>
parents: 497
diff changeset
    99
			<set name="archives.dir" value="${build.output.dir}/zips/release" />
29955a149536 Bug 478: build_*.zip missing from generated release_metadata.xml
Simon Howkins <simonh@symbian.org>
parents: 497
diff changeset
   100
			<set name="include" value="*"/>
29955a149536 Bug 478: build_*.zip missing from generated release_metadata.xml
Simon Howkins <simonh@symbian.org>
parents: 497
diff changeset
   101
			<set name="exclude" value="**"/>
29955a149536 Bug 478: build_*.zip missing from generated release_metadata.xml
Simon Howkins <simonh@symbian.org>
parents: 497
diff changeset
   102
			<config name="logs">
29955a149536 Bug 478: build_*.zip missing from generated release_metadata.xml
Simon Howkins <simonh@symbian.org>
parents: 497
diff changeset
   103
				<set name="name" value="build_logs"/>
29955a149536 Bug 478: build_*.zip missing from generated release_metadata.xml
Simon Howkins <simonh@symbian.org>
parents: 497
diff changeset
   104
				<set name="grace.filters" value="logs"/>
29955a149536 Bug 478: build_*.zip missing from generated release_metadata.xml
Simon Howkins <simonh@symbian.org>
parents: 497
diff changeset
   105
			</config>
29955a149536 Bug 478: build_*.zip missing from generated release_metadata.xml
Simon Howkins <simonh@symbian.org>
parents: 497
diff changeset
   106
			<config name="BOM">
29955a149536 Bug 478: build_*.zip missing from generated release_metadata.xml
Simon Howkins <simonh@symbian.org>
parents: 497
diff changeset
   107
				<set name="name" value="build_BOM"/>
29955a149536 Bug 478: build_*.zip missing from generated release_metadata.xml
Simon Howkins <simonh@symbian.org>
parents: 497
diff changeset
   108
				<set name="grace.filters" value="info"/>
29955a149536 Bug 478: build_*.zip missing from generated release_metadata.xml
Simon Howkins <simonh@symbian.org>
parents: 497
diff changeset
   109
			</config>
29955a149536 Bug 478: build_*.zip missing from generated release_metadata.xml
Simon Howkins <simonh@symbian.org>
parents: 497
diff changeset
   110
		</config>
29955a149536 Bug 478: build_*.zip missing from generated release_metadata.xml
Simon Howkins <simonh@symbian.org>
parents: 497
diff changeset
   111
		<!-- "Null" md5 entry, which matches no files, but does populate the release_metadata.xml -->
29955a149536 Bug 478: build_*.zip missing from generated release_metadata.xml
Simon Howkins <simonh@symbian.org>
parents: 497
diff changeset
   112
		<config name="md5-just-metadata" abstract="true">
29955a149536 Bug 478: build_*.zip missing from generated release_metadata.xml
Simon Howkins <simonh@symbian.org>
parents: 497
diff changeset
   113
			<set name="archives.dir" value="${build.output.dir}/zips/release" />
29955a149536 Bug 478: build_*.zip missing from generated release_metadata.xml
Simon Howkins <simonh@symbian.org>
parents: 497
diff changeset
   114
			<set name="name" value="build_md5"/>
29955a149536 Bug 478: build_*.zip missing from generated release_metadata.xml
Simon Howkins <simonh@symbian.org>
parents: 497
diff changeset
   115
			<set name="grace.filters" value="info"/>
29955a149536 Bug 478: build_*.zip missing from generated release_metadata.xml
Simon Howkins <simonh@symbian.org>
parents: 497
diff changeset
   116
			<set name="include" value="*"/>
29955a149536 Bug 478: build_*.zip missing from generated release_metadata.xml
Simon Howkins <simonh@symbian.org>
parents: 497
diff changeset
   117
			<set name="exclude" value="**"/>
29955a149536 Bug 478: build_*.zip missing from generated release_metadata.xml
Simon Howkins <simonh@symbian.org>
parents: 497
diff changeset
   118
		</config>
73
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   119
	</config>
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   120
</build>