Add code to update RCL_3 package models from symbian3 system model
authorDario Sestito <darios@symbian.org>
Mon, 04 Oct 2010 17:13:08 +0100
changeset 1246 8400dd17b04a
parent 1245 06a4d69b725f
child 1247 3329abb5855b
Add code to update RCL_3 package models from symbian3 system model
common/tools/generate_package_defs.pl
--- a/common/tools/generate_package_defs.pl	Mon Oct 04 16:44:26 2010 +0100
+++ b/common/tools/generate_package_defs.pl	Mon Oct 04 17:13:08 2010 +0100
@@ -43,7 +43,7 @@
 	my $splitmodel_cmd = "perl ..\\split_sysdef.pl -s platforms\\$codeline\\single\\sysdefs\\system_model.xml -o packages\\$codeline";
 	print "$splitmodel_cmd\n";
 	system($splitmodel_cmd);
-	if ($codeline eq 'symbian3') # also update CompilerCompatibility and tip_bulk_s3
+	if ($codeline eq 'symbian3') # also update CompilerCompatibility, tip_bulk_s3 and RCL_3
 	{
 		my $rmdir2_cmd = "del /S  packages\\CompilerCompatibility\\package_definition.xml >nul";
 		print "$rmdir2_cmd\n";
@@ -58,6 +58,13 @@
 		my $splitmodel3_cmd = "perl ..\\split_sysdef.pl -s platforms\\$codeline\\single\\sysdefs\\system_model.xml -o packages\\tip_bulk_s3";
 		print "$splitmodel3_cmd\n";
 		system($splitmodel3_cmd);
+		
+		my $rmdir4_cmd = "del /S  packages\\RCL_3\\package_definition.xml >nul";
+		print "$rmdir4_cmd\n";
+		system($rmdir4_cmd);
+		my $splitmodel4_cmd = "perl ..\\split_sysdef.pl -s platforms\\$codeline\\single\\sysdefs\\system_model.xml -o packages\\RCL_3";
+		print "$splitmodel4_cmd\n";
+		system($splitmodel4_cmd);
 	}
 	if ($codeline eq 'symbian4') # also update tip_pbc (package based contribution) branch
 	{