On Feb 3, 2008 12:56 AM, Ariel Constenla-Haile <[EMAIL PROTECTED]> wrote: > Unfortunately, no; see > http://wiki.services.openoffice.org/wiki/OpenOffice_NetBeans_Integration/Releases/Release_1.2 > > You can use NetBeans CVS to download the sources form the OOo API > project, and build it yourself. I did it with NB 5, with NB 6 I just got > build errors. > > I send you a copy to your address. I have just build it [1], and install > it on NB 6.0, and it works! :-) The only error message you get when > installing is that the extension is not signed, but just go on, and > install it. > > > Notice you will have to download and install the OOo SDK: > http://download.openoffice.org/sdk.html >
Yes, I already have OO.org SDK installed. I received OO.org API plug-in that you created (using latest source code and NetBeans IDE 5.0). I installed it, It is working correctly. I can now see 4 project templates in : File >> New Project >> OpenOffice.org I was also able to build and run a simple client application (which connects to running office). Thank you Ariel for your help ! So I conclude that problem (i.e. plug-in not working with NetBeans IDE 6.0) exists with version 1.1 of OO.org API. This problem seems to be fixed in latest source code of plug-in in CVS and therefore Ariel was able to build a plug-in which worked fine in NetBeans 6.0. Another known issue seems that OO.org API plug-in cannot be built using NetBeans IDE 6.0. > See also http://api.openoffice.org/ , and of course I suggest you to > join the API mailing list (proper than this one for API related themes) > [EMAIL PROTECTED] , and also the extensions mailing list > [EMAIL PROTECTED] . Sure. > Please notice also that soon all the examples from the OOo SDK will be > available as NetBeans Projects. > I have already finished all text documents examples > (sdk/examples/java/Text and sdk/examples/DevelopersGuide/Text). This > weekend I hope to finish the spreasheet examples. > This will definitely help newbies. I believe right now there two procedures to use examples provided with OO.org SDK. Following are (NetBeans 6.0 specific) instructions for compiling and running SDK examples, just to clarify my understanding and for future reference. Sample programs are in SDK directory. For example: C:\Program Files\OpenOffice.org_2.3_SDK\examples\java\Text # Procedure 1 (As a simple Java application) 1. Create a new project. File >> New Project >> Java >> Java Application 2. We are going to copy example code, so no need to create any class. 3. Now copy example code (for example: SWriter.java) into the project. 4. This code is dependent on OO.org API (libraries), therefore we must add the libraries. Window >> Projects >> Libraries >> RightClick >> Add Library >> OpenOffice 2.x This add all relevant libraries (.jar files) 5. Build and Run the app. -------------------- # Procedure 2 (Using OO.org API Plugin) 1. Install OO.org API plugin. 2. Choose File >> New Project >> OpenOffice.org >> OO.org Client App 3. This creates a sample code OfficeUNOClientApp.java, the relevant OO.org libraries are automatically added. 4. Replace sample code with desired example (say SWriter.java) 5. Build and Run the app. ---------- This is what I understood in last few days, correct me if I am wrong. -- Vijay Patil --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
