title: What's wrong with these Ant/JVM args?
body: <p>I am trying to run <a href="http://www.jboss.org/tattletale" rel="noreferrer">JBoss TattleTale</a> from an Ant buildfile. Usually I run it from the commandline like so:</p>
  
  <pre><code>java -Xmx512m -jar /home/myuser/jars/tattletale.jar /home/myuser/projects/lib /home/myuser/tmp/tt
  </code></pre>
  
  <p>where <code>/home/myuser/projects/src</code> is the source directory where all my JARs are, and where <code>/home/myuser/tmp/tt</code> is the output directory where I place all of TattleTale's reports.</p>
  
  <p>In the Ant buildfile I am using the following:</p>
  
  <pre><code>&lt;echo message="Running tattle-tale..."/&gt;
  &lt;java fork="true" failonerror="true" jar="/home/myuser/jars/tattletale.jar"&gt;
      &lt;arg value="Xmx512m"/&gt;
      &lt;arg value="/home/myuser/projects/lib"/&gt;
      &lt;arg value="/home/myuser/tmp/tt"/&gt;
  &lt;/java&gt;
  </code></pre>
  
  <p>When I run this target from the commandline:</p>
  
  <pre><code>run-tattletale:
      [echo] Running tattle-tale...
  
  BUILD SUCCESSFUL
  Total time: 3 seconds
  </code></pre>
  
  <p>When I go to <code>/home/myuser/tmp/tt</code> I don't see any output, however the Ant output shows <code>SUCCESS</code> with no errors or warnings. Do my <code>&lt;arg&gt;</code>s look correct, and if not, how should I change them? If they do look correct, what can I do to debug? Thanks in advance!</p>