Re: Re: Fw:Re: RE: Checkstyle Plugin - out of memory error

2003-06-06 Thread vipul vij
Hi Brian, 

> 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:
> 
> to read:
> 
> to ensure that your code actually compiles before you checkstyle it.

I have done this. When I invoke "maven checkstyle" I get " INTERNAL ERROR
reference made to goal 'java:compile' which has no definition" . When I execute the 
"java:compile" goal,
I get "BUILD SUCCESSFUL"

Regards, 

Vipul

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



Re: Re: Re: Fw:Re: RE: Checkstyle Plugin - out of memory error

2003-06-05 Thread vipul vij
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]



Re: Re: Fw:Re: RE: Checkstyle Plugin - out of memory error

2003-06-05 Thread Incze Lajos
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]



Re: Re: Fw:Re: RE: Checkstyle Plugin - out of memory error

2003-06-05 Thread vipul vij
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
> ---
> Alexey Demakov, ISP RAS
> www: http://redverst.ispras.ru
> e-mail: [EMAIL PROTECTED]
> ICQ 740187
> - Original Message - 
> From: "vipul vij" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, June 05, 2003 3:45 PM
> Subject: Fw:Re: RE: Checkstyle Plugin - out of memory error
> > >Subject: Re: RE: Checkstyle Plugin - out of memory error
> > 
> >  Hi,
> > 
> > Sorry I forgot to post on the mailing list
> >  
> >  283 classes
> >  Regards, 
> >  Vipul 
> > > -Original Message-
> > > >From: Vincent Massol <[EMAIL PROTECTED]>
> > > >Date: Thu Jun 05 12:34:51 BST 2003
> > > >To: 'Maven Users List' <[EMAIL PROTECTED]>
> > > >Subject: RE: Checkstyle Plugin - out of memory error
> > > > This is real strange unless you have a huge amount of classes. How many
> > > > classes do you have?
> > > > -Vincent
> > > > > -Original Message-
> > > > > From: Aaron Robinson [mailto:[EMAIL PROTECTED]
> > > > > Sent: 05 June 2003 13:10
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: RE: Checkstyle Plugin - out of memory error
> > > > > 
> > > > > Vince,
> > > > > 
> > > > > I suspect this won't help my cause: -
> > > > > 
> > > > > Changing the MAVEN_OPTS to use 1024 still results in an out of memory,
> > > > > even
> > > > > when limiting the goal to maven java:compile
> > > > > 
> > > > > I'm stuck with maven at the moment as I cannot compile the java
> > > > classes. I
> > > > > have tried various flavours of jdks to no avail, including the latest
> > > > > 1.4.2
> > > > > beta as suggested by sun.
> > > > > 
> > > > > I suspect this is not a JDK problem, but possibly a maven/ant one?
> > > > > 
> > > > > Aaron
> > > > > 
> > > > > 
> > > > > >From: "Vincent Massol" <[EMAIL PROTECTED]>
> > > > > >Reply-To: "Maven Users List" <[EMAIL PROTECTED]>
> > > > > >To: "'Maven Users List'" <[EMAIL PROTECTED]>
> > > > > >Subject: RE: Checkstyle Plugin - out of memory error
> > > > > >Date: Thu, 5 Jun 2003 12:21:49  0200
> > > > > >
> > > > > >BTW, I've committed a fix yesterday in CVS that allows you to change
> > > > the
> > > > > >memory without touching the maven.bat file. If you are working with
> > > > the
> > > > > >latest from CVS, simply create an environment variable named
> > > > MAVEN_OPTS
> > > > > >with a value of "-Xmx384m"
> > > > > >
> > > > > >-Vincent
> > > > > >
> > > > > > > -Original Message-
> > > > > > > From: vipul vij [mailto:[EMAIL PROTECTED]
> > > > > > > Sent: 05 June 2003 11:17
> > > > > > > To: [EMAIL PROTECTED]
> > > > > > > Subject: Checkstyle Plugin - out of memory error
> > > > > > >
> > > > > > > Hello to you all,
> > > > > > >
> > > > > > > I keep on getting the following out of memory error when I run the
> > > > > > > Checkstyle plugin. I have changed my
> > > > > > > maven.bat as follows (according to the suggestion made by Alexey
> > > > > >Demakov
> > > > > > > in the mailing list):
> > > > > > >
> > > > > > > ..
> > > > > > > @REM Reaching here means variables are defined and arguments have
> > > > been
> > > > > > > captured
> > > > > > > :endInit
> > > > > > > @REM commented out by Vipul on 5/0/03SET
> > > > > >MAVEN_DEFAULT_OPTS="-Xmx160m"
> > > > > > > @REM replaced with:
> > > > > > > SET MAVEN_OPTS="-Xmx384m"
> > > > > > > ...
> > > > > > >
> > > > > > > I have half a Gig memory and have tried this plugin on a different
> > > > box
> > > > > > > with 768 MB still getting the same
> > > > > > > error. : - (
> > > > > > >
> > > > > > > Output from command prompt:
> > > > > > >
> > > > > > > C:\MAVEN\projects\rapide>maven checkstyle
> > > > > > >  __  __
> > > > > > > |  \/  |__ _Apache__ ___
> > > > > > > | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > > > > > > |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10-SNAPSHOT
> > > > > > >
> > > > > > > checkstyle:init:
> > > > > > >
> > > > > > > checkstyle:license:
> > > > > > >
> > > > > > > checkstyle:report:
> > > > > > > [echo] Using C:\Documents and Settings\vipul
> > > > > >vij\.maven\plugins\maven-
> > > > > > > checks
> > > > > > > tyle-plugin-2.0-SNAPSHOT\plugin-resources/sun_checks.xml for
> > > > > >checkstyle
> > > > > > > ...
> > > > > > >
> > > > > > > BUILD FAILED
> > > > > > > file:C:/Documents and Settings/vipul
> > > > > >vij/.maven/plugins/maven-checkstyle-
> > > > > > > plugin-
> > > > > > > 2.0-SNAPSHOT/plugin-resources/chec