PDE finding source for BND-wrapped jars [message #323916] |
Sat, 12 January 2008 18:11 |
Eclipse User |
|
|
|
Originally posted by: jkosmoski.snotmail.com
We have lots of library code that needs to be usable by normal Java code,
Eclipse plugins, and OSGi runtimes.
We take these jars and wrap them using the BND tool
(http://www.aqute.biz/Code/Bnd) We also create a *-src.zip for each
jar/bundle that is stored alongside it in the same folder. JDT finds
the -src.zip automatically, but PDE appears to expect that all bundles have
been built using PDE itself (or they have a separate source bundle) and has
fairly strict rules about where and how to find source attachments (for
example you don't get a option to point the debugger to the source when it
can't find it - why not?)
I realize there is improved PDE support for bundles coming in 3.4, but I'm,
using the bundles to create an Eclipse plugin using 3.3 and it sure would be
great I could figure out a way for the bundle source to found during
debugging. So if anyone has any tricks to help PDE find the source for my
BND-wrapped jars I'd very much appreciate the help. Thanks, - Jon
|
|
|
|
Powered by
FUDForum. Page generated in 0.03176 seconds