Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Extending XULRunner components base

0 views
Skip to first unread message

Dan Tsimbala

unread,
Aug 25, 2008, 9:55:48 AM8/25/08
to suppor...@lists.mozilla.org
Hi all!

Hope you can help/advise me something with this problem. I'm currently
helping some of my collegues developing the Eclipse plugin. I'm not a Java
developer nor am much familiar with Eclipse, I was taken on this project due
to my knowledge in the client side Web development. The plugin uses
Xulrunner to create browser instances to view/design Web pages. Due to
design, part of the plugin is written in JavaScript and injected into the
page. This produces the need to connect this inpage code with the rest of
the project. Afer some research I've decided to create XPCOM service to
implement this connection. And everything is great, except one thing:
* For Eclipse Xulrunner is distributed as a plugin. To make a proove of the
concept I've added my interface definition and JS implementation to the
components folder of the plugin itself
(eclipse_root\plugins\org.mozilla.xulrunner.win32.win32.x86_1.8.1.3-20070404\xulrunner\components).
For the end solution this is no good - it should be possible for the user of
our plugin to easily update their Xulrunner to any other version without
breaking stuff. It also makes me wondering how we can distribute our plugin.
In the end it's not very convenient for development (for example putting it
under version control). When starting the POC I thought it's quite simple to
make an extension for the Xulrunner (I still hope it is), same way as for FF
(or any XUL app?). So the question is if it's possible to make the extension
of Xulrunner (prefereably in separate dir) without adding anything to its
folders.

Thanx in advance!

0 new messages