Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » HowTo link an external jar or project depending on the platform
HowTo link an external jar or project depending on the platform [message #504542] Mon, 21 December 2009 06:38
Eclipse UserFriend
Hi All,
I'm relatively new to eclipse and I'm developing a cross platform GUI java application based on QTJambi (Java bindings to QT toolkit by nokia).
QTJambi ships in different packages depending on the platform:

- WIn 32
- Win 64
- OSX
- Linux 32
- Linux 64

I share my project through svn so I would like to set up the eclipse project so that it automatically links to the proper qtjambi jar depending on what platform I open the project (Lin 32, 46 Win etc). This is because I would like to develop on a dedicated platform and the open the project on Win, OSX etc and just create deployable jars (one jar for each platform) without having to modify the project each time I change the platform.

In addition, is there a way to create a single deployable jar for my app that contains all platform related external jars (QTJambi) and automatically select the correct one when run by the user?

Thanks in advance, Luca.
Previous Topic:execute java code although corrupt package declaration
Next Topic:Lib source code is shown as "not on a build path" resulting in invisible breakpoint bullet
Goto Forum:
  


Current Time: Wed Mar 26 01:56:01 EDT 2025

Powered by FUDForum. Page generated in 0.03325 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top