Bug 423772 - Make Native library location os- and jre-specific
Summary: Make Native library location os- and jre-specific
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.4   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-11 03:42 EST by Ilya Basin CLA
Modified: 2013-12-11 03:42 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Basin CLA 2013-12-11 03:42:41 EST
The native libraries in the libjitsi project are put in the corresponding folders:
linux, linux-64, windows, windows-64, etc.

We use libjitsi project as a dependency of our own project. Some of us are on Linux and others are on Windows. Sometimes we launch the project on a 32bit jre.
So we often have to manually change the Native library location in project properties. .classpath is in Git and this creates extra inconvenience.

Configuring java.library.path in a launch config kills the feature and although you can use variables for OS, there's no variable for the runtime JRE architecture (32 or 64).

Adding the detection to the program being launched is bad too: it can't know the libraries of its dependencies.