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

Reply via email to