Re: [bdbxml] Eclipse Plugins (was Re: [bdbxml] Developing a local (Swing) front-end)

"Mark R. Diggory" <mdiggory-Mahy8Y1M33PaZwrp7/[email protected]>
Newsgroups gmane.comp.db.dbxml.general
Message-ID <[email protected]>

Tom McCubbin wrote:
>>
>> Eclipse provides a search mechanism for loading native libraries 
>> behind the scenes that makes this almost idiot proof.
> 
> 
> and how are they exposed?  i mean dbxml contains a mass of mangled C++ 
> symbols...don't you need some wrapping layer, or do you mean the java 
> api provided by sleepycat?
> 

This is not a recompilation of db/xml C++ code, I'm simply using the 
libraries (dll) from the binary distribution and providing them in an 
Eclipse plugin fragment. Eclipse provides an overide of 
Runtime.loadLibrary("foo") so that it searches the plugin structure for 
matching libraries. There really isn't anything very different from the 
standard Java loading of native libraries beyond this.

I do add the java client source and compile it into an OSGi plugin jar 
because I'm repackaging the Jar into an OSGi jar plugin in Eclipse.

-Mark


------------------------------------------
To remove yourself from this list, send an
email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.