Re: [Panopticode-users] JavaNCSS warnings
Status: Beta
Brought to you by:
jrshaw
From: Eric P. <ep...@op...> - 2007-07-28 01:56:48
|
Yeah, I ended up including a ton of exclude patterns, and it kept growing... Is there any reason not to just have the includes patter to be just .java (and maybe .groovy??) out of the box? Eric On Jul 27, 2007, at 5:39 PM, mor...@gm... wrote: > 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" /> > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Panopticode-users mailing list > Pan...@li... > https://lists.sourceforge.net/lists/listinfo/panopticode-users ------------------------------------------------------- Principal OpenSource Connections Site: http://www.opensourceconnections.com Blog: http://blog.opensourceconnections.com Cell: 1-434-466-1467 |