This should be quite easy to implement. I will look into it. Maybe as
part of Pax Drone or maybe part of Pax Runner as a way to start/stop
Pax Runner programatically.

I will be back on the subject.

On Sat, Oct 4, 2008 at 9:45 PM, Richard Wallace
<[EMAIL PROTECTED]> wrote:
> Yes, that is it exactly!
>
> On Sat, Oct 4, 2008 at 5:27 AM, Alin Dreghiciu <[EMAIL PROTECTED]> wrote:
>>
>> I guess I got now what do you actually mean with the fact that Pax
>> Drone will not fulfill your need. Correct me if I'm wrong.
>> What you want to do is just to be able to easy startup the target
>> framework, provision the bundles you need and then use HttpUnit in
>> your integration tests, tests that are not running into the OSGi
>> context but external.
>> And the problem with Pax Drone is that it will actually take your
>> tests, deploy them into the running OSGi framework and then execute
>> the tests, so the tests will run within the OSGi context and you do
>> not need that.
>> Am I right here?
>>
>> I will look into it...
>>
>> On Sat, Oct 4, 2008 at 7:26 AM, Richard Wallace
>> <[EMAIL PROTECTED]> wrote:
>> > Hi everybody!
>> >
>> > I'm starting to experiment more with OSGi and I have a bundle that I
>> > want to
>> > right some integration tests for.  The bundle relies on the
>> > pax-web-extender
>> > to register a servlet.  So what I'd like to do is use something like
>> > HttpUnit to test it.  I'd like to use something similar to the
>> > maven-cargo-plugin to start the OSGi container(s) of choice and deploy
>> > the
>> > bundle under test and any other bundles that are needed (like the
>> > pax-web-extender).  Then I can run my tests and after the integration
>> > tests
>> > ran shutdown the OSGi container.
>> >
>> > I looked at Pax Drone but it looks like it doesn't do quite what I want.
>> >  Is
>> > there something out there that already does something similar to what
>> > I'm
>> > talking about?  Or are there plans to extend Drone and add a maven
>> > plugin
>> > like what I'm talking about?  If not, is there any interest in something
>> > like that?
>> >
>> > Rich
>> >
>> >
>> >
>> > _______________________________________________
>> > general mailing list
>> > [email protected]
>> > http://lists.ops4j.org/mailman/listinfo/general
>> >
>> >
>>
>>
>>
>> --
>> Alin Dreghiciu
>> http://www.ops4j.org         - New Energy for OSS Communities - Open
>> Participation Software.
>> http://www.qi4j.org            - New Energy for Java - Domain Driven
>> Development.
>> http://malaysia.jayway.net - New Energy for Projects - Great People
>> working on Great Projects at Great Places
>>
>> _______________________________________________
>> general mailing list
>> [email protected]
>> http://lists.ops4j.org/mailman/listinfo/general
>
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>
>



-- 
Alin Dreghiciu
http://www.ops4j.org         - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org            - New Energy for Java - Domain Driven
Development.
http://malaysia.jayway.net - New Energy for Projects - Great People
working on Great Projects at Great Places

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

Reply via email to