I will provide this support out of the box very soon.

On Wed, Mar 24, 2010 at 10:04 AM, Walter Treur <walter.tr...@luminis.nl> wrote:
> Erik,
> You should be able to invoke a custom framework by with the static
> customFramework method from the CoreOptions class in your JUnit
> @Configuration method. This method allows you to specify an custom framework
> definition, a 'Base Framework name' and a name for your custom framework
> which will appear in the testresults:
> import static org.ops4j.pax.exam.CoreOptions.*;
> @Configuration
> public static Option[] configuration() {
> return options(
> customFramework('file:/path/to/equinox3.5.2/definition/file.xml', 'equinox',
> 'equinox 3.5.2')
> );
> }
> Examples of equinox definition files are found
> here: https://scm.ops4j.org/repos/ops4j/qa/pax/runner-1.4.0/pax-runner-platform-equinox/src/main/resources/META-INF/platform-equinox/
> The most easy way to launch Equinox 3.5.2 is to download and modify the
> 3.5.1.xml and change the url in <system> to a local jar file of equinox
> 3.5.2 (make sure it starts with file:/) and point to this file from the
> customFramework method. (make sure it starts with file:/ as well)
> More info on definition files is found
> here: http://paxrunner.ops4j.org/space/5.4.1.+Pax+Runner+-+Platform+-+Extender#5.4.1.PaxRunner-Platform-Extender-PlatformDefinitionfile
> More info on the custom framework option is found
> here: http://srv07.ops4j.org:8080/browse/PAXEXAM-151
> Regards,
> Walter
>
> On 23 Mar 2010, at 22:39, Erik Brakkee wrote:
>
> Hi,
>
>
> I would like to use an OSGI R4.2 compliant container but it appears that
> pax-exam (1.2.0) does not support these yet.
> For instance, when will equinox 3.5.2 be supported?
>
> Also, is it possible to easily add support for a given OSGI container
> version myself using some extension API? One could also imagine that adding
> support for a given OSGI container version would amount to specifying the
> core framework jar as maven artifacts together with for each profile the
> required bundles to deploy, together with one additional class that provides
> a standardized interface for starting and stopping the container, or am I
> oversimplifying things?
>
> Cheers
>   Erik <ATT00001.c>
>
> _______________________________________________
> general mailing list
> general@lists.ops4j.org
> http://lists.ops4j.org/mailman/listinfo/general
>
>



-- 
Alin Dreghiciu
Software Developer
My profile: http://www.linkedin.com/in/alindreghiciu
My blog: http://adreghiciu.wordpress.com
http://sonatype.com - Sonatype - The Maven Company
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.

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

Reply via email to