PDA

View Full Version : Eclipse Design problems with OpenLaszlo


Diego Soules
11-10-2006, 04:30 AM
I have worked with the OpenLaszlo plugin (laszloIDE-0.2.0-jdk1.5) for OpenLaszlo version 3.3.3 (openlaszlo-3.3.3-unix) with no problems in source or design views. I could make changes in the design view and the source code changed.

I installed Eclipse 3.2 (wtp-all-in-one-sdk-R-1.5.2-200610261841-linux-gtk) and I can work in the source code view with no problems.

My OpenLaszlo 3.3.3 server recompiles the code correctly and displays the running application. But, when I try to use the design view I can move and resize all my components, but nothing ever changes in the source code. I can only move a resize buttons and use the design view to preview the current layout.

I see no errors, but it appears that the design view editor is not really connected to my source code. Any visual changes I make are simply lost.

O/S: Debian GNU/Linux 3.1 r0a "Sarge" - Official i386.

medos
12-05-2006, 09:22 AM
I have the same problem with (wtp-all-in-one-sdk-R-1.0.3-200607290929-linux-gtk), (openlaszlo-3.3.3-unix), (laszloIDE-0.2.0-jdk1.5) and (jdk-1_5_0_10-linux). I work under the Mandriva Linux 2007.

When I want to visualize the compenents with the Design tab, I get the error :
this page contains information of a type (application/x-shockwave-flash) that can only be viewed with the appropriate plugin

I have read the installation instructions provided in the IDE4Laszlo site, I have installed Mozilla 1.7.13 and set the enviromnent variable MOZILLA_FIVE_HOME to /usr/lib/mozilla-1.7.13, and apply the command line : <ECLIPSE_DIRECTORY>/eclipse -vmargs -D org.eclipse.swt.browser.internal.flash but I fail in the error :
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/browser/internal/flash

I can launch the Laszlo aplication execution, but I can't use the Design tab :o .

Thank you for the answers.