Hi,

I've had Checkstyle fail when the number of errors is large, due to the
OutOfMemoryError you describe.  Try making the heap larger by adding the
following line to maven.bat

SET MAVEN_OPTS=-Xmx128m

Also try not using Sun's rules - we got 50,000 errors!  Turbine's are a
little more flexible - just the 10,000  ;)

Good luck!

     Mike





Grace Li <[EMAIL PROTECTED]> on 18/09/2002 17:27:16

Please respond to "Turbine Maven Users List"
      <[EMAIL PROTECTED]>



To:   "'Turbine Maven Users List'" <[EMAIL PROTECTED]>
cc:
Subject:  an error message about checkstyle

Hi,

I 'm using maven HEAD built today. The error message came after 'maven
site:deploy'

Processing /tmp/myproj/target/generated-xdocs/checkstyle-report.xml to
/tmp/myproj/target/docs
/checkstyle-report.html
Failed to process /tmp/myproj/target/generated-xdocs/checkstyle-report.xml
-----------------------------------------
WARNING: failed to process
/tmp/myproj/target/generated-xdocs/checkstyle-report.xml
-----------------------------------------
Invocation of method 'applyTemplates' in  class
org.apache.tools.dvsl.Transformer threw except
ion class org.apache.velocity.exception.MethodInvocationException :
Invocation of method 'appl
yTemplates' in  class org.apache.tools.dvsl.Transformer threw exception
class org.apache.veloc
ity.exception.MethodInvocationException : Invocation of method
'applyTemplates' in  class org.
apache.tools.dvsl.Transformer threw exception class
java.lang.OutOfMemoryError : null
In file /tmp/myproj/target/generated-xdocs/changelog.xml time:
1032364333000
Out file /tmp/myproj/target/docs/changelog.html time: 0

Under what condition, checkstyle will fail?

thanks,
Grace






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

Reply via email to