How to wrap a c++ jar wrapper as a plug-in? [message #274991] |
Tue, 02 November 2004 09:07 |
Eclipse User |
|
|
|
Hi
There is this jar file which wraps some c++ dll's. What I want to do is
create a wrapper plug-in in eclipse with the c++-wrapper jar inside it or:
-------------------
eclipse workbenche
------ ^ ------
wrapper plug-in
------ ^ ------
jar wrapper
------ ^ ------
c++ libraries
-------------------
This is what I have done:
1) A typical wrapper plug-in (A) is created out of an external jar file.
2) Another plug-in (B) is created which has plug-in (A) in its
dependencies and can call the jar functions in (A) sucessfully.
3) The c++ dll's are in the system path.
This configuration compiles successfully, but in run-time, when an object
is created by calling plug-in (A), it seems (by debugging) that the
class-loader cannot find the class associated with the object.
Any ideas what's wrong in this design?
|
|
|
Powered by
FUDForum. Page generated in 0.03234 seconds