Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy javac task does not creates classes
    text
    copied!<p>I have an ant task that contains javac task inside. It reports about error in one of the classes, but the build doesn't fail, because it has failonerror="false". I suppose to see class files in the end of build, but I don't see it. Can anybody tell me why?</p> <p>Properties used:</p> <pre><code>checkout.path=work/workingcopy classpath.path=work/build/classes log.file=work/log.txt </code></pre> <p>Ant code:</p> <pre><code>&lt;record name="${log.file}" action="start"/&gt; &lt;javac destdir="${classpath.path}" srcdir="${checkout.path}/src" debug="true" failonerror="false"&gt; &lt;classpath&gt; &lt;path refid="webinf.lib"/&gt; &lt;path refid="tomcat.lib"/&gt; &lt;/classpath&gt; &lt;/javac&gt; &lt;record name="${log.file}" action="stop"/&gt; </code></pre> <p>Log file:</p> <pre><code>[javac] Compiling 169 source files to C:\work\build\classes [javac] C:\work\workingcopy\src\com\mycompany\exception\handlerException\CustomExceptionHandler.java:25: cannot find symbol [javac] symbol : class RequestContextImpl [javac] location: package org.primefaces.context [javac] import org.primefaces.context.RequestContextImpl; [javac] ^ [javac] C:\work\workingcopy\src\com\mycompany\exception\handlerException\CustomExceptionHandler.java:103: cannot find symbol [javac] symbol : class RequestContextImpl [javac] location: class com.mycompany.exception.handlerException.CustomExceptionHandler [javac] new RequestContextImpl(ec); [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 2 errors [javac] Compile failed; see the compiler error output for details. </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload