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

Chris Graham commented on MWAS-20:
----------------------------------

Hmm. Not too sure about this one.

I have my repo set to: C:\Documents and Settings\Administrator\.m2\repository

It all works fine.

The local workspace is a location that does not contain spaces.

It all works fine.

I have my WebSphere installed to a location that does not contain spaces.

It all works fine.

A collegue of mine has his WAS/WPS installed to a location that DOES include 
spaces.

He suffers the same error as listed above.

The same error occurs when it is fully escaped, ie:

"WebSphere Path"\bin\ws_ant.bat -f "path to workspace\build.xml"

This passes the error into WebSphere's domain.

In the end, to fix this issue, the setupCmdLine.bat, default.bat files from the 
PROFILES section needed to be edited, in addition to the setupCmdLine.bat in 
the bin dir.

I simply changed them from "C:\Program Files\..." to "C:\Progra~1\...".

This is under WAS/WPS 6.0.2. Which is consistent with the other error 
descriptions.

This makes it a WAS/WPS problem, not a was6-maven-plugin problem. As it means 
that somewhere in the internals of setupCmdLine.bat etc, there is a failure to 
escape correctly.

Having said that, the build path needs to be escape (which has been done) as 
well as the -logfile option as well (which has NOT been escaped).

-Chris


> CLONE -handle spaces in repository location
> -------------------------------------------
>
>                 Key: MWAS-20
>                 URL: http://jira.codehaus.org/browse/MWAS-20
>             Project: Maven 2.x WebSphere 6 Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: maven 2.0.9
>            Reporter: daniel carter
>            Assignee: David J. M. Karlsen
>             Fix For: 1.1.1
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> The plugin does not handle spaces in the local repository.
> Mail from Hugo V:
> [INFO] wsEjbDeploy:                                                           
> > [INFO] [wsejbdeploy] The java class is not found:  and                      
> >   
> > [ERROR]                                                                     
> >   
> > [ERROR] BUILD FAILED                                                        
> >   
> > [ERROR]                                                                     
> >   
> > file:C:/Temp/RAD/workspace-dccmvn2/DCCompleetEJB/target/was6-maven-plugi    
> >   
> > n/was6plugin-build.xml:6: Java returned: 1                                  
> >   
> > [ERROR]                                                                     
> >   
> > [ERROR] Total time: 1 second                                                
> >   
> > [INFO] Return code: 0                                                       
> >   
> > [WARNING] No sources were generated                                         
> >   
> >                                                                             
> >   
> > The generated ant script produces the same errors when run from ws_ant. 

-- 
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