Change 20061129-ptw-o by [EMAIL PROTECTED] on 2006-11-29
17:31:11 EST
in /Users/ptw/OpenLaszlo/legals-1/WEB-INF/lps
Summary: Return an exit code from lzc
Bugs Fixed:
LPP-2537 'lzc does not set an exit code'
Technical Reviewer: henry (pending)
QA Reviewer: [EMAIL PROTECTED] (pending)
Doc Reviewer: n/a
Details:
I could swear I fixed this once before. This time for sure.
Tests:
[EMAIL PROTECTED] legals-1 17:30:39]$ lzc test/hello.lzx
Compilation errors occurred:
hello.lzx:2:10: Content is not allowed in trailing section.
org.openlaszlo.compiler.CompilationError: hello.lzx:2:10:
Content is not allowed in trailing section.
at org.openlaszlo.compiler.Parser.parse(Parser.java:607)
at org.openlaszlo.compiler.Compiler.compile
(Compiler.java:331)
at org.openlaszlo.compiler.Compiler.compile
(Compiler.java:171)
at org.openlaszlo.compiler.Main.compile(Main.java:235)
at org.openlaszlo.compiler.Main.lzc(Main.java:211)
at org.openlaszlo.compiler.Main.main(Main.java:77)
[EMAIL PROTECTED] legals-1 17:30:47]$ echo $?
2
Files:
M server/src/org/openlaszlo/compiler/Main.java
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20061129-ptw-
o.tar