Hello all, For some tests I created for Pax Exam I need some classes from an external library. (just a plain jar) However, they aren't included in the testbundle Pax Exam creates and are therefore not available. The test throws a NoClassDefFoundError. I think I can manage to include (the contents of) this jar with the use of TinyBundles or wrap it in an OSGi-bundle and export the all the packages, but I'm not sure if such a solution is already available in Pax Exam. Since I use Pax Exam to test the framework specification conformance you can imagine that I want to do as little wiring as possible to avoid that I unintentional influence my testresults. Therefore, wrapping the plain jar in an OSGi-bundle doesn't seems a good idea.
Furthermore. Classes that I use in the test that don't come from within a Jar are included in the testbundle somehow. I can't seem to figure out where this happens. If there isn't already a solution available for including custom jars I could modify the bundle with TinyBundles as I mentioned above. Or I could try to invoke the process of including normal classes (that aren't contained within a jar) to include the contents of a jar. But since I don't now where this happens I have no clue where to start. So my question is. Is there a way to put a jar in the classpath of the testbundle? If not. Where are the normal classes included in the testcontainer and is there a way to invoke this? Regards, Walter Treur _______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general