[Laszlo-dev] proposal for setting compiler options

Donald Anderson dda at ddanderson.com
Tue Jan 13 12:31:09 PST 2009


If this includes url encoded options (?debug=true&runtime=dhtml)
then you should look at this for thoughts on encoding that:

   http://www.openlaszlo.org/jira/browse/LPP-3479

In any case, it will be well worth the effort to unify any of this we  
can.

- Don

On Jan 13, 2009, at 2:47 PM, Henry Minsky wrote:

> Here's how I propose to make the compiler options work.
>
> [A] CompilationEnvironment will have a list of all compiler options,
> with default values
>
> [B] command line compiler or servlet compiler will create a list of
> options for any values that are explicitly
> supplied. No default values will be set by the command line compiler
> main method, or by the servlet responseCompile
> main method. All default values are set in one place, [A].
>
> [C] The tag compiler will peek any values it can from the <canvas> tag
> (either the old 'debug' attribute, or
> the new 'compileroptions' attribute), and override any default
> compiler options from [A]. So the app DOM is
> parsed but yet compiled.
>
> [D] Any explicitly supplied values from [B] will then be used to
> override option values
>
> Then the compilation gets done.
>
>
> -- 
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com


--

Don Anderson
Java/C/C++, Berkeley DB, systems consultant

voice: 617-306-2057
email: dda at ddanderson.com
www: http://www.ddanderson.com





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20090113/9a003246/attachment.html


More information about the Laszlo-dev mailing list