--- a/common/tools/ats/bctest/locationsrv/landmarks_api/landmarks_api.pl Tue Sep 29 17:34:45 2009 +0100
+++ b/common/tools/ats/bctest/locationsrv/landmarks_api/landmarks_api.pl Thu Oct 01 13:19:42 2009 +0100
@@ -17,18 +17,18 @@
use File::Path;
unlink "landmarks_api.zip";
-##rmtree "temp";
+rmtree "temp";
mkpath "temp/landmarks/general/testframework";
mkpath "temp/landmarks/winscw_udeb";
my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
copy("landmarks.xml", "temp/test.xml");
-copy($epoc . "release/winscw/udeb/testlandmarksapi.dll", "temp/landmarks/winscw_udeb/testlandmarksapi.dll");
-copy($epoc . "winscw/c/testframework/TestFramework_Landmarks.ini", "temp/landmarks/general/testframework/TestFramework_Landmarks.ini");
-copy($epoc . "winscw/c/testframework/testlandmarksapi.cfg", "temp/landmarks/general/testframework/testlandmarksapi.cfg");
-copy($epoc . "winscw/c/testing/data/smiltemplate.mif", "temp/landmarks/general/smiltemplate.mif");
-copy($epoc . "winscw/c/testing/data/testEposLmImport.lmx", "temp/landmarks/general/testEposLmImport.lmx");
-copy($epoc . "winscw/c/testing/data/testEposLmImportCollection.lmx", "temp/landmarks/general/testEposLmImportCollection.lmx");
+copy($epoc . "release/winscw/udeb/testlandmarksapi.dll", "temp/landmarks/winscw_udeb/testlandmarksapi.dll") or die "failed : $!";
+copy($epoc . "winscw/c/testframework/TestFramework_Landmarks.ini", "temp/landmarks/general/testframework/TestFramework_Landmarks.ini") or die "failed : $!";
+copy($epoc . "winscw/c/testframework/testlandmarksapi.cfg", "temp/landmarks/general/testframework/testlandmarksapi.cfg") or die "failed : $!";
+copy($epoc . "winscw/c/testing/data/smiltemplate.mif", "temp/landmarks/general/smiltemplate.mif") or die "failed : $!";
+copy($epoc . "winscw/c/testing/data/testEposLmImport.lmx", "temp/landmarks/general/testEposLmImport.lmx") or die "failed : $!";
+copy($epoc . "winscw/c/testing/data/testEposLmImportCollection.lmx", "temp/landmarks/general/testEposLmImportCollection.lmx") or die "failed : $!";
system("7z a -tzip landmarks_api.zip ./temp/*");