lzdeploy: new command-line utility for deploying SOLO applications
There is a new utility checked into trunk, which is a command line interface to build SOLO deployment zip archives.
You invoke it via the "lzdeploy" script, which is in
WEB-INF/lps/server/bin/lzdeploy
It take the following arguments, and produces an output file by default in the same directory as the app
resides. So for example if it is invoked on a relative path to an app in directory "test/foo/hello.lzx"
lzdeploy --runtime=dhtml test/foo/hello.lzx
it will produce a zip file, test/foo/hello.lzx.zip. This is basically the same routine that is run by the SOLO deploy 'wizard' jsp
script, but can be run from the command line, without needing to use the browser and LPS server.
You can get help with the --help argument:
badtzmaru:trunk3 hqm$ lzdeploy --help
Usage: lzdeploy [OPTION]... FILE...
Options:
-D<name>=<value>
Set the name/var property to value (See Compiler.getProperties).
-D<name>
Short for -Dname=true.
--wrapperonly
Only emit html wrapper page.
--runtime=[swf7|swf8|swf9|dhtml]
Compile to swf7, swf8, swf9, dhtml
--output pathname
The name of the output file to write.
--title titlestring
The title of the application to use in the wrapper.
-v
Write progress information to standard output.
--help
Prints this message.









April 7th, 2008 at 10:20 pm
Thank you!! I’ve wanted this for a long time.
April 26th, 2008 at 11:27 am
Where can we download this great new command line tool? Does it come with the standard OL installer?
April 26th, 2008 at 9:58 pm
It in trunk, but I don’t think it has gotten migrated to the last release. You can get a nightly build to try it out.
April 26th, 2008 at 11:06 pm
Thank you; I’ll check it out.
August 10th, 2012 at 1:38 am
[...] read about OpenLaszlo’s lzdeploy tool, but there seems to be only little documentation [...]