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

Reply via email to