I guess your problem is caused by annotations:

> Encountered "@" at line 71, column 17.

What version of the plugin are you using? There seems to be a beta-1 and a 
beta-2. The beta-2 has better annotation support.

Hth,

Nick Stolwijk

-----Original Message-----
From: Thomas Tardy [mailto:[EMAIL PROTECTED]
Sent: Fri 2/1/2008 11:27 AM
To: Maven Users List
Subject: Re: Count line of code
 
Hello Nick,

I get the following error:
[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

On Feb 1, 2008 10:20 AM, Erez Nahir <[EMAIL PROTECTED]> wrote:

> And: http://mojo.codehaus.org/javancss-maven-plugin/
>
> Erez.
>
> On Feb 1, 2008 10:30 AM, <[EMAIL PROTECTED]> wrote:
>
> > Yes, there is. Take a look at the StatSCM Maven Plugin [1].
> >
> > Hth,
> >
> > Nick Stolwijk
> >
> > [1] http://stat-scm.sourceforge.net/
> >
> >
> > -----Original Message-----
> > From: Thomas Tardy [mailto:[EMAIL PROTECTED]
> > Sent: Fri 2/1/2008 9:24 AM
> > To: Maven Users List
> > Subject: Count line of code
> >
> > Hi all,
> >
> > is there a convenient way to count the line of codes during the maven
> > build?
> >
> > Kind Regards,
> > Thomas
> >
> >
>

Reply via email to