Author: arkurth
Date: Wed Jun  3 16:40:25 2009
New Revision: 781466

URL: http://svn.apache.org/viewvc?rev=781466&view=rev
Log:
VCL-23
Added step to copy_capture_configuration_files() to delete any Subversion files 
which may have been copied to the computer in case management node's working 
VCL directory has been checked out.

Modified:
    incubator/vcl/trunk/managementnode/lib/VCL/Module/OS/Windows_mod.pm

Modified: incubator/vcl/trunk/managementnode/lib/VCL/Module/OS/Windows_mod.pm
URL: 
http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/lib/VCL/Module/OS/Windows_mod.pm?rev=781466&r1=781465&r2=781466&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/lib/VCL/Module/OS/Windows_mod.pm 
(original)
+++ incubator/vcl/trunk/managementnode/lib/VCL/Module/OS/Windows_mod.pm Wed Jun 
 3 16:40:25 2009
@@ -5573,6 +5573,11 @@
                }
        }
        
+       # Delete any Subversion files which may have been copied
+       if (!$self->delete_files_by_pattern($NODE_CONFIGURATION_DIRECTORY, 
'.*\.svn.*')) {
+               notify($ERRORS{'WARNING'}, 0, "unable to delete Subversion 
files under: $NODE_CONFIGURATION_DIRECTORY");
+       }
+       
        # Find any files containing a 'WINDOWS_ROOT_PASSWORD' string and 
replace it with the root password
        if ($self->search_and_replace_in_files($NODE_CONFIGURATION_DIRECTORY, 
'WINDOWS_ROOT_PASSWORD', $WINDOWS_ROOT_PASSWORD)) {
                notify($ERRORS{'DEBUG'}, 0, "set the Windows root password in 
configuration files");


Reply via email to