The next goal of Pax Exam is to provide a closer integration with the
BNDTools environment.
Until then, i can possibly give some hints on how you can archive a really
rudimentary integration. - if time allows.

Actually i am not sure what you are looking at in particular (i know that
integration needs to be done, see above, but what's it in your case?)

About debugging, its exactly like in Pax Exam 1.x when using
pax-runner-container.
When using the native-container, you get, just like the name says "native"
osgi without any extra processes you need to remote-debug.
Just set breakpoints and run the things like you do in regular unit tests.


On Mon, Jul 18, 2011 at 5:25 PM, Matt Madhavan <[email protected]>wrote:

> Hello Achim or some one else,
> Has anyone worked on BndTools in conjunction with PAX and BluePrint?
>
> Thanks
> Matt
>
>
> On Sun, Jul 17, 2011 at 2:44 PM, Matt Madhavan <[email protected]>wrote:
>
>> HI Achim,
>> This is what I have been doing thus far.
>>
>> But I would like to know if any one has used BndTools from PAX generated
>> OSGi projects?
>>
>> Thanks
>> Matt
>>
>>
>> On Sun, Jul 17, 2011 at 2:12 PM, Achim Nierbeck 
>> <[email protected]>wrote:
>>
>>>  Hi Matt,
>>>
>>> the way I usually do the remote debugging of Pax Exam,
>>> I add the following line to the options in the configure method:
>>>
>>> vmOption("-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"),
>>> waitForFrameworkStartup()
>>>
>>> At least this works for pax exam 1.2.x
>>> After that you're able to remotely attach to the process.
>>>
>>> This just as a quick summary.
>>>
>>> Now the walkthrough :-)
>>>
>>> After adding this line to the configure method you start your JUnit Test
>>> as usual.
>>> Now you wait till the pax-exam test stops waiting for a debugger to
>>> attach.
>>> After this you attach the Eclipse debugger to a remote process running at
>>>
>>> the configured Port.
>>>
>>> Now you're able to do the debugging.
>>>
>>> Regards, Achim
>>>
>>>
>>> Am 17.07.2011 19:55, schrieb Matt Madhavan:
>>>
>>> Hello,
>>> Any one out there with an answer or pointers to this one please?
>>>
>>>  Thanks
>>> Matt
>>>
>>> On Fri, Jul 15, 2011 at 1:43 PM, Matt Madhavan 
>>> <[email protected]>wrote:
>>>
>>>> Hello Toni,
>>>> I have been using only (mainly) PAX and Maven (maven felix/bnd)  for
>>>> creating a new development standard for my client.
>>>>
>>>>  I would like to be able to debug from within Eclipse (without Remote
>>>> debug of Pax Exam). I added bnd project nature to the bundle (maven bsed)
>>>> projects and try to launch them but no luck.
>>>>
>>>>  I'm extremely new to BndTools. can some on point me to some
>>>> docs/instruction regarding using PAX/Maven/ and BndTools together?
>>>> Especially using BndTools after the projects were created using PAX.
>>>>
>>>>  Thanks in Advance!
>>>>
>>>>  Matt
>>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> general mailing 
>>> [email protected]http://lists.ops4j.org/mailman/listinfo/general
>>>
>>>
>>>
>>> --
>>> -----
>>>
>>> Apache Karaf <http://karaf.apache.org/> <http://karaf.apache.org/> 
>>> Committer & PMC
>>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> 
>>> <http://wiki.ops4j.org/display/paxweb/Pax+Web/>  Committer & Project Lead
>>>
>>>
>>> _______________________________________________
>>> general mailing list
>>> [email protected]
>>> http://lists.ops4j.org/mailman/listinfo/general
>>>
>>>
>>
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>
>


-- 
Toni Menzel
Independent Software Developer
Professional Profile: http://okidokiteam.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