[Laszlo-dev] For Review: Change 20090304-hqm-b Summary: make --keepscriptcache option not print 'deprecated' warning

Henry Minsky henry.minsky at gmail.com
Wed Mar 4 07:17:51 PST 2009


OK I propose we default to preserve the cache, because it looks like
lots of people are using lzc.

We should get rid of --keepscriptcache, and only have the
--flush-script-cache option, and it can take an optional boolean arg
to make the behavior explicit if desired.

I'll make an option in lps.properties to control the default sense of
the flag. Maybe something named "compiler.scache.persist=true" or
something.









On Wed, Mar 4, 2009 at 10:11 AM, P T Withington <ptw at laszlosystems.com> wrote:
> [Later]
>
> Actually, if this was only changed for compiler development, then I suggest
> we put it back.  It would be nice to have just a single flag with a
> parameter, and perhaps the default default could come from the environment
> or a .properties file if the default needs to be different for LZX
> developers and compiler developers.
>
> ---
>
> Approved as far as it goes, but, it would be nice to know when/why this was
> changed.  And <gak /> why do we have two flags with different hyphenation
> convention --keepscriptcache and --flush-script-cache ?  Shouldn't there
> just be one flag with a parameter?
>
> On 2009-03-04, at 10:04EST, Henry Minsky wrote:
>
>> Change 20090304-hqm-b by hqm at badtzmaru.home on 2009-03-04 10:03:05 EST
>>  in /Users/hqm/openlaszlo/trunk6
>>  for http://svn.openlaszlo.org/openlaszlo/trunk
>>
>> Summary: make --keepscriptcache option not print 'deprecated' warning
>>
>> New Features:
>>
>> Bugs Fixed: LPP-7699
>>
>> Technical Reviewer: ptw
>> QA Reviewer: (pending)
>> Doc Reviewer: (pending)
>>
>> Documentation:
>>
>> Release Notes:
>>
>> Details:
>>
>> The lzc usage message about --keepscriptcache is wrong, it is not the
>> default behavior
>>
>>
>>
>>
>> Tests:
>>
>> Files:
>>
>> M      WEB-INF/lps/server/src/org/openlaszlo/compiler/Main.java
>>
>> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20090304-hqm-b.tar
>
>



-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com



More information about the Laszlo-dev mailing list