Hi,

I posted a fix for this along with a new FAQ, but it hasn't appeared on the
site yet!  Basically you need to add the following line at the beginning of
maven.bat / .sh

        SET MAVEN_OPTS=-Xmx128m

Cheers,

        Mike

(See attached file: faq.xml)





"Ismael Blesa Part" <[EMAIL PROTECTED]> on 04/12/2002 11:46:04

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



To:   [EMAIL PROTECTED]
cc:
Subject:  checkstyle plugin error

When calling maven site:generate or maven checkstyle:generate_report I
get the following errors.
I am using B7



init-dvsl-tag:
checkstyle:generate-report:
     [echo] Using
/usr/maven/plugins/maven-checkstyle-plugin-1.1/sun-checkstyle.properties
for checkstyle ...
Loading stylesheet
/usr/maven/plugins/maven-checkstyle-plugin-1.1/checkstyle.dvsl
In file /workspace/project/bin/target/checkstyle-raw-report.xml time:
1038992231000
Out file
/workspace/project/bin/target/generated-xdocs/checkstyle-report.xml time: 0
Style file
/usr/maven/plugins/maven-checkstyle-plugin-1.1/checkstyle.dvsl time:
1033418120000
Processing /workspace/project/bin/target/checkstyle-raw-report.xml to
/workspace/project/bin/target/generated-xdocs/checkstyle-report.xml
Error parsing
/workspace/project/src/com/test/logic/logicManagedException.java:
java.io.IOException: Unable to identify class name in source file:
'/workspace/project/src/com/test/logic/logicManagedException.java'.
and the error is showed for a large number of files
and on the end it shows
Failed to process /workspace/project/bin/target/checkstyle-raw-report.xml
-----------------------------------------
WARNING: failed to process
/workspace/project/bin/target/checkstyle-raw-report.xml
-----------------------------------------
Invocation of method 'applyTemplates' in  class
org.apache.tools.dvsl.Transformer threw exception class
java.lang.OutOfMemoryError : null


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




Attachment: faq.xml
Description: Binary data

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

Reply via email to