[Laszlo-dev] how to catch the Flex compiler Errors?
P T Withington
ptw at pobox.com
Fri Jul 24 11:10:24 PDT 2009
Henry and Raju have given lots of hints. I'll just add that when you
find out the cause, please file a bug if you can. Clearly we would
like this not to happen.
On Jul 24, 2009, at 7:28, Sebastian Wagner <seba.wagner at gmail.com>
wrote:
> hi,
>
> actually you run into a lot of compilation issues when you run a
> previous application into SWF9.
> I followed the SWF9 Migration Guide of course, the code has zero
> problems to be compiled to SWF8.
> I guess in most cases its something very tiny tricky in the code
> that needs to be changed but actually you don't get anything except
> *org.openlaszlo.sc.CompilerError: Errors from compiler, output file
> not created*
> The console does also only pring:
> FAIL: compiler returned 1 ... or another number
>
> So how do you get those Compile Errors?
> I guess they are not really that handy as they will show you only
> errors in the resulting ActionScript that is going to be compiled by
> the Flex compiler.
> So you will not see which LZX-Codeline has the error.
> But without any notice at which code-block to look at its almost
> impossible to migrate more then a bunch of code lines with every
> compilation.
>
> I've seen that there are some properties in the configuration:
> compiler.swf9.warnings=false
> compiler.swf9.execflex=true
> # Tell compiler to catch errors in debug mode
> compiler.catcherrors=true
>
> changing them does seem to have an effect.
>
> Is there a clue that is hidden somewhere or how do you judge what
> needs to be done when you run into this?
>
> thanks,
> sebastian
>
> --
> Sebastian Wagner
> http://www.webbase-design.de
> http://openmeetings.googlecode.com
> http://www.laszlo-forum.de
> seba.wagner at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20090724/5ab75ea7/attachment.html
More information about the Laszlo-dev
mailing list