Am Saturday 19 March 2011 schrieb Toni Menzel:
> Hi,
> 
> Thats a problem with pax runner (underlying engine in pax exam) not
> shipping an slf4j binding in version 1.6.0.
> This has been fixed in Pax Runner 1.6.1. But Pax Exam 1.2.4 uses 1.6.0.
> 
> So, yes, we should just ship 1.2.5 using pax runner 1.6.1. But you can also
> keep using 1.2.4 and just add the following dependency to your test
> project: <dependency>
>     <groupId>org.slf4j</groupId>
>     <artifactId>slf4j-simple</artifactId>
>     <version>1.6.1</version>
>     <scope>test</scope>
> </dependency>
> 
> This should fix the problem.
> 
> We will work on getting exam 1.2.5 out in the meantime.
> Toni
> 
> On Sat, Mar 19, 2011 at 5:43 PM, Oliver Lietz <i...@oliverlietz.de> wrote:
> > hello all,
> > 
> > Pax Exam 1.2.4 fails with these strange errors (which does not happen
> > with 1.2.3):
> > 
> > Tests in error:
> >  testDb4oOperations(org.springextensions.db4o.BlueprintTest):
> > org/slf4j/impl/StaticLoggerBinder
> > 
> >  testEventRegistry(org.springextensions.db4o.BlueprintTest): Could not
> > 
> > initialize class
> > org.ops4j.pax.scanner.features.internal.FeatureServiceWrapper
> > 
> > https://build.springsource.org/browse/EXT-DB4OQUICK-37/test
> > 
> > I do have problems on Bamboo with 1.2.3 too (works fine on local
> > machine):
> > 
> > https://build.springsource.org/browse/EXT-DB4OQUICK-36/test
> > 
> > Full source code is available here:
> > https://src.springframework.org/svn/se-db4o/
> > 
> > Any help is appreciated!
> > 
> > O.

Thanks, Toni. Adding slf4j-impl fixed it. But now I see the same errors on 
Bamboo as with 1.2.3 again:

Tests in error: 
 testDb4oOperations(org.springextensions.db4o.BlueprintTest): 
org.ops4j.pax.runner.platform.PlatformException: [file:/opt/bamboo-home/xml-
data/build-dir/EXT-DB4OQUICK-JOB1/org.springextensions.db4o/target/classes/] 
is not a valid bundle
 testEventRegistry(org.springextensions.db4o.BlueprintTest): 
org.ops4j.pax.runner.platform.PlatformException: [file:/opt/bamboo-home/xml-
data/build-dir/EXT-DB4OQUICK-JOB1/org.springextensions.db4o/target/classes/] 
is not a valid bundle

https://build.springsource.org/browse/EXT-DB4OQUICK-JOB1-38/test/case/76547873

Do I need a special configuration for Bamboo?

O.


_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to