orctom / was-maven-plugin

Deploy artifact to one or more, local or remote WebSphere Application Server
Apache License 2.0
47 stars 29 forks source link

quote arguments passed to wsadmin #12

Closed awwwis closed 8 years ago

awwwis commented 8 years ago

my project's absolute paths have spaces on the folder name and wsadmin doesn't detect them as one argument. I moved the logic here instead of passing them quoted from was-util's Command class.

awwwis commented 8 years ago

missed to include import statements

orctom commented 8 years ago

I decided to make the changes in was-utils. By adding a pair of double quotes around if the path contains whitespaces.