This appears to be a (another) windows directory traversal incompatibility.
 We need to get a windows-based hudson instance up and running.  For now you
can probably just add an @Ignore to the test to get up and running, however
there's probably some underlying issue that will cause problems for you in
other areas.


2010/2/4 Peter Rothenpieler <[email protected]>

> Hi,
>
> just wanted to let you know that I still have the same problem. After
> trying out several of the available "Sources" (to cut a long story short
> let's say [1] and [2]), I narrowed it down to the following issues:
>
> For [1] (1.1-BETA5-incubating):
> 1. compiling from the command line gives the following error:
> > Results :
> >
> > Tests in error:
> >
> registerFromFileInNestedDirectoryFeatureXmlFile(org.apache.shindig.gadgets.features.FeatureRegistryTest)
> >
> > Tests run: 973, Failures: 0, Errors: 1, Skipped: 1
> (see attached file)
> 2. executing "mvn eclipse:m2eclipse", importing Eclipse Projects and
> building with Maven Eclipse plugin works fine, EXCEPT for the "Gadgets"
> Project (see my other post to which i'm replying)
>
>
> For [2] (shindig-1.0-incubating):
> 1. compiling from the command line works fine (WinXP -> cygwin -> mvn)
> 2. "mvn -Prun" works fine, too
> 3. executing "mvn eclipse:m2eclipse", importing Eclipse Projects and
> building with Maven Eclipse plugin works fine, EXCEPT for the "Gadgets"
> and "Server" Project
>
> I don't know if this is due to some mis-configuration on my side (which
> probaly is odd, since the other eclipse-projects like
> "shindig-features", "shindig-server" etc. compile well inside eclipse.
>
> So the only solution for me is right now to use 1.0 and compile from the
> command line... which isn't that comfortable.
>
> [1]
>
> http://repo1.maven.org/maven2/org/apache/shindig/shindig/1.1-BETA5-incubating/shindig-1.1-BETA5-incubating-source.zip
> [2]
>
> http://repo1.maven.org/maven2/org/apache/shindig/shindig/1.0-incubating/shindig-1.0-incubating-source.zip
>
>
> --
> Dipl.-Inf. Peter Rothenpieler
> Institute of Telematics, University of Lübeck
> http://www.itm.uni-luebeck.de/users/rothenpieler
> Ratzeburger Allee 160, 23538 Lübeck, Germany
> Phone: +49 451 500 5392
>
>
> -------------------------------------------------------------------------------
> Test set: org.apache.shindig.gadgets.features.FeatureRegistryTest
>
> -------------------------------------------------------------------------------
> Tests run: 24, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.093 sec
> <<< FAILURE!
> registerFromFileInNestedDirectoryFeatureXmlFile(org.apache.shindig.gadgets.features.FeatureRegistryTest)
>  Time elapsed: 0.016 sec  <<< ERROR!
> java.lang.IllegalArgumentException: java.net.URISyntaxException: Illegal
> character in opaque part at index 2:
> c:\DOKUME~1\Peter\LOKALE~1\Temp\0.6202535606811763
>        at
> org.apache.shindig.common.uri.DefaultUriParser.parse(DefaultUriParser.java:38)
>        at org.apache.shindig.common.uri.Uri.parse(Uri.java:97)
>        at
> org.apache.shindig.gadgets.features.FeatureRegistry.getComponentUri(FeatureRegistry.java:280)
>        at
> org.apache.shindig.gadgets.features.FeatureRegistry.register(FeatureRegistry.java:118)
>        at
> org.apache.shindig.gadgets.features.FeatureRegistryTest.registerFromFileInNestedDirectoryFeatureXmlFile(FeatureRegistryTest.java:137)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
>        at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>        at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
>        at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
>        at
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
>        at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
>        at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
>        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
>        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
>        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
>        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
>        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
>        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
>        at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>        at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>        at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
>        at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
> Caused by: java.net.URISyntaxException: Illegal character in opaque part at
> index 2: c:\DOKUME~1\Peter\LOKALE~1\Temp\0.6202535606811763
>        at java.net.URI$Parser.fail(URI.java:2809)
>        at java.net.URI$Parser.checkChars(URI.java:2982)
>        at java.net.URI$Parser.parse(URI.java:3019)
>        at java.net.URI.<init>(URI.java:578)
>        at
> org.apache.shindig.common.uri.DefaultUriParser.parse(DefaultUriParser.java:36)
>        ... 31 more
>
>
>

Reply via email to