Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » private Xulrunner is not detected
private Xulrunner is not detected [message #487194] Tue, 22 September 2009 12:23 Go to next message
No real name is currently offline No real nameFriend
Messages: 2
Registered: September 2009
Junior Member
Hi,

I have a problem with the xulrunner plugin for eclipse. In my RCP I want to use the swtbrowser with gecko, so I added the xulrunner plugin to my project. If I starts the RCP-application in eclipse everything is fine and the xulrunner is found, but if I export it as a eclipse product I've got in the .log-file under "[RCPApplication]/workspace/.metadata" the error: "No plugin contributing a private Xulrunner. Using the default platform registered Xulrunner." But there is a folder called "org.mozilla.xulrunner.win32.win32.x86" under the plugins-folder. And this folder also contains the whole xulrunner-folder. So the xulrunner is there but cannot be detected.

Any ideas why it does not work as a standalone product, but in eclipse?
Re: private Xulrunner is not detected [message #487624 is a reply to message #487194] Wed, 23 September 2009 19:00 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Hi,

I don't know if the org.mozilla.xpcom plug-in actually does anything to help
the browser find a xulrunner plug-in. It's possible that your
org.mozilla.xulrunner.win32.win32.x86 plug-in is not being used in the case
of running within eclipse either, but is not logging the error message. To
see which xulrunner install is being used in the within-eclipse and exported
product cases add "Device.DEBUG=true;" to your app anywhere before the first
Browser with style SWT.MOZILLA is created, and the path wil be printed to
stdout.

SWT's FAQ was lacking on the topic of shipping a XULRunner, so I've updated
http://www.eclipse.org/swt/faq.php#specifyxulrunner . This should help you
out, if not then please follow up here.

Grant


<snakecatcher@freenet.de> wrote in message
news:h9afjb$hoq$1@build.eclipse.org...
> Hi,
>
> I have a problem with the xulrunner plugin for eclipse. In my RCP I want
to use the swtbrowser with gecko, so I added the xulrunner plugin to my
project. If I starts the RCP-application in eclipse everything is fine and
the xulrunner is found, but if I export it as a eclipse product I've got in
the .log-file under "[RCPApplication]/workspace/.metadata" the error: "No
plugin contributing a private Xulrunner. Using the default platform
registered Xulrunner." But there is a folder called
"org.mozilla.xulrunner.win32.win32.x86" under the plugins-folder. And this
folder also contains the whole xulrunner-folder. So the xulrunner is there
but cannot be detected.
>
> Any ideas why it does not work as a standalone product, but in eclipse?
Re: private Xulrunner is not detected [message #487681 is a reply to message #487624] Thu, 24 September 2009 07:12 Go to previous message
No real name is currently offline No real nameFriend
Messages: 2
Registered: September 2009
Junior Member
Hey,

within eclipse the right xulrunner is used, but as an exported product the xulrunner-plugin is still not found, even with your example of a XULRunnerInitializer. For now i solved the problem by setting the xulrunner_path system property by myself, not the best version, but it works...
Previous Topic:Correct way to save system property to config.ini?
Next Topic:life cycle of RCP app?
Goto Forum:
  


Current Time: Thu Apr 25 00:13:24 GMT 2024

Powered by FUDForum. Page generated in 0.03596 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top