Hi,
I've just found the "problem": nested jars
https://bugs.eclipse.org/bugs/show_bug.cgi?id=111238
and
https://bugs.eclipse.org/bugs/show_bug.cgi?id=157375
So it's neither a bundle nor a pde issue but a compiler issue.
Rebundling worked for me since I imported with "extract jars" so that
with exporting them again there were no nested jars any more.
Martin
[email protected] wrote:
Hi,
I use httpclient within a rcp application.
So I added the http bundles (core and client) to my rcp target. Within the PDE
the bundles can be selected in dependencies configuration of the plugins. So
the PDE must have found the bundles.
But: The compiler ignores the bundles. I have masses of ".... cannot be resolved" and
".... cannot be resolved to a type" errors in my eclipse workspace.
When I import the httpclient OSGi bundles via import wizard as binary projects
into the workspace my bundles compile without any error.
When bundling the jars from httpclient and core (nio,...) directly the
resulting bundles will work.
Does anyone know if it's something with the provided OSGi bundles or am I
missing something to use these bundles correctly?
Martin
Sysinfo: Win XP, eclipse/rcp(target) 3.4.2, http-core 4.0 (OSGi bundle),
http-client 4.0-beta3 (OSGi bundle)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]