fixing deploy_war function on windows
Merge pull request #6275 from ranl/develop

fixing deploy_war function on windows