I am having trouble with adding checkstyle to my build file. I have been attempting to follow the tutorial at http://checkstyle.sourceforge.net/anttask.html as well as look at examples of code that use checkstyles and find solutions to my problem (such as No output from Checkstyle in ANT), but when I ant build the file (terminal command ant compile jar run), nothing along the lines of checkstyle seems to happen. I think I've inserted the packages in the correct directories. Here is part of my buildfile code:
<property name="checkstyle.dir" location="home/lakers/NoteTaker/analysis/bin/checkstyle-5.6" />
...
<target name="checkstyle">
<taskdef resource="checkstyletask.properties">
<classpath>
<pathelement location="home/lakers/NoteTaker/analysis/bin"/>
<pathelement location ="home/lakers/NoteTaker/analysis/bin/checkstyle-5.6/checkstyle-5.6-all.jar"/>
</classpath>
</taskdef>
<echo>Starting checkstyle</echo>
<checkstyle config="sun_checks.xml" failOnViolation="false">
<fileset dir="src" includes="**/*.java"/>
<fileset dir="NoteTaker/NoteTaker/src/notetaker" includes="**/*.java"/>
<formatter type="plain"/>
</checkstyle>
<echo>Checkstyle finished</echo>
</target>
If anything I said is unclear, please let me know and I will try to clarify. Your help is greatly appreciated. :)