Re: [api-dev] Netbeans OOo Plugin 2.0: How to add custom files for an option dialog to an add-on project?
Juergen Schmidt wrote: You should use the latest plugin (2.0.1, not available via the update center so far) and you should create the xcu/xcs files with the new file wizard. The plugin will create the files under a new directory registry/[data/**/*.xcu|schema/**/*.xcs]. The reason for that is first a clear separation of related office only files. And take care of the package name in the xcu file. For example for an options page it should be /registry/data/org/openoffice/Office/OptionsDialog.xcu The new file wizard doesn't work for me. I tried it with the new 2.0.1 version, but I get a NullPointerException when I click on Next after I choose the xcs or xcu template. Cutted stacktrace: java.lang.NullPointerException at java.lang.String.concat(String.java:2008) at org.openoffice.extensions.filetypes.registry_ui.RegistryVisualPanel1.getName(RegistryVisualPanel1.java:71) System configuration is Ubuntu 8.10, Netbeans 6.1, OpenJDK 6 and OOo SDK 3.0 DEV300_m27. The reason for this is a potentially easier integration in the open office build and localization process. I will provide a detailed step by step example online asap (part of my oocon workshop). Ok, thats a good news. I will wait for further informations before I start a new try. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[api-dev] Intermediate version: OpenOffice.org API plugin for NetBeans 2.0.1
Hi, i have uploaded an intermediate bugfix release in the file section of the api project. Please find it under http://api.openoffice.org/files/documents/22/4375/org-openoffice-extensions-2.0.1.nbm This version fix the reported code generation problem under windows. Please help us to test the plugin and give us feedback. I would like to involve the community a little bit more in the QA process for the plugin and i hope that some volunteers will help us. This way we can probably guarantee a better quality before we make it available in the official NetBeans update center. Juergen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [api-dev] Netbeans OOo Plugin 2.0: How to add custom files for an option dialog to an add-on project?
Hi, i have uploaded the version 2.0.1 in the file section of the api project. Please report potential issues as soon as possible and help us to test the new version. http://api.openoffice.org/files/documents/22/4375/org-openoffice-extensions-2.0.1.nbm Juergen Juergen Schmidt wrote: Hi Benjamin, well it depends where you add the files in your project. With the old plugin it should work if the files are in the /src directory. You should use the latest plugin (2.0.1, not available via the update center so far) and you should create the xcu/xcs files with the new file wizard. The plugin will create the files under a new directory registry/[data/**/*.xcu|schema/**/*.xcs]. The reason for that is first a clear separation of related office only files. And take care of the package name in the xcu file. For example for an options page it should be /registry/data/org/openoffice/Office/OptionsDialog.xcu The reason for this is a potentially easier integration in the open office build and localization process. I will provide a detailed step by step example online asap (part of my oocon workshop). I will upload the 2.0.1 plugin in the file section of the api project later today. After some more testing we will provide it via the NB update center as well. Juergen Benjamin Vollmer wrote: Hello, last Weekend I tried to enable a custom option pane for my extension project. After some research a found the following helpful resources: http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Extensions/Options_Dialog http://lxr.go-oo.org/source/framework/desktop/test/deployment/options/ http://extensions.openoffice.org/servlets/ReadMsg?list=dev&msgNo=1420 So I added three files to my project. One for configuration data (*.xcu), one for the configuration schema (*.xcs) and a dialog file (*.xdl). Then I added the entries for the .xcu and .xcs files to the uno-extension-manifest. But it seems that the NetBeans Plugin ignores my custom .xcs and .xcu files. When I deploy the project, both files are missing in the .oxt package and I get an error when I want to add the extension in the extension manager. Of course I can add the files manually to the .oxt package, but thats annoying. Is this a bug or am I doing something wrong? BTW: I also have also a description file and it is also missing in the .oxt package? Regards Benjamin - 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: [api-dev] Netbeans OOo Plugin 2.0: How to add custom files for an option dialog to an add-on project?
Hi Benjamin, well it depends where you add the files in your project. With the old plugin it should work if the files are in the /src directory. You should use the latest plugin (2.0.1, not available via the update center so far) and you should create the xcu/xcs files with the new file wizard. The plugin will create the files under a new directory registry/[data/**/*.xcu|schema/**/*.xcs]. The reason for that is first a clear separation of related office only files. And take care of the package name in the xcu file. For example for an options page it should be /registry/data/org/openoffice/Office/OptionsDialog.xcu The reason for this is a potentially easier integration in the open office build and localization process. I will provide a detailed step by step example online asap (part of my oocon workshop). I will upload the 2.0.1 plugin in the file section of the api project later today. After some more testing we will provide it via the NB update center as well. Juergen Benjamin Vollmer wrote: Hello, last Weekend I tried to enable a custom option pane for my extension project. After some research a found the following helpful resources: http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Extensions/Options_Dialog http://lxr.go-oo.org/source/framework/desktop/test/deployment/options/ http://extensions.openoffice.org/servlets/ReadMsg?list=dev&msgNo=1420 So I added three files to my project. One for configuration data (*.xcu), one for the configuration schema (*.xcs) and a dialog file (*.xdl). Then I added the entries for the .xcu and .xcs files to the uno-extension-manifest. But it seems that the NetBeans Plugin ignores my custom .xcs and .xcu files. When I deploy the project, both files are missing in the .oxt package and I get an error when I want to add the extension in the extension manager. Of course I can add the files manually to the .oxt package, but thats annoying. Is this a bug or am I doing something wrong? BTW: I also have also a description file and it is also missing in the .oxt package? Regards Benjamin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Sun Microsystems GmbHJuergen Schmidt Nagelsweg 55 Technical Lead Programmability 20097 Hamburg, Germany Registered Office: Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten Commercial register of the Local Court of Munich: HRB 161028 Managing Directors: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer Chairman of the Supervisory Board: Martin Haering - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]