Re: [api-dev] Error message trying to bootstrap OpenOffcie

2008-02-08 Thread Wouter van Reeven
Hi Jürgen, On Thu, Feb 07, 2008 at 11:37:18PM +0100, Juergen Schmidt wrote: i would suggest that you use our NetBeans plugin and create a UNO client application. build it and take a look into the generated jar file. You will notice some glue code (coming with the SDK) and the manifest

Re: [api-dev] Error message trying to bootstrap OpenOffcie

2008-02-08 Thread Tobias Krais
Hi Wouter, Sorry to bother you again. I haven't created many jars outisde IDEs... I don't mind. Thats the purpose of mailing lists... - Main-Class: com.sun.star.lib.loader.Loader Name: com/sun/star/lib/loader/Locader.class Application-Class:

Re: [api-dev] Error message trying to bootstrap OpenOffcie

2008-02-08 Thread Wouter van Reeven
Hi Tobias, On Fri, Feb 08, 2008 at 09:34:06AM +0100, Tobias Krais wrote: - Main-Class: com.sun.star.lib.loader.Loader Name: com/sun/star/lib/loader/Locader.class Application-Class: nl.reeven.van.test.ooo.MyOOoBootstrapper Application-Name:

Re: [api-dev] Error message trying to bootstrap OpenOffcie

2008-02-08 Thread Wouter van Reeven
On Fri, Feb 08, 2008 at 10:18:27AM +0100, Juergen Schmidt wrote: not necessary i will provide a intermediate version (unsigned) today on api.openoffice.org Cool, thanks so much! If you'd like me to report any issues with it please let me know. Greets, Wouter -- People: If she weighs the

Re: [api-dev] Error message trying to bootstrap OpenOffcie

2008-02-08 Thread Juergen Schmidt
Wouter van Reeven wrote: Hi Jürgen, On Thu, Feb 07, 2008 at 11:37:18PM +0100, Juergen Schmidt wrote: i would suggest that you use our NetBeans plugin and create a UNO client application. build it and take a look into the generated jar file. You will notice some glue code (coming with the SDK)

Re: [api-dev] Error message trying to bootstrap OpenOffcie

2008-02-08 Thread Tobias Krais
Hi Wouter, Well, I use NetBeans 6.0 and it's kinda hard to change the default manifest file that is being generated by NetBeans. So what I have done so far is to let NetBeans create the jar, then unpack it, copy over all the com and win classes from the SDK, put in a custom manifest file

[api-dev] Error message trying to bootstrap OpenOffcie

2008-02-07 Thread Wouter van Reeven
Hi guys, In the past I have been playing around with the OOo SDK trying to bootstrap OOo without knowing in advance what the path to the OOo program directory is. I have written a few blogs about OOo and one of the questions I frequently get is how to do just that. People are very much

Re: [api-dev] Error message trying to bootstrap OpenOffcie

2008-02-07 Thread Wouter van Reeven
Hi again, On Thu, Feb 07, 2008 at 12:10:28PM +0100, To dev@api.openoffice.org wrote: On Thu, Feb 07, 2008 at 12:05:56PM +0100, Tobias Krais wrote: why not using this: http://codesnippets.services.openoffice.org/Office/Office.BootstrapOpenOffice.snip Because I am not using Windows but

Re: [api-dev] Error message trying to bootstrap OpenOffcie

2008-02-07 Thread Tobias Krais
Hi Wouter, why not using this: http://codesnippets.services.openoffice.org/Office/Office.BootstrapOpenOffice.snip Because I am not using Windows but Linux :-) Best choice. I use it, too. This solution probably works in Windows, since the registry is searched for the OOo installation.

Re: [api-dev] Error message trying to bootstrap OpenOffcie

2008-02-07 Thread Wouter van Reeven
Hi Tobias, On Thu, Feb 07, 2008 at 12:05:56PM +0100, Tobias Krais wrote: why not using this: http://codesnippets.services.openoffice.org/Office/Office.BootstrapOpenOffice.snip Because I am not using Windows but Linux :-) This solution probably works in Windows, since the registry is searched

Re: [api-dev] Error message trying to bootstrap OpenOffcie

2008-02-07 Thread Wouter van Reeven
Hi Tobias, On Thu, Feb 07, 2008 at 12:25:21PM +0100, Tobias Krais wrote: It works on Linux and Windows (not yet MacOS). All you need is a link to the /usr/lib/openoffice/soffice in you path. I submitted a bug some time ago against Debian and they added a link (/usr/bin/soffice) to solve the

Re: [api-dev] Error message trying to bootstrap OpenOffcie

2008-02-07 Thread Tobias Krais
Hi Wouter, why not using this: http://codesnippets.services.openoffice.org/Office/Office.BootstrapOpenOffice.snip Greetings, Tobias Wouter van Reeven schrieb: Hi guys, In the past I have been playing around with the OOo SDK trying to bootstrap OOo without knowing in advance what the

Re: [api-dev] Error message trying to bootstrap OpenOffcie

2008-02-07 Thread Tobias Krais
Hi Wouter, Next I create META-INF/MANIFEST.MF which contains this Main-Class: com.sun.star.lib.loader.Loader Name: com/sun/star/lib/loader/Loader.class Application-Class: nl.reeven.van.test.ooo.MyOOoBootstrapper Application-Name: nl/reeven/van/test/ooo/MyOOoBootstrapper.class Here is

Re: [api-dev] Error message trying to bootstrap OpenOffcie

2008-02-07 Thread Wouter van Reeven
Hi Tobias, Sorry to bother you again. I haven't created many jars outisde IDEs... On Thu, Feb 07, 2008 at 05:12:15PM +0100, Tobias Krais wrote: Here is mine: -%- Manifest-Version: 1.0 Main-Class: com.sun.star.lib.loader.Loader Name: com/sun/star/lib/loader/Loader.class

Re: [api-dev] Error message trying to bootstrap OpenOffcie

2008-02-07 Thread Juergen Schmidt
Hi Wouter, i would suggest that you use our NetBeans plugin and create a UNO client application. build it and take a look into the generated jar file. You will notice some glue code (coming with the SDK) and the manifest entries Tobias has already described. It can be really easy as long