How to deploy the OpenLaszlo solo app?

I watched OpenLaszlo. I could not find how to deploy a solo application. What do I need to copy or what programs do I need to run?

I know the deployment type can be dhtml or flash ...

Thanks in advance.

+4
source share
3 answers

In SOLO mode, you take the source OpenLaszlo.lzx "program" (expressed in XML format) and "compile" it into an Adobe Flash.swf file using the lzc utility.

For example, the source hello.lzx will be compiled as follows

lzc hello.lzx

in a flash application called

hello.sw8.swf

Then you simply paste the .swf into the HTML page, like any other Flash content. Adobe Flash Player version 8 or version 9 must be installed in the client’s browser to play the .swf Flash application.

To see the Flash application directly from the disk of your development machine, simply specify the browser directly in the local .swf file and it will appear in the browser.

+3
source

The OpenLaszlo documentation contains a section with information on how to deploy the application: http://www.openlaszlo.org/lps3.4/docs/deploy/deployers-guide.html#deployers-guide.steps

There is another section in the documentation section describing SOLO and proxy deployment mode. http://www.openlaszlo.org/lps4.9/docs/developers/proxied.html

The documentation can be a bit confusing as it has not been updated in recent years.

The easiest way to deploy the application is to use the developer console, which is displayed under the OpenLaszlo application in the browser. You will see the β€œSOLO” button on the console, which starts the process of creating an HTML embed page for your OpenLaszlo application, combines all static resources into a ZIP file that can be processed using automatic build scripts to create a new version of your software.

All compilation and deployment steps can be performed from the command line using the lzc command to compile and the lzdeploy command to create the deployment zip file. Both tools can be integrated into Ant. Commands can be found in the folder

$ LPS_HOME / WEB-INF / LPS / server / bin

Check out this blog post on the OpenLaszlo project for more information on the lzdeploy tool (which does not appear to be documented in the official documentation): http://weblog.openlaszlo.org/archives/2008/04/lzdeploy-new-command-line -utility-for-deploying-solo-applications /

+2
source

A similar question concerns automatic builds of the OpenLaszlo SOLO application using Apache Ant. The answer contains a complete build of the script to compile the SWF or DHTML / HTML5 application, including all the necessary resources. The discussion can be found here: How to create an OpenLaszlo DHTML application using Apache Ant

+2
source

All Articles