Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to specify a relative path to a XULRunner?
How to specify a relative path to a XULRunner? [message #930562] Tue, 02 October 2012 12:35 Go to next message
Christian Schwarz is currently offline Christian SchwarzFriend
Messages: 31
Registered: July 2009
Member
How to specify a relative path to a XULRunner?
I tried -Dorg.eclipse.swt.browser.XULRunnerPath=/xulrunner, the Xulrunner is installed relative to my app-folder.
It seems only to work if i use an absolute path. Is there a solution or have i to choose an other path like ../xulrunner?
Re: How to specify a relative path to a XULRunner? [message #930658 is a reply to message #930562] Tue, 02 October 2012 14:12 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2151
Registered: July 2009
Senior Member
The path has to be absolute. If you're trying to set this value from an
app of yours that ships XULRunner and therefore doesn't know its
absolute path then you can make some calls to Eclipse core to compute
its location. This is demonstrated in the snippet in
http://www.eclipse.org/swt/faq.php#specifyxulrunner .

Grant


On 10/2/2012 8:35 AM, Christian Schwarz wrote:
> How to specify a relative path to a XULRunner?
> I tried -Dorg.eclipse.swt.browser.XULRunnerPath=/xulrunner, the
> Xulrunner is installed relative to my app-folder.
> It seems only to work if i use an absolute path. Is there a solution or
> have i to choose an other path like ../xulrunner?
Previous Topic:Call a .NET dll in Eclipse
Next Topic:Scrolled Composite Bars
Goto Forum:
  


Current Time: Wed Nov 26 17:39:11 GMT 2014

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

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