First load the Vaadin-Eclipse plugin.
1. Run eclipse.
2. In eclipse from the help menu, Select Install New Software...
3. Add new update site: http://vaadin.com/eclipse
(reference, http://vaadin.com/eclipse for details)
Now get XULRunner. (this is required by Vaadin)
1. Go to http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases
-->click on the 1.9.1.19 link and then the runtimes link. (the version 1.9.1.19 seems to change as time goes on and then direct links to this location are no longer working)
-->Select the correct version (for windows it is.....)
http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.9.1.19/runtimes/xulrunner-1.9.1.19.en-US.win32.zip
2. Unzip the file to a directory of your choice. I used c:\Apps\xulrunner
3. go to that directory
and issue the following command for windows,
xulrunner.exe --register-global
(reference https://developer.mozilla.org/en/XULRunner_1.9_Release_Notes)
4. Edit the eclipse configuration,
add the following to the bottom of the eclipse.ini file. (it should be in your eclipse directory)
-Dorg.eclipse.swt.browser.XULRunnerPath=C:/Apps/xulrunner
(likely your xulrunner will be if a different directory, so update this location appropriately.)
Now restart eclipse. If everything is ok, you should not see an xul errors like,
Could not start XULRunner (version 1.9 or higher required)
6 comments:
This is the fix.I get error still but editor works.
for ubuntu it dint work, but windows 7 64 bit with myeclise bling works
sorry it work in both ubuntu and windows.Cusotm components right click and open with Vaadin Editor instead of regular Editor :)
hi it really worked i didn't get any error again thanks
I tried this on my Eclipse Indigo workspace, running on Win 7 (64-bit).
No luck. I am still getting the XULRunner errors.
Eclipse Indigo, running on Win 7 (64-bit).
I also tried a myriad suggest options but was unable to fix the issue and gave up after three days of messing with stuff. (Productivity rulez, KO)
I have since removed XULRunner completely, simply ignoring the error message as the fallback to IE (or whatever) seems to be working okay, in that I can add components via the Vaardin editor.
I do not know whether there are supposed to be other features such as event addition or similar, so it is only just a little bit better than going back to the ark.
( Yes, I am spoilt by M$ and other visual designer IDE offerings that actually work :-) )
Post a Comment