JSP编译失败,ant failonerror也失败了

时间:2013-05-16 08:20:50

标签: jsp ant weblogic-10.x

为了解决问题,我已阅读有关"OutOfMemoryError: GC overhead limit exceeded"和其他有用回复的回复,因此问题的重点不在于OutOfMemory错误,而是为什么ant failonerror="true"似乎没有陷阱失败了?

<java fork="true" dir="${deployDir}/jspc" classname="weblogic.appc" classpathref="appc.classpath" failonerror="true" >
   <jvmarg line="-Xms1024M -Xmx1636M"/>
   <arg line="-forceGeneration -verbose -deprecation ${sourceDir}/html"/>
</java>

日志显示:

[java] Exception encountered while compiling /source/html/future_requests/confirmation.jsp
[java] java.lang.OutOfMemoryError: GC overhead limit exceeded
[java]     at com.bea.core.repackaged.jdt.internal.compiler.flow.FlowContext.checkExceptionHandlers(FlowContext.java:206)
...
[java] Exception encountered while compiling /source/html/future_requests/confirmation.jsp
[java] java.lang.OutOfMemoryError: GC overhead limit exceeded
[java] Exception encountered while compiling /source/html/future_requests/confirmation.jsp
[java] java.lang.OutOfMemoryError: GC overhead limit exceeded
[java] <May 16, 2013 4:48:54 AM UTC> <Info> <J2EE> <BEA-160220> <Compilation completed successfully>

蚂蚁似乎很乐意继续执行构建指令。 有关为什么蚂蚁没有失败的建议?如何让蚂蚁保释?

由于

0 个答案:

没有答案