LWJGL
May 19, 2013, 16:02:47 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.9.0 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: [FIXED] Eclipse plugin dosn't provide native libraries correctly.  (Read 2176 times)
jeeeyul
Newbie
*
Posts: 2


« on: March 31, 2011, 20:43:55 »

There are several ways to bundle native libraries in eclipse.
I mean, native libraries can be bundled in jar file.

1. Follow standard native library structure like below:
   os/
      win32/
          x86/
          x86_64/
      macosx/
          x86_64/

   You can find out valid OS name and Architecture Names as constant fields in Platform class.


2. Use OSGI manifest mechanism.
    in manifest.mf, insert Bundle-NativeCode declarations like this:

    Bundle-NativeCode: native/windows/myDll.dll; osname=Win32; processor=x86


3. Use Equinox mechanism. (like SWT does)
    Create plugin project without libraries.
    and create plugin fragment projects for each os and architecture, and configure Platform Filter like this:
   
    os=Win32, processor=x86 (LDAP String)


Then, user don't have to configure their library path to execute plugins which uses LWJGL.
Logged
jediTofu
Prolific Timewaster
****
Posts: 280



« Reply #1 on: March 31, 2011, 21:09:16 »

Eclipse plugin is no longer supported really...hasn't been worked on in a long time from what I have heard.  Maybe you could fix it.
Logged

cool story, bro
jeeeyul
Newbie
*
Posts: 2


« Reply #2 on: March 31, 2011, 21:20:34 »

Yes, I can. It's quite simple and easy process.
But I think People prefer to use official eclipse update site url.

Can I publish LWJGL eclipse plugin through lwjgl.org/update ?
Logged
Matzon
Administrator
Demigod
*****
Posts: 2237



« Reply #3 on: April 01, 2011, 00:23:11 »

Eclipse plugin is no longer supported really...hasn't been worked on in a long time from what I have heard.  Maybe you could fix it.
It is supported! - jpilgrim comitted a new version yesterday! Smiley

Consider providing a patch against trunk, or hope that jpilgrim picks up on it. I dont have any experience with eclipse plugins yet.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!