Hi, Another problem you could face is when upgrading your Firefox browser. Since Firefox is based in XULRunner, and Eclipse's internal browser too, if the version don't match, you get a nice exception:
org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.swt.SWTError: XPCOM error -2147467262) The Eclipse's internal browser is used to render the welcome page when you create a new workspace. Check the Eclipse SWT FAQ: http://www.eclipse.org/swt/faq.php#browserlinux * Eclipse 3.4.x: Mozilla 1.4 GTK2 - 1.7.x GTK2 and XULRunner 1.8.x - 1.9.0.x * Eclipse 3.5.x: Mozilla 1.4 GTK2 - 1.7.x GTK2 and XULRunner 1.8.x - 1.9.1.x I needed to switch to Eclipse Galileo (3.5) because I'm using XULRunner 1.9.1.2 Cheers, Iván On Mon, 7 Sep 2009 16:32:43 +0530 "Rafa Roda @ Openbravo" <[email protected]> wrote: > Hi Openbravo Community! > > The other day I set up from scratch my Openbravo workspaces in > Eclipse [1] on a fresh Ubuntu 9.04 Desktop Edition: they looked so > lovely... until I had to debug some code :( I could not believe it > but I was not able to debug Openbravo Java code with Eclipse [2]! The > breakpoints did not honour their name! What was happening? > > Googling a bit I found an issue in Eclipse tracker named "Breakpoints > fail to hit under JDK 1.6.0_14" [3] (a good example of a clear issue > summary [4]). I typed in my terminal "java -version" finding with > horror that my JDK version was exactly 1.6.0_14, which is the one > installed from Ubuntu repositories when typing "sudo apt-get install > sun-java6-jdk" [5]. > > So I had to remove my JDK 1.6.0_14 and install JDK 1.6.0_16 manually > following these instructions [6]. In the meanwhile, I messed up my > /etc/enviroment file and was not able to sudo: I solved it following > [7]. > > Finally, I re-built my Openbravo wokspaces selecting in Eclipse > 'Project > Clean' then 'Clean all projects' and 'Start a build > immediately'. > > And the breakpoints were alive again! :) > > Cheers! > > Rafa Roda @ Openbravo Engineering > > [1] > http://wiki.openbravo.com/wiki/ERP/2.50/Developers_Guide/Installation_and_setup_of_Eclipse_IDE > [2] > http://wiki.openbravo.com/wiki/ERP/2.50/Developers_Guide/Installation_and_setup_of_Eclipse_IDE#Debugging_Openbravo_ERP > [3] https://bugs.eclipse.org/bugs/show_bug.cgi?id=279137 > [4] > http://wiki.openbravo.com/wiki/Bug_Reporting_Guidelines#How_to_Report_an_Issue > [5] > http://wiki.openbravo.com/wiki/ERP/2.50/Openbravo_environment_installation#Installing_the_Java_SDK_on_Debian_.28Ubuntu.2FKubuntu.2FLinux_Mint.29 > [6] http://ubuntuforums.org/showthread.php?t=1113039 > [7] https://answers.launchpad.net/ubuntu/+question/24920 -- Iván Perdomo ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Openbravo-development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openbravo-development
