Thanks for the hint. I solved the problem!

Regards,
Thomas

On Feb 1, 2008 12:20 PM, Simon Brandhof <[EMAIL PROTECTED]> wrote:

> Hello,
>
> JavaNCSS does not manage Java annotations from method bodies.  This issue
> is already referenced : http://jira.codehaus.org/browse/MJNCSS-16. The
> problem comes from the JavaNCSS core library, not from the maven plugin.
>
> The only short-term workaround is : remove annotations from method bodies
> !
>
> Simon
>
>
> On Fri, Feb 1, 2008 at 11:33 AM, Thomas Tardy <[EMAIL PROTECTED]>
> wrote:
>
> > Hi all,
> >
> > I get the following error running the 2.0-beta-2.
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Error during page generation
> >
> > Embedded error: Error rendering Maven report: Error while JavaNCSS was
> > executing
> >
> > Encountered "@" at line 71, column 17.
> > Was expecting one of:
> >     "assert" ...
> >     "boolean" ...
> >     "break" ...
> >     "byte" ...
> >     "char" ...
> >     "class" ...
> >     "continue" ...
> >     "do" ...
> >     "double" ...
> >     "enum" ...
> >     "false" ...
> >     "final" ...
> >     "float" ...
> >     "for" ...
> >     "if" ...
> >     "int" ...
> >     "interface" ...
> >     "long" ...
> >     "new" ...
> >     "null" ...
> >     "return" ...
> >     "short" ...
> >     "super" ...
> >     "switch" ...
> >     "synchronized" ...
> >     "this" ...
> >     "throw" ...
> >     "true" ...
> >     "try" ...
> >     "void" ...
> >     "while" ...
> >     <INTEGER_LITERAL> ...
> >     <FLOATING_POINT_LITERAL> ...
> >     <CHARACTER_LITERAL> ...
> >     <STRING_LITERAL> ...
> >     <IDENTIFIER> ...
> >     "(" ...
> >     "{" ...
> >     "}" ...
> >     ";" ...
> >     "++" ...
> >     "--" ...
> >
> > Any idea what the problem could be?
> >
> > Regards,
> > Thomas
> >
> >
>
>
> --
> Hortis SA, Department Consulting and Innovation
> +41 78 653 09 49
>
> Sonar , Open Source Quality Dashboard for Java projects
> Try 1.1 BETA1 at http://sonar.hortis.ch

Reply via email to