I am trying to run JBoss TattleTale from an Ant buildfile. Usually I run it from the commandline like so:
java -Xmx512m -jar /home/myuser/jars/tattletale.jar /home/myuser/projects/lib /home/myuser/tmp/tt
where /home/myuser/projects/src
is the source directory where all my JARs are, and where /home/myuser/tmp/tt
is the output directory where I place all of TattleTale's reports.
In the Ant buildfile I am using the following:
<echo message="Running tattle-tale..."/>
<java fork="true" failonerror="true" jar="/home/myuser/jars/tattletale.jar">
<arg value="Xmx512m"/>
<arg value="/home/myuser/projects/lib"/>
<arg value="/home/myuser/tmp/tt"/>
</java>
When I run this target from the commandline:
run-tattletale:
[echo] Running tattle-tale...
BUILD SUCCESSFUL
Total time: 3 seconds
When I go to /home/myuser/tmp/tt
I don't see any output, however the Ant output shows SUCCESS
with no errors or warnings. Do my <arg>
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!