[ 
https://issues.apache.org/jira/browse/MTOMCAT-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14191556#comment-14191556
 ] 

Dennis Lundberg commented on MTOMCAT-286:
-----------------------------------------

There seems to be more problems with integration tests on Windows, at least on 
ASF Jenkins. The error message from the failure above is:

bq. Failed to execute goal org.codehaus.mojo:selenium-maven-plugin:2.3:xvfb 
(xvfb) on project artifact.id-webapp-it: Execution xvfb of goal 
org.codehaus.mojo:selenium-maven-plugin:2.3:xvfb failed: Execute failed: 
java.io.IOException: Cannot run program "xauth": CreateProcess error=2, The 
system cannot find the file specified

> Integration test fails on Windows
> ---------------------------------
>
>                 Key: MTOMCAT-286
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-286
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat7
>    Affects Versions: 2.2
>         Environment: Windows 7
>            Reporter: Dennis Lundberg
>            Assignee: Olivier Lamy (*$^¨%`£)
>              Labels: patch
>             Fix For: 2.3
>
>         Attachments: MTOMCAT-286.patch
>
>
> The integration test "simple-war-exec-project" in tomcat7-maven-plugin fail 
> on Windows. The reason for the failure is that the {{JarArchiveEntry}} that 
> is created in {{AbstractExecWarMojo.copyDirectoryContentIntoArchive()}} 
> contains platform specific path separators, i.e. '\'. The integration test 
> requires that all path separators are '/'.
> According to 
> http://docs.oracle.com/javase/7/docs/api/java/util/zip/ZipEntry.html#isDirectory%28%29
>  path separators should be '/' and nothing else. So the fix is to transform 
> the path separators of the included file before its name is added to the 
> archive.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to