[ https://issues.apache.org/jira/browse/MTOMCAT-291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg updated MTOMCAT-291: ------------------------------------ Component/s: (was: tomcat7) Description: The integration test "artifact.id-webapp-it" in tomcat-maven-archetype fail on Windows. The failure occurs when running the ITs using the "headless" profile as defined in {{tomcat-maven-archetype/src/main/resources/archetype-resources/__rootArtifactId__-webapp-it/pom.xml}}. That profile tries to run {{selenium:xvfb}} which can only be launched on headless unix systems, se the docs: http://mojo.codehaus.org/selenium-maven-plugin/xvfb-mojo.html The IT failure can be seen in Jenkins here: https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x-windows/5/console was: 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. Fix Version/s: (was: 2.3) Labels: (was: patch) > Integration tests using selenium:xvfb fails on Windows > ------------------------------------------------------ > > Key: MTOMCAT-291 > URL: https://issues.apache.org/jira/browse/MTOMCAT-291 > Project: Apache Tomcat Maven Plugin > Issue Type: Bug > Affects Versions: 2.2 > Environment: Windows 7 > Reporter: Dennis Lundberg > Assignee: Olivier Lamy (*$^¨%`£) > > The integration test "artifact.id-webapp-it" in tomcat-maven-archetype fail > on Windows. The failure occurs when running the ITs using the "headless" > profile as defined in > {{tomcat-maven-archetype/src/main/resources/archetype-resources/__rootArtifactId__-webapp-it/pom.xml}}. > That profile tries to run {{selenium:xvfb}} which can only be launched on > headless unix systems, se the docs: > http://mojo.codehaus.org/selenium-maven-plugin/xvfb-mojo.html > The IT failure can be seen in Jenkins here: > https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x-windows/5/console -- 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