Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » XULRUNNER set profile(how can I set the XulRunner profile for swt browser)
XULRUNNER set profile [message #869621] Thu, 03 May 2012 18:08 Go to next message
János Gerevich is currently offline János GerevichFriend
Messages: 4
Registered: May 2012
Junior Member
I am using XULRUNNER as the swt browser component and I want to run multiple instances of my xulrunner project on one computer.
The problem is all use the same profile folder:
<ApplicationDataDirectory>/Mozilla/eclipse
and this can cause problems, for example they overwrite each others cache entries which caused one of the browsers css to disappear and the site layout collapsed.

I was able to workaround this via setting the browser.cache.disk.parent_directory in all.js in the xulrunner installation directory.

But I would like a better solution - is there any way I can tell the swt xulrunner browser component which profile to use? (xulrunner can be run with the -profile XXXX option)

Thanks,
János
Re: XULRUNNER set profile [message #869849 is a reply to message #869621] Fri, 04 May 2012 13:51 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
This is not currently supported, but there is a a request for it, see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=178918 .

Grant


On 5/3/2012 2:08 PM, János Gerevich wrote:
> I am using XULRUNNER as the swt browser component and I want to run
> multiple instances of my xulrunner project on one computer.
> The problem is all use the same profile folder:
> <ApplicationDataDirectory>/Mozilla/eclipse
> and this can cause problems, for example they overwrite each others
> cache entries which caused one of the browsers css to disappear and the
> site layout collapsed.
>
> I was able to workaround this via setting the
> browser.cache.disk.parent_directory in all.js in the xulrunner
> installation directory.
>
> But I would like a better solution - is there any way I can tell the swt
> xulrunner browser component which profile to use? (xulrunner can be run
> with the -profile XXXX option)
>
> Thanks,
> János
Re: XULRUNNER set profile [message #869970 is a reply to message #869849] Sat, 05 May 2012 10:27 Go to previous messageGo to next message
János Gerevich is currently offline János GerevichFriend
Messages: 4
Registered: May 2012
Junior Member
Thanks, I voted for it. How do I know if it will be implemented, and when? How many votes does it need?
Re: XULRUNNER set profile [message #870267 is a reply to message #869970] Mon, 07 May 2012 14:10 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Vote count is a criteria that's considered when prioritizing bugs, but
there are many other criteria as well, and there's no magic vote count
that triggers an investigation.

The current Eclipse/SWT iteration is now into its Release Candidate
stage, so it's safe to say that this will not be investigated for the
upcoming release. Planning for the next release will happen in the
summer; while the degree of this planning is not as fine-grained as an
individual request like this, decisions such as resource allocation
could definitely affect the likelihood of this being looked at. If this
feature is absolutely critical for you then your most prudent course is
to investigate the required SWT change and ship a modified SWT with your
app. The SWT FAQ ( http://www.eclipse.org/swt/faq.php ) should contain
entries for the various steps that are needed to do this.

Grant


On 5/5/2012 6:27 AM, János Gerevich wrote:
> Thanks, I voted for it. How do I know if it will be implemented, and
> when? How many votes does it need?
Previous Topic:How to add DropDown to Table
Next Topic:Can't catch CTRL-C if the user releases the keys in the wrong order.
Goto Forum:
  


Current Time: Wed Sep 30 07:20:27 GMT 2020

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

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

Back to the top