configurationengine/source/plugins/symbian/ConeProjectConverterPlugin/projectconvertplugin/tests/expected/new_project/family_x/test3/implml/create_project.convertprojectml
changeset 0 2e8eeb919028
child 3 e7e0ae78773e
equal deleted inserted replaced
-1:000000000000 0:2e8eeb919028
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <convertprojectml xmlns="http://www.s60.com/xml/convertprojectml/1">
       
     3 	
       
     4 	<!-- Using empty target project tag so that output goes to generation output dir -->
       
     5 	<targetProject/>
       
     6 
       
     7 	<!-- =============== -->
       
     8 	<!-- Platform layers -->
       
     9 	<!-- =============== -->
       
    10 	<layer path="platforms/platform1">
       
    11 		<folder path="confml">
       
    12 			<filter action="add" data="confml_data/platform1/*.confml"/>
       
    13 			<filter action="remove" data="confml_data/platform1/platform1.confml"/>
       
    14 		</folder>
       
    15 		<folder path="implml">
       
    16 			<filter action="add" data="confml_data/platform1/*.crml"/>
       
    17 			<filter action="add" data="confml_data/platform1/*.gcfml"/>
       
    18 			<filter action="add" data="confml_data/platform1/*.ibyml"/>
       
    19 		</folder>
       
    20 
       
    21 		<file type="layer_root" path="root.confml">
       
    22 			<filter action="include_file" data="confml/*.confml"/>
       
    23 		</file>
       
    24 		<file type="configuration_root" path="platform1_root.confml">
       
    25 			<filter action="include_layer" data="platforms/platform1/root.confml"/>
       
    26 			<meta xmlns:cv="http://www.nokia.com/xml/cpf-id/1">
       
    27 				<cv:configuration-property name="platform_name" value="plat1"/>
       
    28 				<version>Version1</version>
       
    29 				<platform>Platform1</platform>
       
    30 				<date>Date1</date>
       
    31 				<release>Release1</release>
       
    32 				<editor>Editor1</editor>
       
    33 			</meta>
       
    34 			<desc>Description1</desc>
       
    35 		</file>
       
    36 		<!-- What is this? -->
       
    37 		<file type="none" path="doc/s60_layer_design.doc">
       
    38 			<filter action="add" data="/epoc32/docs/s60_layer_design.doc"/>
       
    39 		</file>				
       
    40 	</layer>
       
    41 	
       
    42 	<layer path="platforms/platform2">
       
    43 		<folder path="confml">
       
    44 			<filter action="add" data="confml_data/platform2/*.confml"/>
       
    45 			<filter action="remove" data="confml_data/platform2/platform2.confml"/>
       
    46 		</folder>
       
    47 		<folder path="implml">
       
    48 			<filter action="add" data="confml_data/platform2/*.crml"/>
       
    49 			<filter action="add" data="confml_data/platform2/*.gcfml"/>
       
    50 			<filter action="add" data="confml_data/platform2/*.ibyml"/>
       
    51 		</folder>
       
    52 
       
    53 		<file type="layer_root" path="root.confml">
       
    54 			<filter action="include_file" data="confml/*.confml"/>
       
    55 		</file>
       
    56 		<file type="configuration_root" path="platform2_root.confml">
       
    57 			<filter action="include_layer" data="platforms/platform1/root.confml"/>
       
    58 			<filter action="include_layer" data="platforms/platform2/root.confml"/>
       
    59 		</file>
       
    60 	</layer>
       
    61 	
       
    62 	<!-- ============ -->
       
    63 	<!-- Family layer -->
       
    64 	<!-- ============ -->
       
    65 	
       
    66 	<layer path="family_x">
       
    67 		<folder path="confml">
       
    68 			<filter action="add" data="family_x/family_x.confml"/>
       
    69 		</folder>
       
    70 		<folder path="test">
       
    71 			<filter action="add" data="convertpluginlayer" recursive="true"/>
       
    72 		</folder>
       
    73 		<folder path="test2">
       
    74 			<filter action="add" data="family_x/*.iby" recursive="true"/>
       
    75 		</folder>
       
    76 		<folder path="test3">
       
    77 			<filter action="add" data="convertpluginlayer/*" recursive="true"/>
       
    78 		</folder>
       
    79 		<file type="layer_root" path="root.confml">
       
    80 			<filter action="include_file" data="confml/family_x.confml" remove_includes="true"/>
       
    81 		</file>
       
    82 		<file type="configuration_root" path="family_x_root.confml">
       
    83 			<filter action="include_layer" data="platforms/platform1/root.confml"/>
       
    84 			<filter action="include_layer" data="platforms/platform2/root.confml"/>
       
    85 			<filter action="include_layer" data="family_x/root.confml"/>
       
    86 		</file>
       
    87 	</layer>
       
    88 	
       
    89 	
       
    90 	<!-- ============= -->
       
    91 	<!-- Product layer -->
       
    92 	<!-- ============= -->
       
    93 	
       
    94 	<layer path="family_x/product_x">
       
    95 		<folder path="confml">
       
    96 			<filter action="add" data="family_x/product_x/product_x.confml"/>
       
    97 		</folder>
       
    98 		<file type="layer_root" path="root.confml">
       
    99 			<filter action="include_file" data="confml/product_x.confml" remove_includes="true"/>
       
   100 		</file>
       
   101 		<file type="configuration_root" path="product_x_root.confml">
       
   102 			<filter action="include_layer" data="platforms/platform1/root.confml"/>
       
   103 			<filter action="include_layer" data="platforms/platform2/root.confml"/>
       
   104 			<filter action="include_layer" data="family_x/root.confml"/>
       
   105 			<filter action="include_layer" data="family_x/product_x/root.confml"/>
       
   106 		</file>
       
   107 	</layer>
       
   108 	
       
   109 	
       
   110 	<!-- ================================= -->
       
   111 	<!-- Product X language variant layers -->
       
   112 	<!-- ================================= -->
       
   113 
       
   114 	<foreach variable="{TEMPLATE}" data="variants/language/product_x">
       
   115 		<layer path="family_x/product_x/language/{TEMPLATE}">
       
   116 			<folder path="confml">
       
   117 				<filter action="add" data="variants/language/product_x/{TEMPLATE}/*.confml"/>
       
   118 			</folder>
       
   119 			<folder>
       
   120 				<filter action="add" data="variants/language/product_x/{TEMPLATE}/*.*"/>
       
   121 				<filter action="remove" data="variants/language/product_x/{TEMPLATE}/*.confml"/>
       
   122 			</folder>
       
   123 			
       
   124 			<file type="layer_root" path="root.confml">
       
   125 				<filter action="include_file" data="confml/*.confml" remove_includes="true"/>
       
   126 			</file>
       
   127 			<file type="configuration_root" path="product_x_{TEMPLATE}_root.confml">
       
   128 				<filter action="include_layer" data="platforms/platform1/root.confml"/>
       
   129 				<filter action="include_layer" data="platforms/platform2/root.confml"/>
       
   130 				<filter action="include_layer" data="family_x/root.confml"/>
       
   131 				<filter action="include_layer" data="family_x/product_x/root.confml"/>
       
   132 				<filter action="include_layer" data="family_x/product_x/language/{TEMPLATE}/root.confml"/>
       
   133 			</file>
       
   134 		</layer>
       
   135 	</foreach>
       
   136 </convertprojectml>