Hi Olaf,

Well, first of all: pax runner is a starter for arbitrary osgi frameworks 
including equinox.
Knowing this you are correct that there is no obvious way to add implementation 
specific configuration to the platform using the current paxrunner connector.

i am still not sure if i understood your set up correctly but i will try to 
narrow down this one first: "How can I pass framework properties into the 
embedded OSGi platform?": 
can you try to setup your environment using paxrunner standalone ? See the wiki 
for details (http://wiki.ops4j.org/confluence/x/AgBN)  about many options like 
--vmOptions="-Dosgi.instance.area=/myfolder" which might help here.

If you succeed here (we hope ;-) it is very easy to add paxdrone support for 
your usecase.

If you don't want/need paxdrone but a real embedded framework (Hardcoded):
Yyou can implement your own connector (just an interface that receives calls 
during test -so you have to embedd your framework here)
1. now
2. after 0.2.0 is released.
of cause, i would recommend (2) because support for custom connectors will 
drastically simplified thanks to qi4j. (though, you have to learn that, watch 
www.qi4j.org)

Please keep us in touch!

Toni

---
Toni Menzel
Software Developer


-------- Original-Nachricht --------
> Datum: Mon, 28 Jul 2008 22:19:53 +0200
> Von: "Olaf Bergner" <[EMAIL PROTECTED]>
> An: "\'General OPS4J\'" <[email protected]>
> Betreff: [pax-drone] How to configure OSGi runtime?

> I'm currently trying to use pax-drone as my integration testing framework
> while implementing a JCA resource adapter that embeds equinox into a JEE
> container. I'm not using pax-runner as a runtime environment, nor do I see
> any use in doing so, given my application's rather special nature.
> 
>  
> 
> While implementing a first, simple test went rather smoothly, for a more
> elaborate integration test I now need to configure the embedded OSGi
> runtime
> (equinox in my case). To be more specific, I need to set
> "osgi.instance.area" to point to a directory suitable for my tests. I
> tried
> using system properties in my maven-surefire-plugin configuration, yet
> these
> are obviously not being picked up.
> 
>  
> 
> How can I pass framework properties into the embedded OSGi platform?
> 
>  
> 
> Cheers,
> 
> Olaf
> 

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to