Re: [dev] Error log and debugging an extension

2009-01-04 Thread Ariel Constenla-Haile
Hi Karthik, Karthik Sudarshan escribió: Hi all, I've written an extension and the Options dialog is not visible (but the Options button is). I think there may be an error due to which the dialog is not being displayed. I wanted to know if there is an error log where I can look into this.

Re: [dev] Error log and debugging an extension

2009-01-04 Thread Ariel Constenla-Haile
Ariel Constenla-Haile escribió: Hi Karthik, Karthik Sudarshan escribió: Hi all, I've written an extension and the Options dialog is not visible (but the Options button is). I think there may be an error due to which the dialog is not being displayed. I wanted to know if there is an error l

Re: [dev] Error log and debugging an extension

2009-01-04 Thread Karthik Sudarshan
Thanks Ariel for the help. I was already using NB for development, and the debug was giving me problems, but now it looks like they have been resolved (just needed to be patient since the message said "Listening to port " but the OpenOffice process was started after the deployment of exten

Re: [dev] Error log and debugging an extension

2009-01-04 Thread Ariel Constenla-Haile
Hi Karthik, Karthik Sudarshan escribió: Thanks Ariel for the help. I was already using NB for development, and the debug was giving me problems, why didn't you use then the OOo API plug-in for NB IDE? Things are more easy with the plug-in, than just creating a new Java project with a custo

[dev] Toolbar naming - Previously - Re: [dev] Error log and debugging an extension

2009-01-05 Thread Karthik Sudarshan
Hi Ariel, Thanks for the pointer. But as in the mail thread I have the same problem that the "Add-on 1" doesn't change even after adding the WindowState.xcu file. I just tested it with WriterWindowState.xcu example file that you had provided and still no change. I've ensured that the node:n

Re: [dev] Toolbar naming - Previously - Re: [dev] Error log and debugging an extension

2009-01-05 Thread Ariel Constenla-Haile
Hi Karthik seems Oliver was faster. I tested it and worked ok too. Karthik Sudarshan escribió: Hi Oliver, Thanks for the reply and the test.oxt file. It worked for me too after removing the files from user\registry\data directory. Since you didn't have it in your box, there was nothing in

Re: [dev] Toolbar naming - Previously - Re: [dev] Error log and debugging an extension

2009-01-05 Thread Karthik Sudarshan
Hi Oliver, Thanks for the reply and the test.oxt file. It worked for me too after removing the files from user\registry\data directory. Since you didn't have it in your box, there was nothing in the cache and it worked for you too. Thanks a lot for your help :) -Karthik Oliver Brinzing w

Re: [dev] Toolbar naming - Previously - Re: [dev] Error log and debugging an extension

2009-01-05 Thread Karthik Sudarshan
Thanks Ariel and Oliver for your replies. I'm doing all the things that you have mentioned in your mails, but still I don't see any progress. To check it out, I created a new project just for this purpose (with the help of OOo plugin on NB). I'm attaching the Addons.xcu, WriterWindowState.xcu

Re: [dev] Toolbar naming - Previously - Re: [dev] Error log and debugging an extension

2009-01-05 Thread Oliver Brinzing
Hi Karthik, i simply added your files to a zip archive (test.oxt) and it works. "Test Name" is shown as title if i open a *writer* document ... test.oxt zip-archive: + META-INF manifest.xml Addons.xcu WriterWindowState.xcu of course, the "Command0" is disabled, cause i don't have the protoc

Re: [dev] Toolbar naming - Previously - Re: [dev] Error log and debugging an extension

2009-01-05 Thread Karthik Sudarshan
Thanks Ariel. Yup I understand it now, and will use the debug option going forward. -Karthik Ariel Constenla-Haile wrote: Hi Karthik seems Oliver was faster. I tested it and worked ok too. Karthik Sudarshan escribió: Hi Oliver, Thanks for the reply and the test.oxt file. It worked for me

Re: [dev] Toolbar naming - Previously - Re: [dev] Error log and debugging an extension

2009-01-05 Thread Ariel Constenla-Haile
Hi Karthik, Karthik Sudarshan escribió: Hi Ariel, Thanks for the pointer. But as in the mail thread I have the same problem that the "Add-on 1" doesn't change even after adding the WindowState.xcu file. I just tested it with WriterWindowState.xcu example file that you had provided and stil

Re: [dev] Toolbar naming - Previously - Re: [dev] Error log and debugging an extension

2009-01-05 Thread Oliver Brinzing
Hi, if you sure, your *.xcu files are correct you can try to close oo, delete all files in ".\user\registry\cache" and reinstall all extensions example "Addons.xcu": http://openoffice.org/2004/installation"; xmlns:oor="http://openoffice.org/2001/registry";

Re: [dev] Toolbar naming - Previously - Re: [dev] Error log and debugging an extension

2009-01-05 Thread Karthik Sudarshan
Hi Carsten, Yup that did it :) Thanks a lot for your suggestion. I've got my original add on working as well. Regards, Karthik Carsten Driesner wrote: Karthik Sudarshan wrote: Thanks Ariel and Oliver for your replies. I'm doing all the things that you have mentioned in your mails, but

Re: [dev] Toolbar naming - Previously - Re: [dev] Error log and debugging an extension

2009-01-05 Thread Carsten Driesner
Karthik Sudarshan wrote: Thanks Ariel and Oliver for your replies. I'm doing all the things that you have mentioned in your mails, but still I don't see any progress. To check it out, I created a new project just for this purpose (with the help of OOo plugin on NB). I'm attaching the Addons.