Re: [dev] re: using ant script to build add-in
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]
Re: [dev] re: using ant script to build add-in
Hi James, i will sent you 2 sample projects including ant scripts which should work with eclipse 3.1 and oo1.1.4 Oliver Am 23.02.2005 15:38 schrieb Kohei Yoshida: 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. HTH, Kohei - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] re: using ant script to build add-in
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. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] re: using ant script to build add-in
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]