Author: jsc
Date: Mon Apr 22 15:40:25 2013
New Revision: 1470585
URL: http://svn.apache.org/r1470585
Log:
#121#101# add workaround to avoid potential timing realted issue during
packaging on windows
Modified:
openoffice/trunk/main/solenv/bin/modules/installer/systemactions.pm
Modified: openoffice/trunk/main/solenv/bin/modules/installer/systemactions.pm
URL:
http://svn.apache.org/viewvc/openoffice/trunk/main/solenv/bin/modules/installer/systemactions.pm?rev=1470585&r1=1470584&r2=1470585&view=diff
==============================================================================
--- openoffice/trunk/main/solenv/bin/modules/installer/systemactions.pm
(original)
+++ openoffice/trunk/main/solenv/bin/modules/installer/systemactions.pm Mon Apr
22 15:40:25 2013
@@ -1188,7 +1188,10 @@ sub rename_directory
my ($olddir, $newdir) = @_;
my $infoline = "";
-
+
+ # noticed problems under Windows from time to time that directories
can't be moved, seems a timing issue
+ # workaround with sleep, should be investigated with a new packaging
mechanism
+ sleep(2);
if ( move($olddir, $newdir) )
{
$infoline = "\nMoved directory from $olddir to $newdir\n";