Change dda-20111005-ve2 by [email protected] on 2011-10-05 09:41:41 EDT
in /Users/dda/laszlo/src/svn/openlaszlo/trunk-f
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix help messages to indicate runtimes that are really supported
New Features:
Bugs Fixed: LPP-10085 (LzDeploy lists Invalid Options in Help)
Technical Reviewer: promanik (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Overview:
lzdeploy and lzc should list the supported runtimes
Details:
For lzdeploy, only swf10, dhtml, mobile are supported. These are the
only runtimes that can complete a deploy without error because
there are versions of the LFC available for those runtimes.
It is possible to use lzc to build without an existing LFC
(that's how the LFC gets built!), so in theory we could keep
the current list enabled. But practically speaking, svg and j2me
seem defunct and swf7 is not being used by anyone.
swf8 is currently needed for the build (to build lzpreloader).
This portion of the build could probably be removed or upgraded as
needed someday - there are probably other substantial cleanups
when we decide to truly excise old runtimes - that's beyond the
scope of this change.
It's uncertain if anyone is using swf9.
So for now, we leave swf8 and swf9 as accepted options for lzc, and
in the help message, we report a list of those runtimes that are
truly supported.
Tests:
Ran lzdeploy with runtime=swf10, dhtml, mobile.
Ran somecheck, weather, lzpix with swf10, dhtml, mobile
runlzunit
Files:
M WEB-INF/lps/server/src/org/openlaszlo/utils/DeployMain.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/Compiler.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/Main.java
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/dda-20111005-ve2.tar
--
Don Anderson
Java/C/C++, Berkeley DB, systems consultant
voice: 617-306-2057
email: [email protected]
www: http://www.ddanderson.com
blog: http://libdb.wordpress.com