common/templates/zip.cfg.xml.ftl.template
author MattD <mattd@symbian.org>
Mon, 14 Sep 2009 13:51:50 +0100
changeset 447 89c89d6e6c3c
parent 388 2ab990de5a23
child 456 1ba3c86ebec0
permissions -rw-r--r--
Added tag PDK_2.0.e for changeset cc2965329dd1
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/**"/>
106
7531256fc15c Added filter to exclude Hg control files from package zips.
Simon Howkins <simonh@symbian.org>
parents: 96
diff changeset
    26
			<set name="exclude" value="**/.hgtags"/>
7531256fc15c Added filter to exclude Hg control files from package zips.
Simon Howkins <simonh@symbian.org>
parents: 96
diff changeset
    27
			<set name="exclude" value="**/.hgignore"/>
7531256fc15c Added filter to exclude Hg control files from package zips.
Simon Howkins <simonh@symbian.org>
parents: 96
diff changeset
    28
			<set name="exclude" value="**/.hg_archival.txt"/>
82
ad3b0c93410e Exclude the .hg repository directories from the packaged src.
Simon Howkins <simonh@symbian.org>
parents: 77
diff changeset
    29
			
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>
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    37
			<config name="rnd" abstract="true">
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    38
				<set name="grace.filters" value="rnd" />
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    39
			</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
    40
			<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
    41
				<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
    42
			</config>
73
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    43
		</config>
254
5033df3f8834 Create zips of zips for SFL src.
Simon Howkins <simonh@symbian.org>
parents: 106
diff changeset
    44
		<config name="src-by-layer" abstract="true">
255
62336323cabc Stopped it putting useless information about zips of zips into the release_metadata.xml file.
Simon Howkins <simonh@symbian.org>
parents: 254
diff changeset
    45
			<set name="grace.metadata" value="false" />
254
5033df3f8834 Create zips of zips for SFL src.
Simon Howkins <simonh@symbian.org>
parents: 106
diff changeset
    46
			<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
    47
			<set name="archives.dir" value="${build.output.dir}/zips/release" />
259
97419fef4b8f Added creation of zips of zips of OSS packages (though these are not yet published in a PDK release).
Simon Howkins <simonh@symbian.org>
parents: 255
diff changeset
    48
			<!-- Zips of zips for SFL code -->
387
1c8af9baa8a7 Changed to avoid warnings during construction of packaging instructions.
Simon Howkins <simonh@symbian.org>
parents: 261
diff changeset
    49
			<config name="sfl-adaptation">
259
97419fef4b8f Added creation of zips of zips of OSS packages (though these are not yet published in a PDK release).
Simon Howkins <simonh@symbian.org>
parents: 255
diff changeset
    50
				<set name="name" value="src_sfl_adaptation"/>
254
5033df3f8834 Create zips of zips for SFL src.
Simon Howkins <simonh@symbian.org>
parents: 106
diff changeset
    51
				<set name="include" value="src_sfl_adaptation_*.zip"/>
5033df3f8834 Create zips of zips for SFL src.
Simon Howkins <simonh@symbian.org>
parents: 106
diff changeset
    52
			</config>
387
1c8af9baa8a7 Changed to avoid warnings during construction of packaging instructions.
Simon Howkins <simonh@symbian.org>
parents: 261
diff changeset
    53
			<config name="sfl-app">
259
97419fef4b8f Added creation of zips of zips of OSS packages (though these are not yet published in a PDK release).
Simon Howkins <simonh@symbian.org>
parents: 255
diff changeset
    54
				<set name="name" value="src_sfl_app"/>
254
5033df3f8834 Create zips of zips for SFL src.
Simon Howkins <simonh@symbian.org>
parents: 106
diff changeset
    55
				<set name="include" value="src_sfl_app_*.zip"/>
5033df3f8834 Create zips of zips for SFL src.
Simon Howkins <simonh@symbian.org>
parents: 106
diff changeset
    56
			</config>
387
1c8af9baa8a7 Changed to avoid warnings during construction of packaging instructions.
Simon Howkins <simonh@symbian.org>
parents: 261
diff changeset
    57
			<config name="sfl-mw">
259
97419fef4b8f Added creation of zips of zips of OSS packages (though these are not yet published in a PDK release).
Simon Howkins <simonh@symbian.org>
parents: 255
diff changeset
    58
				<set name="name" value="src_sfl_mw"/>
254
5033df3f8834 Create zips of zips for SFL src.
Simon Howkins <simonh@symbian.org>
parents: 106
diff changeset
    59
				<set name="include" value="src_sfl_mw_*.zip"/>
5033df3f8834 Create zips of zips for SFL src.
Simon Howkins <simonh@symbian.org>
parents: 106
diff changeset
    60
			</config>
387
1c8af9baa8a7 Changed to avoid warnings during construction of packaging instructions.
Simon Howkins <simonh@symbian.org>
parents: 261
diff changeset
    61
			<config name="sfl-os">
259
97419fef4b8f Added creation of zips of zips of OSS packages (though these are not yet published in a PDK release).
Simon Howkins <simonh@symbian.org>
parents: 255
diff changeset
    62
				<set name="name" value="src_sfl_os"/>
254
5033df3f8834 Create zips of zips for SFL src.
Simon Howkins <simonh@symbian.org>
parents: 106
diff changeset
    63
				<set name="include" value="src_sfl_os_*.zip"/>
5033df3f8834 Create zips of zips for SFL src.
Simon Howkins <simonh@symbian.org>
parents: 106
diff changeset
    64
			</config>
387
1c8af9baa8a7 Changed to avoid warnings during construction of packaging instructions.
Simon Howkins <simonh@symbian.org>
parents: 261
diff changeset
    65
			<config name="sfl-ostools">
259
97419fef4b8f Added creation of zips of zips of OSS packages (though these are not yet published in a PDK release).
Simon Howkins <simonh@symbian.org>
parents: 255
diff changeset
    66
				<set name="name" value="src_sfl_ostools"/>
254
5033df3f8834 Create zips of zips for SFL src.
Simon Howkins <simonh@symbian.org>
parents: 106
diff changeset
    67
				<set name="include" value="src_sfl_ostools_*.zip"/>
5033df3f8834 Create zips of zips for SFL src.
Simon Howkins <simonh@symbian.org>
parents: 106
diff changeset
    68
			</config>
387
1c8af9baa8a7 Changed to avoid warnings during construction of packaging instructions.
Simon Howkins <simonh@symbian.org>
parents: 261
diff changeset
    69
			<config name="sfl-tools">
259
97419fef4b8f Added creation of zips of zips of OSS packages (though these are not yet published in a PDK release).
Simon Howkins <simonh@symbian.org>
parents: 255
diff changeset
    70
				<set name="name" value="src_sfl_tools"/>
254
5033df3f8834 Create zips of zips for SFL src.
Simon Howkins <simonh@symbian.org>
parents: 106
diff changeset
    71
				<set name="include" value="src_sfl_tools_*.zip"/>
5033df3f8834 Create zips of zips for SFL src.
Simon Howkins <simonh@symbian.org>
parents: 106
diff changeset
    72
			</config>
259
97419fef4b8f Added creation of zips of zips of OSS packages (though these are not yet published in a PDK release).
Simon Howkins <simonh@symbian.org>
parents: 255
diff changeset
    73
			<!-- Zips of zips for OSS code -->
387
1c8af9baa8a7 Changed to avoid warnings during construction of packaging instructions.
Simon Howkins <simonh@symbian.org>
parents: 261
diff changeset
    74
			<config name="oss-adaptation">
259
97419fef4b8f Added creation of zips of zips of OSS packages (though these are not yet published in a PDK release).
Simon Howkins <simonh@symbian.org>
parents: 255
diff changeset
    75
				<set name="name" value="src_oss_adaptation"/>
97419fef4b8f Added creation of zips of zips of OSS packages (though these are not yet published in a PDK release).
Simon Howkins <simonh@symbian.org>
parents: 255
diff changeset
    76
				<set name="include" value="src_oss_adaptation_*.zip"/>
97419fef4b8f Added creation of zips of zips of OSS packages (though these are not yet published in a PDK release).
Simon Howkins <simonh@symbian.org>
parents: 255
diff changeset
    77
			</config>
387
1c8af9baa8a7 Changed to avoid warnings during construction of packaging instructions.
Simon Howkins <simonh@symbian.org>
parents: 261
diff changeset
    78
			<config name="oss-app">
259
97419fef4b8f Added creation of zips of zips of OSS packages (though these are not yet published in a PDK release).
Simon Howkins <simonh@symbian.org>
parents: 255
diff changeset
    79
				<set name="name" value="src_oss_app"/>
97419fef4b8f Added creation of zips of zips of OSS packages (though these are not yet published in a PDK release).
Simon Howkins <simonh@symbian.org>
parents: 255
diff changeset
    80
				<set name="include" value="src_oss_app_*.zip"/>
97419fef4b8f Added creation of zips of zips of OSS packages (though these are not yet published in a PDK release).
Simon Howkins <simonh@symbian.org>
parents: 255
diff changeset
    81
			</config>
387
1c8af9baa8a7 Changed to avoid warnings during construction of packaging instructions.
Simon Howkins <simonh@symbian.org>
parents: 261
diff changeset
    82
			<config name="oss-mw">
259
97419fef4b8f Added creation of zips of zips of OSS packages (though these are not yet published in a PDK release).
Simon Howkins <simonh@symbian.org>
parents: 255
diff changeset
    83
				<set name="name" value="src_oss_mw"/>
97419fef4b8f Added creation of zips of zips of OSS packages (though these are not yet published in a PDK release).
Simon Howkins <simonh@symbian.org>
parents: 255
diff changeset
    84
				<set name="include" value="src_oss_mw_*.zip"/>
97419fef4b8f Added creation of zips of zips of OSS packages (though these are not yet published in a PDK release).
Simon Howkins <simonh@symbian.org>
parents: 255
diff changeset
    85
			</config>
387
1c8af9baa8a7 Changed to avoid warnings during construction of packaging instructions.
Simon Howkins <simonh@symbian.org>
parents: 261
diff changeset
    86
			<config name="oss-os">
259
97419fef4b8f Added creation of zips of zips of OSS packages (though these are not yet published in a PDK release).
Simon Howkins <simonh@symbian.org>
parents: 255
diff changeset
    87
				<set name="name" value="src_oss_os"/>
97419fef4b8f Added creation of zips of zips of OSS packages (though these are not yet published in a PDK release).
Simon Howkins <simonh@symbian.org>
parents: 255
diff changeset
    88
				<set name="include" value="src_oss_os_*.zip"/>
97419fef4b8f Added creation of zips of zips of OSS packages (though these are not yet published in a PDK release).
Simon Howkins <simonh@symbian.org>
parents: 255
diff changeset
    89
			</config>
387
1c8af9baa8a7 Changed to avoid warnings during construction of packaging instructions.
Simon Howkins <simonh@symbian.org>
parents: 261
diff changeset
    90
			<config name="oss-ostools">
259
97419fef4b8f Added creation of zips of zips of OSS packages (though these are not yet published in a PDK release).
Simon Howkins <simonh@symbian.org>
parents: 255
diff changeset
    91
				<set name="name" value="src_oss_ostools"/>
97419fef4b8f Added creation of zips of zips of OSS packages (though these are not yet published in a PDK release).
Simon Howkins <simonh@symbian.org>
parents: 255
diff changeset
    92
				<set name="include" value="src_oss_ostools_*.zip"/>
97419fef4b8f Added creation of zips of zips of OSS packages (though these are not yet published in a PDK release).
Simon Howkins <simonh@symbian.org>
parents: 255
diff changeset
    93
			</config>
387
1c8af9baa8a7 Changed to avoid warnings during construction of packaging instructions.
Simon Howkins <simonh@symbian.org>
parents: 261
diff changeset
    94
			<config name="oss-tools">
259
97419fef4b8f Added creation of zips of zips of OSS packages (though these are not yet published in a PDK release).
Simon Howkins <simonh@symbian.org>
parents: 255
diff changeset
    95
				<set name="name" value="src_oss_tools"/>
97419fef4b8f Added creation of zips of zips of OSS packages (though these are not yet published in a PDK release).
Simon Howkins <simonh@symbian.org>
parents: 255
diff changeset
    96
				<set name="include" value="src_oss_tools_*.zip"/>
97419fef4b8f Added creation of zips of zips of OSS packages (though these are not yet published in a PDK release).
Simon Howkins <simonh@symbian.org>
parents: 255
diff changeset
    97
			</config>
254
5033df3f8834 Create zips of zips for SFL src.
Simon Howkins <simonh@symbian.org>
parents: 106
diff changeset
    98
		</config>
73
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
    99
		<!-- 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
   100
		<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
   101
			<!-- 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
   102
			<config>
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   103
				<set name="name" value="binaries_epoc"/>
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   104
				<set name="grace.filters" value="emu" />
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   105
				<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
   106
				<set name="exclude" value="epoc32/build/**"/>
73
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   107
			</config>
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   108
		</config>
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   109
	</config>
b8d6af733d6d Add first cut of packaging solution
Shabe Razvi <shaber@symbian.org>
parents:
diff changeset
   110
</build>