Hi,

The SDK for OOo 2.0 will include examples of Scripting Framework
Java macros that have ant build scripts. You can find a simple
example here:

http://api.openoffice.org/source/browse/api/odk/examples/DevelopersGuide/ScriptingFramework/SayHello/

It contains targets for the compiling of Java classes that use
the OOo API, generating UNO packages from those classes and
deploying them using the unopkg tool. If you want to use it
without the SDK just modify the "initnosdk" target and add:

<property name="opp" value="path_to_OOo_program_directory"/>

Hope this helps,
Tom

Kohei Yoshida wrote:
Hi Mathias,

On Wed, 23 Feb 2005 18:41:04 +0100, Mathias Bauer <[EMAIL PROTECTED]> wrote:

Kohei Yoshida wrote:

On Tue, 22 Feb 2005 14:44:23 -0500, James Black <[EMAIL PROTECTED]> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am curious if anyone has an ant script to build an add-in for Oo, as I
am going to do my project in java, and would prefer not to use make. :)

Hi James,

I think you will be better served on [EMAIL PROTECTED]  On that
list I see regularly many folks who develop Java UNO components and/or
write Java programs that connect to OO.o instance via UNO.

As for me, I still use 'make' for my Java UNO component project, but
switching to ant is in the back of my mind.

We are currently working on ant support in our SDK, means: provide ant scripts for at least some of the Java examples. It's currently unclear how many of them (between zero and all) will get ant scripts in the next SDK release, but replacing make by ant for Java examples is what we are heading for.


Now, that will give a lot of Java coders a good head start on their
project.  Thanks for the good news! :-)

Kohei

---------------------------------------------------------------------
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