Hi Mike,

yes, it is planned to provide ant scripts for the SDK examples. Do you work with the OO2.0 SDK? If yes, take a closer look in one of the example application jars. All application jars contain the bootstrap "glue code" class files (<sdk>/classes/*). The applications will automatically start an office and connect over a named pipe connection to the office.
You can simply extend your ant script and pack this "glue code" classes (and dll -> for platform independency) to your client application jar.


- Juergen


Mike Traum wrote:
I was using the bootstrap, but didn't really know what it was (I was
just working from the examples).

Are there plans to move towards using ant for the java examples? I
didn't even bother looking at the Makefile's because there just not
natural for a java developer (I haven't used makefiles since I
developed in C 6+ years ago). I ended up just extracting the
generated jar's to figure out what was required.

Thanks,
Mike


--- Stephan Bergmann <[EMAIL PROTECTED]> wrote:

Mike Traum wrote:

I'm developing an external, command-line java application that
interfaces with oo 2.0. I'd prefer to bundle the oo jar's I use
(juh.jar, jurt.jar, ridl.jar, unoil.jar) so that I don't have to

deal

with trying to find the location of the user's openoffice
installation to set the classpath.

Is this an acceptable way of doing this, or will the api change

so

that every time a new OO point release comes out, I'm going to

have

to repackage my application.

Your approach should work (as long as you use those jars in
compliance with their license, which shouldn't be much of a problem for LGPL),
as we try to keep UNO backward compatible. (You won't benefit from
any improvements, of course.)


However, a simple solution to locate and connect to an OOo instance
is now available as "Simple Bootstrap," check out



<http://udk.openoffice.org/common/man/spec/transparentofficecomponents.html>.

-Stephan


Thanks,
Mike


---------------------------------------------------------------------

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






__________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to