I think this is the same problem as MJNCSS-16 [1], which has the following 
comment:

> Thanks for the report.
> Unfortunatly, as of today, we can't do much since the problem lies within 
> javancss core library, beside sending a bug report to the original author of 
> javancss : 
> http://www.kclee.de/clemens/java/javancss/
> Btw we are using the latest available version of it (28.49).

Hth,

Nick Stolwijk

[1] http://jira.codehaus.org/browse/MJNCSS-16

-----Original Message-----
From: Thomas Tardy [mailto:[EMAIL PROTECTED]
Sent: Fri 2/1/2008 1:35 PM
To: Maven Users List
Subject: Re: Count line of code
 
I'm using beta-2 and yes, we are using annotations.

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

> 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