[Panopticode-users] JavaNCSS warnings
Status: Beta
Brought to you by:
jrshaw
From: <mor...@gm...> - 2007-07-28 00:38:57
|
OK, keep this quiet, but I have some non-java files in my source directory. JavaNCSS tries to process them and spits out some warnings like [javancss] Encountered "0" at line 1, column 1. [javancss] Was expecting one of: [javancss] <EOF> [javancss] "abstract" ... [javancss] "class" ... [javancss] "enum" ... [javancss] "final" ... [javancss] "import" ... [javancss] "interface" ... [javancss] "native" ... [javancss] "package" ... [javancss] "private" ... [javancss] "protected" ... [javancss] "public" ... [javancss] "static" ... [javancss] "strictfp" ... [javancss] "synchronized" ... [javancss] "transient" ... [javancss] "volatile" ... [javancss] ";" ... [javancss] "@" ... If you'd like to have no warnings displayed, you can update the ant call in javancss-imports.xml to use includes="**/*.java". Like: <javancss srcdir="@{srcDir}" includes="**/*.java" generateReport="true" outputfile="@{outputDir}/rawmetrics/xml/javancss.xml" format="xml" /> |