Actually, I've been told by Max Carlson that, quote:

One reason it takes a long time is because the is the current design does not work directly with the local file system. Instead, a compressed file is uploaded to the server via HTTP. This is great for remote development, but far from ideal when the web server is on the same machine.

End quote.

Basically, it has to zip everything up, copy it all up to the same machine, unzip everything, and replace everything.  A heck of a lot of unneeded work.  Our solution around this problem was to use the "external tools" feature of eclipse to run a batch file, and the batch file just uses xcopy to copy the files:

xcopy /d /e /y /s /i "%userprofile%\workspace\app\src\*" "C:\Program Files\OpenLaszlo Server 3.3\Server\lps-3.3\app\src\"
start "" "C:\Program Files\Mozilla Firefox\firefox.exe" "http://localhost:8080/lps-3.3/app/src/source/main.lzx?lzr=swf8&debug=true"

It speeds things up enough to make eclipse actually usable for us.

-Jason

Frisco Del Rosario wrote:
On Jun 27, 2006, at 11:31 PM, [EMAIL PROTECTED] wrote:

  
I'm using IDEforLaszlo and for some reason launching any lzx file  
using the
run command from Eclipse takes around 30 seconds.  If I drop that  
same lzx
file into the root directory for the Laszlo server and run it by  
typing in
the URL of the file in a web browser, it runs in around 2-3  
seconds.  I was
wondering if any one else might have encountered this problem
    

This is because Eclipse is a big and ponderous thing.

Wouldn't a lightweight Laszlo IDE be a wonderful thing?


Frisco Del Rosario
Tester, OpenLaszlo and IDE4Laszlo


_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user
  

-- 
Jason Stafford
Principal Developer
Inspiration Software, Inc.
The leader in visual thinking & learning

Introducing INSPIRATION(r) 8, the essential tool to visualize, think, 
organize and learn. Students use Inspiration to plan, research and 
complete projects successfully. Learn more at www.inspiration.com. 

503-297-3004 Extension 119
503-297-4676 (Fax)
9400 SW Beaverton-Hillsdale Highway
Suite 300
Beaverton, OR 97005-3300
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to