jar order loading

Questions and answers regarding the use of eclipse environment as seen in Servoy Developer

jar order loading

Postby Marco R. » Mon Oct 07, 2013 10:59 am

Hi all,

I've to choose the order in wich the Servoy Developer loads the plugin's jar.

Here the scenario:
I've made a servoy plugins that is using some jars.
These jars have a problem: the import order.

For example I have these third-part jars:
donald.jar
donald-fx.jar

The problem is that I have to load "donald-fx.jar" before "donald.jar".

Into the "Java" view of servoy I can easly avoid this problem because I can pilot the build-path. (tested and working)
Into my servoy-application-server I can avoid this problem because I have the jnlp that loads the jars
as I've inserted them in it (tested and working).


Now I'm looking for a way to do the same into Servoy Developer.


Thanks in advance


Marco
Marco Rossi
Freelance

Main development environment: Servoy 6.1.6 - 7.4.3, Java 1.6u45,7u71 Windows 7/CentOS
Marco R.
 
Posts: 203
Joined: Thu Mar 19, 2009 12:37 pm

Re: jar order loading

Postby jcompagner » Thu Oct 24, 2013 9:12 am

this is not directly possible, maybe if you throw the jar that has to be done first in a sub dir that is the first in the dir listing (not sure if that is on alphabet or on creation date or just random..)

but why does a jar needs to load first? A jar doesn't by itself doesn't do much. Is it because the first jar overrides classes of the second?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Eclipse Environment

Who is online

Users browsing this forum: No registered users and 8 guests