Justin Wood (Callek) wrote:
eclos wrote:
Alexander Rudenko wrote:
I understand how to create *.xpi packages and how to install them. But how I can register it just for debugging. How I can install extension to have possibility change code and see changes immediately?
Thanks.
It work without nothing else ... Just copy your new files under the target directory and stop/reload your mozilla application...
Its not exactly that, you need to disable XUL cache, and install the package as a directory structure not a jar (unsure if that works in the new EM)
How I can install directory instead of jar? Where I should add this?
And I dont recall how to disable the XUL cache top of my head
I think it is: nglayout.debug.disable_xul_cache = true
I'm currently using this way to develop a thunderbird 1.0 plugin and it work.
The first time I installed the plugin with the xpi, and now, to update it, I use a batch file who package all the file and copy them to the target directory.
Then I stop/reload Thunderbird (with parameters: '-jsconsole -addressbook' )
and it run !
I don't know if it the right way but it's running .... :) _______________________________________________ Mozilla-xpcom mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-xpcom
