Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-7422

GWT-related error in build logs for the GWT DOM API module

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      This is what I get:

      [INFO] -------------------------------------------------------
      [INFO]  T E S T S
      [INFO] -------------------------------------------------------
      [INFO] Running XWiki GWT-DOM Unit Tests
      [INFO] [WARN] Unable to create new cache log file /Users/vmassol/dev/xwiki/git/xwiki-platform/target/www-test/../gwt-unitCache/gwt-unitCache-00000134FC244437.
      [INFO] java.io.IOException: No such file or directory
      [INFO] 	at java.io.UnixFileSystem.createFileExclusively(Native Method)
      [INFO] 	at java.io.File.createNewFile(File.java:883)
      [INFO] 	at com.google.gwt.dev.javac.PersistentUnitCache.<init>(PersistentUnitCache.java:331)
      [INFO] 	at com.google.gwt.dev.javac.UnitCacheFactory.get(UnitCacheFactory.java:58)
      [INFO] 	at com.google.gwt.dev.javac.CompilationStateBuilder.init(CompilationStateBuilder.java:385)
      [INFO] 	at com.google.gwt.dev.DevModeBase.doStartup(DevModeBase.java:892)
      [INFO] 	at com.google.gwt.dev.DevMode.doStartup(DevMode.java:424)
      [INFO] 	at com.google.gwt.junit.JUnitShell.doStartup(JUnitShell.java:932)
      [INFO] 	at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1058)
      [INFO] 	at com.google.gwt.junit.JUnitShell.getUnitTestShell(JUnitShell.java:708)
      [INFO] 	at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:653)
      [INFO] 	at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:441)
      [INFO] 	at junit.framework.TestCase.runBare(TestCase.java:134)
      [INFO] 	at junit.framework.TestResult$1.protect(TestResult.java:110)
      [INFO] 	at junit.framework.TestResult.runProtected(TestResult.java:128)
      [INFO] 	at junit.framework.TestResult.run(TestResult.java:113)
      [INFO] 	at junit.framework.TestCase.run(TestCase.java:124)
      [INFO] 	at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:296)
      [INFO] 	at junit.framework.TestSuite.runTest(TestSuite.java:243)
      [INFO] 	at junit.framework.TestSuite.run(TestSuite.java:238)
      [INFO] 	at junit.framework.TestSuite.runTest(TestSuite.java:243)
      [INFO] 	at junit.framework.TestSuite.run(TestSuite.java:238)
      [INFO] 	at org.codehaus.mojo.gwt.test.MavenTestRunner.doRun(MavenTestRunner.java:105)
      [INFO] 	at junit.textui.TestRunner.start(TestRunner.java:180)
      [INFO] 	at org.codehaus.mojo.gwt.test.MavenTestRunner.main(MavenTestRunner.java:63)
      [INFO] logging for HtmlUnit thread
      [INFO]    [WARN] Expected content type of 'application/javascript' or 'application/ecmascript' for remotely loaded JavaScript element at 'http://192.168.0.10:59750/org.xwiki.gwt.dom.DOMTest.JUnit/org.xwiki.gwt.dom.DOMTest.JUnit.nocache.js', but got 'application/x-javascript'.
      [ERROR] Jan 20, 2012 6:24:03 PM com.gargoylesoftware.htmlunit.javascript.host.html.HTMLDocument jsxFunction_execCommand
      [ERROR] WARNING: Nothing done for execCommand(selectall, ...) (feature not implemented)
      [ERROR] Jan 20, 2012 6:24:03 PM com.gargoylesoftware.htmlunit.javascript.host.html.HTMLDocument jsxFunction_execCommand
      [ERROR] WARNING: Nothing done for execCommand(selectall, ...) (feature not implemented)
      [INFO] Tests run: 118, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 84.202 sec
      

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: