eclos wrote:
Alexander Rudenko wrote:
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 .... :)
Did you mean jar file? Or I can do this with xpi?
The first time I install my plugin with the xpi. Once registered, I rebuild the jar file each time I need.
But if you prefer, once the jar registered, you can explode the
jar file and modify the registered lines in the "installed-extensions.txt" files to reflect the reg. changes.
Then copy to the targeted directory only the touched files.
Use of the xpi each time you change code is ... boring!
Good work ...
_______________________________________________ Mozilla-xpcom mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-xpcom
