Approved!
On 8/11/10 11:12 PM, Henry Minsky wrote:
UPDATED to factor common code among all four versions of solo deployer
Change 20100811-hqm-q by [email protected] on 2010-08-11 15:13:29 EDT
in /Users/hqm/openlaszlo/trunk2
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: add a "exploded widget" mode to solo deployer, to make testing of
deployment easier
New Features:
Bugs Fixed: LPP-9293
Technical Reviewer: max
QA Reviewer: raju
Doc Reviewer: (pending)
Documentation:
Release Notes:
Overview:
Add a "Widget Emulator" button to dev console, which creates the .wgt
file and automatically unpacks it to a tmp working directory, and
redirects the browser to it.
This allows single-step workflow when modifying a widget app, and
works with the Ripple emulator plugin.
Details:
refactored the zipfile creation code into common routines in DeployUtils.java.
The .jsp's and the command line util SOLO deployers share this code now.
NOTE: You need to make sure that the dev-console is rebuilt and
reloaded to see the "run widget emulator" button in the dev console.
Tests:
Go to
http://127.0.0.1:8080/trunk2/examples/contactlist/contactlist.lzx?lzr=dhtml
click on "Widget Emulator" button, app should be copied to tmpwgt
directory and browser redirected there. The app should launch in the
browser because of it's index.html file being present in the
directory.
Do the same for the swf8 and swf10 version of the app
+ run lzdeploy for all three runtimes, verify that .wgt file has correct
contents for
SOLO app
lzdeploy --output /tmp/contacts.wgt --runtime=swf10
examples/contactlist/contactlist.lzx
lzdeploy --output /tmp/contacts.wgt --runtime=dhtml
examples/contactlist/contactlist.lzx
lzdeploy --output /tmp/contacts.wgt --runtime=swf8
examples/contactlist/contactlist.lzx
Files:
M WEB-INF/lps/server/src/org/openlaszlo/utils/DeploySOLOSWF.java
A WEB-INF/lps/server/src/org/openlaszlo/utils/DeployUtils.java
M WEB-INF/lps/server/src/org/openlaszlo/utils/DeploySOLODHTML.java
M lps/admin/lps/includes/lfc/LFCdhtml.js
M lps/admin/solo-deploy.jsp
M lps/admin/dev-console.sprite.png
M lps/admin/solo-dhtml-deploy.jsp
M lps/admin/dev-console.lzx
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20100811-hqm-q.tar
--
Regards,
Max Carlson
OpenLaszlo.org