I thought I fixed that, but apparently not. I just sent a changeset
out for review. You should be able to apply the diff in the
changeset to get it to work if you are not working with the nightly
builds.
On 2006-11-29, at 16:51 EST, Jim Grandy wrote:
I believe this is filed in JIRA as http://www.openlaszlo.org/jira/
browse/LPP-2537, lzc does not set an exit code.
On Nov 29, 2006, at 1:41 PM, ravipati raja wrote:
I have lzc setup as a java task with failonerror
attribute set to true. Still the task does not report
a failure even when the laszlo compiler finds some
errors. Here's the java task...
<java classname="org.openlaszlo.compiler.Main"
failonerror="true"
fork="true"
maxmemory="1024M"
<env key="LPS_HOME" path="${basedir}/laszlo"/>
<jvmarg value="-DLPS_HOME=${basedir}/laszlo"/>
<arg value="--runtime=swf8"/>
<arg value="${basedir}\src\web\main.lzx"/>
<classpath>
<fileset dir="${basedir}\laszlo\WEB-INF\lib">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${basedir}\lib">
<include name="**/*.jar"/>
</fileset>
<fileset
dir="${basedir}\laszlo\WEB-INF\classes">
<include name="**/*.*"/>
</fileset>
<path refid="maven.dependency.classpath" />
</classpath>
</java>
any suggestions on how to make the build report a
failure when there are errors compiling the laszlo
code will be greatly appreciated.
Thanks,
r.
_____________________________________________________________________
_______________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com