Plugin and API

Questions and answers on developing, deploying and using plugins and JavaBeans

Plugin and API

Postby r.rios » Thu Jun 17, 2004 3:17 am

I'm building a plugin that uses a third-party API. I'm running MacOS X, so the jar and jnilib files are places in /Library/Java/Extensions/

On my computer the plugin works fine, but on clients it seems to be looking for the jars and jnilibs. I figure this because I got the same effect from removing these files from Extensions.

I'm new at Java and Servoy plugins, so I'm not sure I exported the plugin wrong or I'm suppose to copy these files to the server computer, and if so, where?

Any help appreciated.
Ronnie
r.rios
 
Posts: 58
Joined: Mon Dec 01, 2003 3:59 am

Postby pbakker » Thu Jun 17, 2004 11:23 am

If your plugin needs additional jars, they have to be placed in a separate directory, not in the Servoy lib. Secondly, you have to create a jnlp (or was it jlnp?) file, have a look at the scheduler plugin for details.

Hope this answers your question.

Paul
pbakker
 
Posts: 2822
Joined: Wed Oct 01, 2003 8:12 pm
Location: Amsterdam, the Netherlands

Postby Jan Blok » Thu Jun 24, 2004 10:28 am

see the scheduler.jar.jnlp from plugins directory as sample
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam


Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 9 guests