It looks like the problem could be in the checkstyle ant task, or that your code doesn't compile. See:

http://sourceforge.net/tracker/index.php?func=detail&aid=696335&group_id=29721&atid=397078
http://sourceforge.net/tracker/index.php?func=detail&aid=555576&group_id=29721&atid=397078

There are recent-ish patches to ant that may have resolved these bugs.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17216
or not...(hard to tell, sounds like same bug to me)
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20264

One of the checkstyle bugs above suggests that there is a maven issue that could be resolved in the checkstyle plugin.jelly by changing the line that reads:
<goal name="checkstyle:init">


to read:
<goal name="checkstyle:init" prereqs="java:compile">

to ensure that your code actually compiles before you checkstyle it.

vipul vij wrote:

Sorry ..... but how do I do that ?

Vipul


-----Original Message-----


From: Incze Lajos <[EMAIL PROTECTED]>
Date: Thu Jun 05 14:19:44 BST 2003
To: Maven Users List <[EMAIL PROTECTED]>
Subject: Re: Re: Fw:Re: RE: Checkstyle Plugin - out of memory error


On Thu, Jun 05, 2003 at 02:11:59PM 0100, vipul vij wrote:

That is what I have been doing from the beginning : - ( I have been executing "maven checkstyle"

Can't see what the problem is with the plugin

Has anyone else experienced this problem ? Are there users out their using the checkstyle plugin on a 1/2

gig box ?



Regards,


Vipul


-----Original Message-----


From: Alexey Demakov <[EMAIL PROTECTED]>
Date: Thu Jun 05 13:19:22 BST 2003
To: Maven Users List <[EMAIL PROTECTED]>
Subject: Re: Fw:Re: RE: Checkstyle Plugin - out of memory error

You can try to run checkstyle by hands to be sure that the problem is in maven 
(plugin) or not.
Best regards,
Alexey

What Alexey said, to run checktyle on your codebase WITHOUT maven. incze --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to