Community
Participate
Working Groups
Both org.eclipse.rap.rwt.testfixture and org.eclipse.rap.rwt.test are fragments of the org.eclipse.rap.rwt bundle. Since rwt.tests needs classes from the fixture, it needs a dependency to rwt.testfixture to compile. Currently, this is done by a project dependency in Eclipse. Since the OSGi does not allow dependencies to fragments, this applies to all consumers of the test fixture. Inter-fragment dependencies also prevent compiling the test fragments with a Tycho.
Turned org.eclipse.rap.rwt.testfixture into a bundle. This makes it now easy to consume by adding an Import-Package: org.eclipse.rap.rwt.testfixture header to a dependent test fragment. To avoid a cyclic dependency, the org.eclipse.rap.rwt.test fragment had also to be turned into a bundle (only this one). Since host and fragment are regarded as one, PDE detected a cyclic dependency between org.eclipse.rap.rwt and org.eclipse.rap.rwt.testfixture. Note that the rwt.test bundle can not be run within OSGi, as it would not have access to package private methods in the host. However, a bundle is still a suitable packaging form for development and building and won't run it as plug-in test. Changes are in CVS HEAD.