[ 
http://jira.codehaus.org/browse/MWAS-37?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=169955#action_169955
 ] 

Nattapong T commented on MWAS-37:
---------------------------------

To explain more about that on the latest source should be fixed in line 278 -> 
commandLine.createArg().setLine( "-buildfile " + buildScript.getAbsolutePath() 
);

It has a problem when maven working directory has a space e.g. c:\java 
workspace\example\. 

That line be fixed by 
commandLine.createArg().setLine( "-buildfile " + "\"" + 
buildScript.getAbsolutePath() + "\"");


> CLONE -File not found caused by spaces in provided path
> -------------------------------------------------------
>
>                 Key: MWAS-37
>                 URL: http://jira.codehaus.org/browse/MWAS-37
>             Project: Maven 2.x WebSphere 6 Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Nattapong T
>            Assignee: David J. M. Karlsen
>
> In lines 266 and 274 in AbstractWas6Mojo class there are attributes for ant 
> created using fileObject.getAbsolutePath(). In case when path contains spaces 
> a call to ant will fail. Escaping is needed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to