Unable to successfully run CheckStyle in build.xml
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 on stackoverflow), but when I ant build the file (terminal command ant compile jar run), strange stuff happens. I get this whenever I make a small change to the file TeamRegisterPost.java (i.e. whether or not correct spacing or incorrect spacing):
[javac] Compiling 1 source file to /home/lakers/NoteTaker/build/classes
[javac] Note: /home/lakers/NoteTaker/src/TeamRegisterPost.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[jar] Building jar: /home/lakers/NoteTaker/build/jar/lakers.jar
[java] The response code is: 200
Total time: 1 second
I think I've inserted the packages in the correct directories. My directory layout is:
Here is part of my buildfile code:
If anything I said is unclear, please let me know and I will try to clarify. Your help is greatly appreciated. :)
I don't think this has to do with xml, except as a side function. It sounds much more about Java and that should be posted here http://www.codingforums.com/forumdisplay.php?f=54 so people that can help will read it.
|All times are GMT +1. The time now is 04:37 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.