where to put LD_LIBRARY_PATH for my plugin? [message #246101] |
Mon, 21 January 2008 09:53  |
Eclipse User |
|
|
|
Hi there,
I have written a plugin, which uses some native C-Library. It works fine
if I set the LD_LIBRARY_PATH variable in the run-configuration of my
application.
Now I want to use my plugin by some other project without always setting
that variable for every new project. Can I set the required native
library path somewhere in the plugin's manifest.mf or plugin.xml??
Cheers,
Hauke
|
|
|
|
|
Re: where to put LD_LIBRARY_PATH for my plugin? [message #246770 is a reply to message #246760] |
Fri, 25 January 2008 06:07  |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Hauke,
The native C-library threw me. When designing plugins, all classpath
things need to be specified via the bundle classpath in the MANIFEST.MF
but I'm not sure this would be done via the classpath. If not, it
sounds like SWT would be doing something similar so likely looking at
how SWT binds in the native libraries will help...
Hauke Fuhrmann wrote:
> Ed,
>
> I'm not sure if I made the point clear: I have a Java Plugin, wich uses
> the JNI to access some binary library. I want to pack that library into
> my plugin so that its use is transparent to any other user that uses my
> Java Eclipse Plugin. As I understand, this has nothing to do with CDT,
> does it?
>
> Hauke
>
> Ed Merks wrote:
>
>> Hauke,
>>
>> There's probably a global CDT preferences similar to Java's classpath
>> variables for setting such things. It might be best to ask on the CDT
>> newsgroup: news://news.eclipse.org/eclipse.tools.cdt
>>
>>
>> Hauke Fuhrmann wrote:
>>
>>> Hi there,
>>>
>>> I have written a plugin, which uses some native C-Library. It works fine
>>> if I set the LD_LIBRARY_PATH variable in the run-configuration of my
>>> application.
>>>
>>> Now I want to use my plugin by some other project without always setting
>>> that variable for every new project. Can I set the required native
>>> library path somewhere in the plugin's manifest.mf or plugin.xml??
>>>
>>> Cheers,
>>> Hauke
>>>
>>>
|
|
|
Powered by
FUDForum. Page generated in 0.09022 seconds