Hi,
Le mercredi 10 décembre 2008 à 02:37 -0800, [EMAIL PROTECTED] a écrit :
> My first and basic question is:"Can i get a report from a client that no
> OpenOffice Installation Exists?And the only that exists is a server which
> has the openOffice Installed?" . As far as i have read till now that can be
> done by connection through
> uno:socket,host=serverip,port=ServerPort;urp;StarOffice.ComponentContext
> Am i right till now?
This way you will be able to check whether there is an OpenOffice.org
installation on that server and you will check that it is running.
Having no answer doesn't necessarily means that OpenOffice.org isn't
installed on the server: it could simply be down or started without
listening on the right port.
> My other problem is that in the bootstrap method
>
> /////////////////////////////////////////////////////////////////////////////////////////////////
> String sOffice = System.getProperty("os.name").startsWith("Windows")?
> "soffice.exe": "soffice";
> String jardir = "C://Program Files//OpenOffice.org 3//URE//java";
>
> URL[] jarList = new URL[] {new File(oooExecFolder +
> "/").toURI().toURL(),new File(jardir + "/juh.jar").toURI().toURL()};
>
> URLClassLoader loader = new URLClassLoader(jarList);
> File fOffice = NativeLibraryLoader.getResource(loader, sOffice);
>
> //////////////////////////////////////////////////////////////////////////////////////////////////
> the fOffice variable is always null!!!!!!!!!!!!!!!!:-(
>
> What is wrong with my code????
I have recently written some code for the Eclipse integration
bootstrapping OOo correctly but I still need to clean it up before
presenting it.
You can check how I am bootstrapping OOo in my extensions Unit test
system described here (that code isn't as clean as I would have
wanted):
http://cedric.bosdonnat.free.fr/wordpress/?p=108&lang_view=en
I hope that helps
--
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]