title: Ant build on InteliiJ Community Edition no compiler errors shown
body: <p>I have an existing project that I want to build in the IntelliJ Community Edition 11.1.4 running on Ubuntu 12.04.1 LTS</p>
  
  <p>In the Ant Build window I added the project's <code>build.xml</code> by clicking on the <kbd>+</kbd> button in the top left hand corner of the window and navigating to the file. The ant tasks associated with the build file are listed and I click on the green play button to run the ant build which commences as expected.</p>
  
  <p>I was expecting to see compiler errors and have IntelliJ CE present those compiler errors and allow me to Jump to (the offending) Source having double clicked on the errors in the Messages window. </p>
  
  <p>Instead, the messages window displays the following error which when I double-click on it takes me to the <code>javac</code> ant task in the <code>build.xml</code> file.</p>
  
  <pre><code>build.xml:389: Compile failed; see the compiler error output for details.
  </code></pre>
  
  <p>This is great advice and I very much want to follow it but I cannot because the compiler error is not displayed anywhere in the <strong>Messages</strong> window. Next and Previous Message do not navigate to an actual compiler error. </p>
  
  <p>I want to know how to be able to see the compiler error messages in IntelliJ having run an Ant build. </p>
  
  <p>I tried adding the -v flag to the Ant command line:field in Execution Properties. This made no difference to the behaviour.</p>
  
  <p>I then tried down grading from Ant 1.8 to Ant 1.7. this time I did see a change in behaviour. the build does not run at all and I get the following error <a href="https://gist.github.com/4073149" rel="noreferrer">https://gist.github.com/4073149</a> at the terminal. </p>
  
  <p>The <code>javac</code> ant task looks like this. </p>
  
  <pre><code>&lt;target name="compile-only" depends=""&gt;
      &lt;stopwatch name="Compilation"/&gt;
  &lt;javac destdir="${build.classes.dir}" debug="on" deprecation="off" 
         classpathref="base.path" excludes="/filtering/**/**"&gt;
      &lt;src path="${src.dir}"/&gt;
      &lt;src path="${build.autogen.dir}"/&gt;
  &lt;/javac&gt;
  &lt;!-- Copy all resource files to the output dir --&gt;
  &lt;copy todir="${build.classes.dir}"&gt;
      &lt;fileset dir="${src.dir}"&gt;
          &lt;include name="**/*.properties"/&gt;
          &lt;include name="**/*.gif"/&gt;
          &lt;include name="**/*.png"/&gt;
          &lt;include name="**/*.jpg"/&gt;
          &lt;include name="**/*.svg"/&gt;
          &lt;include name="**/*.jpeg"/&gt;
          &lt;exclude name="**/.svn"/&gt;
      &lt;/fileset&gt;
  &lt;/copy&gt;
  &lt;stopwatch name="Compilation" action="total"/&gt;
  </code></pre>
  
  <p></p>