sounds like its a issue that is fixed by
http://issues.ops4j.org/browse/PAXEXAM-22in 0.4.

We should release 0.4 soon but there are (known) shortcomings in the new
maven artifact that i would improve (dependency resolution) before release.
Also Runner + URL must be released before. There are a lot new things
(profiles, composit urls) in there as well.

On Wed, Apr 1, 2009 at 12:53 PM, Edward Yakop <[email protected]>wrote:

> 2009/4/1 Toni Menzel <[email protected]>:
> > may you elaborate on the limitation ?
>
> In pax-drone 0.2, I can create a test artifact bundle (Depends on
> pax-exam packages),  and makes my test code depends on this bundle.
> When felix tries to run this test bundle, this error will be thrown:
> Unsatisfied import package: org.ops4j.pax.exam.container.def
>
> I attempted to include test artifact bundle in the test classpath.
> This exception occurred:
> java.lang.NoClassDefFoundError:
> org/ops4j/pax/wicket/it/PaxWicketIntegrationTest
>    at java.lang.ClassLoader.defineClass1(Native Method)
>    at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
>    at
> org.apache.felix.framework.searchpolicy.ContentClassLoader.findClass(ContentClassLoader.java:223)
>    at
> org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClassFromModule(ContentClassLoader.java:94)
>    at
> org.apache.felix.framework.searchpolicy.ContentLoaderImpl.getClass(ContentLoaderImpl.java:166)
>    at
> org.apache.felix.framework.searchpolicy.R4Wire.getClass(R4Wire.java:105)
>
> The only way to get this to work (without modifying pax-exam code) is
> to unzip my test artifact to
> [target/test-classes] folder.
>
> I'm quite sure the latter is a bug. But I just haven't get the time to
> create a jira issue and create a simple test case in pax-exam.
>
> Note: Tests runs with pax-exam 0.3.0
>
> Regards,
> Edward Yakop
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>



-- 
Toni Menzel
Software Developer
Professional Profile: http://www.osgify.com
[email protected]
http://www.ops4j.org     - New Energy for OSS Communities - Open
Participation Software.
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to