PR: MNG-479

workaround for failed unzipping of site. proper fix will require WAGONSSH-5 to be fixed.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233435 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-08-19 06:04:54 +00:00
parent 1afa38d91e
commit 28813de005
1 changed files with 3 additions and 2 deletions

View File

@ -139,7 +139,8 @@ public class ScpSiteDeployMojo
commandExecutor.put( zipFile, zipFile.getName() );
cmd = " cd " + basedir + ";" + unzipCommand + " " + zipFile.getName();
// TODO: cat to file is temporary until the ssh executor is fixed to deal with output
cmd = " cd " + basedir + ";" + unzipCommand + " " + zipFile.getName() + " >scpdeploymojo.log";
commandExecutor.executeCommand( cmd );
@ -148,7 +149,7 @@ public class ScpSiteDeployMojo
basedir = basedir + "/";
}
commandExecutor.executeCommand( "rm -f " + basedir + zipFile.getName() );
commandExecutor.executeCommand( "rm -f " + basedir + zipFile.getName() + " scpdeploymojo.log" );
}
catch ( Exception e )
{