OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

java extension, pkgchk problem (how to use my own jar files)

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
mdakin
Newbie
Newbie


Joined: 07 Jan 2005
Posts: 1

PostPosted: Fri Jan 07, 2005 1:50 am    Post subject: java extension, pkgchk problem (how to use my own jar files) Reply with quote

Hi,
I'm writing a spellchecker for Ooo using java. It uses a Turkish NLP library in jar form.

Does anybody know, how exactly I should put my own jar files into UNO packages? It's giving me noclassdef found errors for the Classes from the jar file when I try to use pkgchk application to register the plug-in.

It appears that my jar file used by spellchecker is not in the Classpath of pkgchk.

Thanks in advance
Mehmet.
Back to top
View user's profile Send private message
zaphod
Power User
Power User


Joined: 04 Nov 2004
Posts: 51
Location: Magdeburg, Germany

PostPosted: Fri Jan 07, 2005 5:05 am    Post subject: how to use your own jar files Reply with quote

Hi mdakin

As far as I know, pkgchk does not use any classpath by itself.
Just put the jar-files wich must not be registered in a folder called skip_registration,
within the zip-package. The jar, wich contains the class to be registered, contains the
MANIFEST including information about this class and the classpath to the other jars in
the skip_registration.
Have also a look to the Developer-Guide, for the
case I am telling you nonsense Shocked
Back to top
View user's profile Send private message
DannyB
Moderator
Moderator


Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Sat Jan 08, 2005 9:02 am    Post subject: Reply with quote

Another way that should work is to merge the classes from the non-uno jars into your uno jar.
_________________
Want to make OOo Drawings like the colored flower design to the left?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group