title: taking output on console when running junit through ant script
body: <p>I am using ant script and running a junit, the problem I am facing is that I am unable to get the output on console, rather I get the output in a log file.</p>
  
  <p>how can I achieve that.. 
  I am using the following script.</p>
  
  <pre><code>&lt;target name="validate_mapping" description="Testing the Hibernate "&gt;
  
      &lt;path id="validator.classpath"&gt;
          &lt;fileset dir="${basedir}\lib"&gt;
              &lt;include name="Junit-Temp-Test.jar" /&gt;
          &lt;/fileset&gt;
      &lt;/path&gt;
  
      &lt;junit printsummary="yes"&gt;
          &lt;formatter type="plain"/&gt;
          &lt;test name="com.ofss.fc.junit.test.SampleTest" /&gt;
          &lt;classpath&gt;
              &lt;path refid="validator.classpath" /&gt;
              &lt;path refid="lib.ext.classpath" /&gt;
          &lt;/classpath&gt;
      &lt;/junit&gt;    
  &lt;/target&gt;
  </code></pre>