Hi,
I've downloaded checkstyle and I'm trying to run it from a command line, but it doesn't work for me. What am I doing wrong:
r:\Work>java -cp c:\Downloads\checkstyle-6.7-all.jar com.puppycrawl.tools.checkstyle.Main -c sun_checks.xml -o log.txt DemoApp
Could not find file 'log.txt'.
r:\Work>java -cp c:\Downloads\checkstyle-6.7-all.jar com.puppycrawl.tools.checkstyle.Main -c sun_checks.xml DemoApp
Checkstyle ends with 1 errors.
r:\Work>java -cp c:\Downloads\checkstyle-6.7-all.jar com.puppycrawl.tools.checkstyle.Main -c sun_checks.xml DemoApp\SomeCode\src\org\cezariusz\demo\app\code\DemoClass.java
Checkstyle ends with 1 errors.
Cezariusz