Trident the only option? [message #901893] |
Tue, 14 August 2012 22:11 |
Dan Darnell Messages: 145 Registered: November 2011 Location: Arkansas |
Senior Member |
|
|
Is Trident the only render engine supported right now? I tried both WebKit and XULRunner and the IDE would not start with either of them selected. If they are supposed to work I will post the error detail here. Please let me know...
Thanks,
Dan
OKAY, HOLD THE PHONE: I found some stuff in the documentation about extra manual steps required to use either WebKit or XULRunner. Let me try those steps and see what happens. (grumble, grumble... *need a warning on the preferences page* ... grumble, grumble)
[Updated on: Tue, 14 August 2012 22:14] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Trident the only option? [message #903272 is a reply to message #903107] |
Wed, 22 August 2012 19:22 |
Dan Darnell Messages: 145 Registered: November 2011 Location: Arkansas |
Senior Member |
|
|
It is astonishingly complicated. I can't fault the EDT team though because they are just making use of what is supported by Eclipse. Without heavily customizing Eclipse itself I think they are pretty well stuck too.
Okay, so your goal is to try the mobile widgets ... that's good to know. The "setting up for mobile" part of that blog post is what you should follow:
http://wiki.eclipse.org/EDT:SettingUpForMobile
I haven't tried it myself (as I say, my interest was in HTML5 and all I needed was XULRunner for canvas support). I'm going to try the mobile widgets now just for grins (which it appears does require Safari and a WebKit configuration).
I will follow up with my relative success or failure at this endeavor.
--Dan
[Updated on: Wed, 22 August 2012 19:22] Report message to a moderator
|
|
|
Re: Trident the only option? [message #903279 is a reply to message #903272] |
Wed, 22 August 2012 19:48 |
Dan Darnell Messages: 145 Registered: November 2011 Location: Arkansas |
Senior Member |
|
|
Okay, it's working.
Here's what I am running:
Windows XP 32-bit
Safari 5.1.7
EDT 0.8.1 (all-in-one install including Eclipse 3.7.2)
I followed these steps to configure for WebKit:
http://wiki.eclipse.org/EDT:SettingUpForMobile
Since I was already using XULRunner I had to undo changes made previously to the eclipse.ini file. If you weren't already set up for XULRunner, make no changes to eclipse.ini.
I added "C:\Program Files\Safari\Apple Application Support" to my Windows PATH environment variable. (This path is correct for XP but different on Windows 7 and probably Vista.)
I started EDT and went to Window->Preferences and then EGL->Rich UI->Appearance and set the render engine to WebKit.
I shut down and then re-opened EDT.
I imported the Dojo Mobile samples project from here:
http://www.eclipse.org/edt/#doc
The samples all seem to be working.
Give it another shot and see what happens for you!
--Dan
[Updated on: Wed, 22 August 2012 19:48] Report message to a moderator
|
|
|
Re: Trident the only option? [message #907479 is a reply to message #903279] |
Tue, 04 September 2012 04:49 |
Smyle H Messages: 58 Registered: September 2012 |
Member |
|
|
Hi all,
I share my experience here.
If you keep receiving below error:
"Error:
Internal Error
No more handles [Safari must be installed to use a SWT.WEBKIT-style Browser]
".
It is probably that xulrunner's settings has conflicts with webkit's settings.
Sometimes other eclipse based IDEs would set some global values to ensure SWT properly initialize a firefox browser during its installation, while it crashes webkit initialization. This is very annoying. To override the global settings, it might work if you add below configurations to EDT's eclipse.ini file and then restart it.
-Dorg.eclipse.swt.browser.DefaultType=webkit
-Dorg.eclipse.swt.browser.XULRunnerPath=D:\ //!important: specify a wrong directory to force SWT not use XULRunner which crashes webkit initialization
To reuse firefox as the rendering engine, just remove these two statements.
Besides, if you have ever manually installed XULRunner, navigate to the directory where XULRunner installed, and run below commands to uninstall it in the console, since it also crashes Webkit's initialization in eclipse.
xulrunner.exe --unregister-global
[Updated on: Tue, 04 September 2012 04:50] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.89267 seconds