[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-commits] Commit Complete



Commit by  : alex
Repository : xara
Revision   : 1229
Date       : Wed May 31 17:11:57 BST 2006

Changed paths:
   M /Trunk/XaraLX/Scripts/build-resources.pl

Added some debugging info


Diff:
Index: Trunk/XaraLX/Scripts/build-resources.pl
===================================================================
--- Trunk/XaraLX/Scripts/build-resources.pl	(revision 1228)
+++ Trunk/XaraLX/Scripts/build-resources.pl	(revision 1229)
@@ -223,6 +223,7 @@
 	$bdate= `date +"%d-%b-%y %H:%M"`;
 	chomp($bdate);
 	chomp($svnv);
+	print STDERR "svnversion gives $svnv
";
 	my $camversionmajor;
 	my $camversionminor;
 	($camversionmajor, $camversionminor)=split('.',$version);
@@ -366,7 +367,7 @@
     }
 
     my $dlines=0;
-    open(DIALOGS,"$wxrccommand|") || die "Could not read dialogs for translation: $!";
+    open(DIALOGS,"$wxrccommand|") || die "Could not read dialogs for translation [$wxrccommand]: $!";
     while (<DIALOGS>)
     {
 	# Note wxrc removes XML escaping
@@ -377,7 +378,7 @@
     }
     close(DIALOGS);
     
-    die "Could not read dialogs for translation (empty or bad wxrc)" if ($dlines<2);
+    die "Could not read dialogs for translation (empty or bad wxrc) [$wxrccommand]" if ($dlines<2);
 
     my @uniqstrings;
     my $last="";


Xara