[ 
http://jira.codehaus.org/browse/MWAS-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David J. M. Karlsen closed MWAS-4.
----------------------------------

    Resolution: Won't Fix

This is because it's not supported by the ws_ant scripts and cannot be solved 
in the actual plugin.
You should be able to circumvent this by mapping the share as a drive - and 
point to this instead.

> Cannot publish using UNC paths
> ------------------------------
>
>                 Key: MWAS-4
>                 URL: http://jira.codehaus.org/browse/MWAS-4
>             Project: was6-maven-plugin
>          Issue Type: Bug
>    Affects Versions: 1.0-alpha-1
>            Reporter: Paul Benedict
>            Assignee: David J. M. Karlsen
>            Priority: Blocker
>
> I use this configuration:
> <plugin>
>   <groupId>org.codehaus.mojo</groupId>
>   <artifactId>was6-maven-plugin</artifactId>
>   <executions>
>     <execution>
>       <id>integration-test</id>
>       <phase>integration-test</phase>
>       <goals>
>         <goal>wsUninstallApp</goal>
>         <goal>installApp</goal>
>         <goal>wsStartApp</goal>
>       </goals>
>       <configuration>
>         <verbose>true</verbose>
>         <wasHome>\\testserver\c$\Program 
> Files\IBM\SDP70\runtimes\base_v61</wasHome>
>       </configuration>
>     </execution>
>   </executions>
> </plugin>
> But I get this error:
> [INFO] [was6:wsUninstallApp {execution: integration-test}]
> [DEBUG] Executing command line: cmd.exe /X /C ""\\testserver\c$\Program 
> Files\IBM\SDP70\runtimes\base_v61\bin\ws_ant.bat"......
> [ERROR] '\\testserver\c$\Program Files\IBM\SDP70\runtimes\base_v61\bin\..'
> [ERROR] CMD does not support UNC paths as current directories.
> [ERROR] java.lang.NoClassDefFoundError:
> [ERROR] Exception in thread "main"
> Please see:
> 1) http://blogs.msdn.com/oldnewthing/archive/2007/02/15/1683851.aspx
> 2) 
> http://windowsitpro.com/article/articleid/26901/why-cant-i-use-the-cd-command-to-change-directories-to-a-universal-naming-convention-unc-path-in-a-command-window.html
> I recommend detecting UNC paths and executing these special Windows commands.

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