Note - this changeset modified from before.
Phil requested handling LzAudio => lz.Audio, so he gets to review,
Tucker, you're off the hook unless you want to take a look.
Note the script name has changed (convert_required.pl).
Change 20080701-dda-M by [EMAIL PROTECTED] on 2008-07-01 10:35:26 EDT
in /Users/dda/laszlo/src/svn/openlaszlo/trunk-doc2
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Add script for converting 'new classname' => 'new
lz.classname' in .lzx fils
New Features:
Bugs Fixed:
Technical Reviewer: promanik (pending)
QA Reviewer: [EMAIL PROTECTED] (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Script selectively converts 'new' and 'instanceof'.
Changeset modified to also map LzAudio => lz.Audio, etc.
Since this does more than instantiation, and handles all
required changes, changed the name to convert_required.pl
Documentation about usage and implementation should
be fully contained in script.
Tests:
1) ran builtin test cases:
$ perl WEB-INF/lps/server/bin/convert_required.pl -t
compared changes to test files via:
$ sdiff /tmp/convtest{,.bak}
2) ran on some 'real' files:
$ cd test; perl ../WEB-INF/lps/server/bin/convert_required.pl
`grep -l new *.lzx`
compared changes made.
Files:
A WEB-INF/lps/server/bin/convert_required.pl
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080701-dda-M.tar
--
Don Anderson
Java/C/C++, Berkeley DB, systems consultant
voice: 617-547-7881
email: [EMAIL PROTECTED]
www: http://www.ddanderson.com