Update package_definition.xml generation for tip_pbc
authorShabe Razvi <shaber@symbian.org>
Wed, 28 Jul 2010 14:18:15 +0100
changeset 1197 c3bd99c8b96d
parent 1196 72c6872e8b41
child 1198 ba089d97d513
Update package_definition.xml generation for tip_pbc
common/tools/generate_package_defs.pl
--- a/common/tools/generate_package_defs.pl	Tue Jul 27 19:13:52 2010 +0100
+++ b/common/tools/generate_package_defs.pl	Wed Jul 28 14:18:15 2010 +0100
@@ -52,6 +52,15 @@
 		print "$splitmodel2_cmd\n";
 		system($splitmodel2_cmd);
 	}
+	if ($codeline eq 'symbian4') # also update tip_pbc (package based contribution) branch
+	{
+		my $rmdir3_cmd = "del /S  packages\\tip_pbc\\package_definition.xml >nul";
+		print "$rmdir3_cmd\n";
+		system($rmdir3_cmd);
+		my $splitmodel3_cmd = "perl ..\\split_sysdef.pl -s platforms\\$codeline\\single\\sysdefs\\system_model.xml -o packages\\tip_pbc";
+		print "$splitmodel3_cmd\n";
+		system($splitmodel3_cmd);
+	}
 	my $addremove_cmd = "hg -R packages addremove";
 	print "$addremove_cmd\n";
 	system($addremove_cmd);
@@ -65,7 +74,7 @@
 		system($commit_cmd);
 		my $push_cmd = "hg -R packages push http://darios:symbian696b\@developer.symbian.org/oss/MCL/sftools/fbf/projects/packages";
 		print "$push_cmd\n";
-		system($push_cmd);
+		#system($push_cmd);
 	}
 }