common/templates/zip.cfg.xml.ftl.template
changeset 456 1ba3c86ebec0
parent 388 2ab990de5a23
child 460 fda39efc6eb8
equal deleted inserted replaced
455:bb24766fdbdc 456:1ba3c86ebec0
    17 		<set name="grace.metadata" value="true" />
    17 		<set name="grace.metadata" value="true" />
    18 		<set name="grace.service" value="${grace.service.name}" />
    18 		<set name="grace.service" value="${grace.service.name}" />
    19 		<set name="grace.product" value="${grace.product.name}" />
    19 		<set name="grace.product" value="${grace.product.name}" />
    20 		<set name="grace.release" value="${grace.release.name}" />
    20 		<set name="grace.release" value="${grace.release.name}" />
    21 		
    21 		
    22 		<!-- Specify this config to package all inputs to the build -->
    22 		<!-- Specify this config to package all src inputs to the build -->
    23 		<config name="src" abstract="true">
    23 		<config name="src" abstract="true">
    24 			<!-- Options that apply to all src configs -->
    24 			<!-- Options that apply to all src configs -->
    25 			<set name="exclude" value="**/.hg/**"/>
    25 			<set name="exclude" value="**/.hg/**"/>
    26 			<set name="exclude" value="**/.hgtags"/>
    26 			<set name="exclude" value="**/.hgtags"/>
    27 			<set name="exclude" value="**/.hgignore"/>
    27 			<set name="exclude" value="**/.hgignore"/>
    32 				<set name="grace.filters" value="src" />
    32 				<set name="grace.filters" value="src" />
    33 			</config>
    33 			</config>
    34 			<config name="oss" abstract="true">
    34 			<config name="oss" abstract="true">
    35 				<set name="grace.filters" value="src" />
    35 				<set name="grace.filters" value="src" />
    36 			</config>
    36 			</config>
    37 			<config name="rnd" abstract="true">
       
    38 				<set name="grace.filters" value="rnd" />
       
    39 			</config>
       
    40 			<config name="misc" abstract="true">
    37 			<config name="misc" abstract="true">
    41 				<set name="grace.filters" value="misc" />
    38 				<set name="grace.filters" value="misc" />
    42 			</config>
    39 			</config>
    43 		</config>
    40 		</config>
       
    41 		<!-- Specify this config to double-package all src inputs to the build -->
    44 		<config name="src-by-layer" abstract="true">
    42 		<config name="src-by-layer" abstract="true">
    45 			<set name="grace.metadata" value="false" />
       
    46 			<set name="root.dir" value="${build.output.dir}/zips"/>
    43 			<set name="root.dir" value="${build.output.dir}/zips"/>
    47 			<set name="archives.dir" value="${build.output.dir}/zips/release" />
    44 			<set name="archives.dir" value="${build.output.dir}/zips/release" />
       
    45 			<set name="grace.filters" value="src" />
       
    46 			<set name="grace.extract" value="double" />
    48 			<!-- Zips of zips for SFL code -->
    47 			<!-- Zips of zips for SFL code -->
    49 			<config name="sfl-adaptation">
    48 			<config name="sfl-adaptation">
    50 				<set name="name" value="src_sfl_adaptation"/>
    49 				<set name="name" value="src_sfl_adaptation"/>
    51 				<set name="include" value="src_sfl_adaptation_*.zip"/>
    50 				<set name="include" value="src_sfl_adaptation_*.zip"/>
    52 			</config>
    51 			</config>
    94 			<config name="oss-tools">
    93 			<config name="oss-tools">
    95 				<set name="name" value="src_oss_tools"/>
    94 				<set name="name" value="src_oss_tools"/>
    96 				<set name="include" value="src_oss_tools_*.zip"/>
    95 				<set name="include" value="src_oss_tools_*.zip"/>
    97 			</config>
    96 			</config>
    98 		</config>
    97 		</config>
       
    98 		<!-- Specify this config to package all rnd inputs to the build that should be released -->
       
    99 		<config name="rnd" abstract="true">
       
   100 			<set name="grace.filters" value="rnd" />
       
   101 			<set name="archives.dir" value="${build.output.dir}/zips/release" />
       
   102 		</config>
       
   103 		<!-- Specify this config to package all rnd inputs to the build that should be released -->
       
   104 		<config name="rnd-internal" abstract="true">
       
   105 			<set name="grace.filters" value="emu" />
       
   106 		</config>
    99 		<!-- Specify this config to package all outputs from the build -->
   107 		<!-- Specify this config to package all outputs from the build -->
   100 		<config name="bin" abstract="true">
   108 		<config name="bin" abstract="true">
   101 			<!-- This config will be populated with exclusions for the rnd bins -->
   109 			<!-- This config will be populated with exclusions for the rnd bins -->
   102 			<config>
   110 			<config>
   103 				<set name="name" value="binaries_epoc"/>
   111 				<set name="name" value="binaries_epoc"/>
   104 				<set name="grace.filters" value="emu" />
   112 				<set name="grace.filters" value="emu" />
   105 				<set name="include" value="epoc32/**"/>
   113 				<set name="include" value="epoc32/**"/>
   106 				<set name="exclude" value="epoc32/build/**"/>
   114 				<set name="exclude" value="epoc32/build/**"/>
   107 			</config>
   115 			</config>
   108 		</config>
   116 		</config>
       
   117 		<!-- Specify this config to re-package the internal rnd bins after the build has updates some of the files -->
       
   118 		<config name="rnd-postbuild" abstract="true">
       
   119 			<set name="grace.filters" value="emu"/>
       
   120 			<set name="archives.dir" value="${build.output.dir}/zips/release" />
       
   121 		</config>
   109 	</config>
   122 	</config>
   110 </build>
   123 </build>