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

Problem creating Java component for the uno executable

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


Joined: 23 Mar 2007
Posts: 8

PostPosted: Sun Oct 07, 2007 3:06 am    Post subject: Problem creating Java component for the uno executable Reply with quote

Hello,

I'am trying create Java component for the uno executable according to example here

http://api.openoffice.org/docs/DevelopersGuide/Components/Components.xhtml

(UnoExeMain). When I'am trying to run

regcomp -register -br 'C:\Program Files\OpenOffice.org 2.3\program\services.rdb' -R XAC.rdb -c file:///c:/0Work/XAX-Test/XAC.jar -l com.sun.star.loader.Java2

I get error message

register component 'file:///c:/0Work/XAC-Test/XAC.jar' in registry 'XAC.rdb' failed!
error (RuntimeException): cannot get type description for type "com.sun.star.uri.XUriReference"!

What I'am doing wrong? Probably should I add something to -classpath?
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