logo       

[picocontainer-scm] [jira] Commented: (NANO-183) WebContainerBuilderTestCas: msg#00033

java.picocontainer.cvs

Subject: [picocontainer-scm] [jira] Commented: (NANO-183) WebContainerBuilderTestCase Test Failures on Windows Machine

[ http://jira.codehaus.org/browse/NANO-183?page=comments#action_82976 ]

Paul Hammant commented on NANO-183:
-----------------------------------

This building on Windows now Mike ?

> WebContainerBuilderTestCase Test Failures on Windows Machine
> ------------------------------------------------------------
>
> Key: NANO-183
> URL: http://jira.codehaus.org/browse/NANO-183
> Project: NanoContainer
> Issue Type: Bug
> Components: webcontainer
> Environment: Windows JDK 1.5
> Reporter: Michael Rimov
> Assigned To: Paul Hammant
> Priority: Critical
>
> The offending code in 3 test cases:
> xmlWebApplication(path:'/bar', warfile:'"+testWar.getAbsolutePath()+"')" +
> Under windows, testWar.getAbsolutePath() retrieves backslashes by which
> Groovy complains loudly with the exception:
> testCanComposeWebContainerAndWarFile(org.nanocontainer.webcontainer.groovy.WebContainerBuilderTestCase)
> Time elapsed: 1.015 sec <<< ERROR!
> org.nanocontainer.script.groovy.GroovyCompilationException: Compilation
> Failed 'startup failed, nanocontainer.groovy: 9: unexpected char: '\' @ line
> 9, column 51.
> 1 error
> '
> at
> org.nanocontainer.script.groovy.GroovyContainerBuilder.createGroovyClass(GroovyContainerBuilder.java:102)
> at
> org.nanocontainer.script.groovy.GroovyContainerBuilder.<init>(GroovyContainerBuilder.java:50)
> at
> org.nanocontainer.webcontainer.groovy.WebContainerBuilderTestCase.buildContainer(WebContainerBuilderTestCase.java:255)
> at
> org.nanocontainer.webcontainer.groovy.WebContainerBuilderTestCase.assertPageIsHostedWithContents(WebContainerBuilderTestCase.java:239)
> at
> org.nanocontainer.webcontainer.groovy.WebContainerBuilderTestCase.testCanComposeWebContainerAndWarFile(WebContainerBuilderTestCase.java:140)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
> at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)

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



<hr/>
<p>
To unsubscribe from this list please visit:
</p>
<p>
<a
href="http://xircles.codehaus.org/manage_email";>http://xircles.codehaus.org/manage_email</a>




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise