You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mi...@jpmorgan.com on 2002/12/04 12:45:20 UTC
Re: checkstyle plugin error
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" <ib...@tissat.es> on 04/12/2002 11:46:04
Please respond to "Turbine Maven Users List"
<tu...@jakarta.apache.org>
To: turbine-maven-user@jakarta.apache.org
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:turbine-maven-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <
mailto:turbine-maven-user-help@jakarta.apache.org>
Re: checkstyle plugin error
Posted by Ismael Blesa Part <ib...@tissat.es>.
I have tried changing it to 256 and 512 with no success.
The messages received are :
maven site:generate
jxr:
junit-report:
init-dvsl-tag:
junit-report:generate:
tasklist:
tasklist:generate:
Non-fatal error while parsing file:
/workspace/project/src/com/logic/test/TestConstants.java
Non-fatal error while parsing file:
/workspace/project/src/com/logic/test/LogicConstants.java
Non-fatal error while parsing file:
/workspace/project/src/com/logic/test/Main.java
init-texen-tag:
xdoc:generate-from-pom:
Generating to file
/workspace/project/target/generated-xdocs/xdocs.report
init-dvsl-tag:
xdoc:transform:
Loading stylesheet /usr/maven/plugins/maven-xdoc-plugin-1.2/site.dvsl
Transforming into /workspace/project/target/docs
In file /workspace/project/target/generated-xdocs/jdepend-report.xml
time: 1039006033000
Out file /workspace/project/target/docs/jdepend-report.html time:
1039005585000
Style file /usr/maven/plugins/maven-xdoc-plugin-1.2/site.dvsl time:
1033418106000
Processing /workspace/project/target/generated-xdocs/jdepend-report.xml
to /workspace/project/target/docs/jdepend-report.html
Processed /workspace/project/target/generated-xdocs/jdepend-report.xml
in 7501 ms.
In file /workspace/project/target/generated-xdocs/changelog.xml time:
1039006411000
Out file /workspace/project/target/docs/changelog.html time: 1039005586000
Style file /usr/maven/plugins/maven-xdoc-plugin-1.2/site.dvsl time:
1033418106000
Processing /workspace/project/target/generated-xdocs/changelog.xml to
/workspace/project/target/docs/changelog.html
Processed /workspace/project/target/generated-xdocs/changelog.xml in 431 ms.
In file /workspace/project/target/generated-xdocs/activity-log.xml time:
1039006482000
Out file /workspace/project/target/docs/activity-log.html time:
1039005586000
Style file /usr/maven/plugins/maven-xdoc-plugin-1.2/site.dvsl time:
1033418106000
Processing /workspace/project/target/generated-xdocs/activity-log.xml to
/workspace/project/target/docs/activity-log.html
Processed /workspace/project/target/generated-xdocs/activity-log.xml in
463 ms.
In file
/workspace/project/target/generated-xdocs/file-activity-report.xml time:
1039006483000
Out file /workspace/project/target/docs/file-activity-report.html time:
1039005587000
Style file /usr/maven/plugins/maven-xdoc-plugin-1.2/site.dvsl time:
1033418106000
Processing
/workspace/project/target/generated-xdocs/file-activity-report.xml to
/workspace/project/target/docs/file-activity-report.html
Processed
/workspace/project/target/generated-xdocs/file-activity-report.xml in
370 ms.
In file /workspace/project/target/generated-xdocs/index.xml time:
1039006762000
Out file /workspace/project/target/docs/index.html time: 1039005587000
Style file /usr/maven/plugins/maven-xdoc-plugin-1.2/site.dvsl time:
1033418106000
Processing /workspace/project/target/generated-xdocs/index.xml to
/workspace/project/target/docs/index.html
Processed /workspace/project/target/generated-xdocs/index.xml in 293 ms.
In file /workspace/project/target/generated-xdocs/team-list.xml time:
1039006762000
Out file /workspace/project/target/docs/team-list.html time: 1039005588000
Style file /usr/maven/plugins/maven-xdoc-plugin-1.2/site.dvsl time:
1033418106000
Processing /workspace/project/target/generated-xdocs/team-list.xml to
/workspace/project/target/docs/team-list.html
Processed /workspace/project/target/generated-xdocs/team-list.xml in 348 ms.
In file /workspace/project/target/generated-xdocs/project-info.xml time:
1039006762000
Out file /workspace/project/target/docs/project-info.html time:
1039005588000
Style file /usr/maven/plugins/maven-xdoc-plugin-1.2/site.dvsl time:
1033418106000
Processing /workspace/project/target/generated-xdocs/project-info.xml to
/workspace/project/target/docs/project-info.html
Processed /workspace/project/target/generated-xdocs/project-info.xml in
299 ms.
In file /workspace/project/target/generated-xdocs/maven-reports.xml
time: 1039006762000
Out file /workspace/project/target/docs/maven-reports.html time:
1039005588000
Style file /usr/maven/plugins/maven-xdoc-plugin-1.2/site.dvsl time:
1033418106000
Processing /workspace/project/target/generated-xdocs/maven-reports.xml
to /workspace/project/target/docs/maven-reports.html
Processed /workspace/project/target/generated-xdocs/maven-reports.xml in
287 ms.
In file /workspace/project/target/generated-xdocs/mail-lists.xml time:
1039006762000
Out file /workspace/project/target/docs/mail-lists.html time: 1039005589000
Style file /usr/maven/plugins/maven-xdoc-plugin-1.2/site.dvsl time:
1033418106000
Processing /workspace/project/target/generated-xdocs/mail-lists.xml to
/workspace/project/target/docs/mail-lists.html
Processed /workspace/project/target/generated-xdocs/mail-lists.xml in
278 ms.
In file /workspace/project/target/generated-xdocs/dependencies.xml time:
1039006762000
Out file /workspace/project/target/docs/dependencies.html time:
1039005589000
Style file /usr/maven/plugins/maven-xdoc-plugin-1.2/site.dvsl time:
1033418106000
Processing /workspace/project/target/generated-xdocs/dependencies.xml to
/workspace/project/target/docs/dependencies.html
Processed /workspace/project/target/generated-xdocs/dependencies.xml in
311 ms.
In file /workspace/project/target/generated-xdocs/checkstyle-report.xml
time: 1039006317000
Out file /workspace/project/target/docs/checkstyle-report.html time: 0
Style file /usr/maven/plugins/maven-xdoc-plugin-1.2/site.dvsl time:
1033418106000
Processing
/workspace/project/target/generated-xdocs/checkstyle-report.xml to
/workspace/project/target/docs/checkstyle-report.html
Failed to process
/workspace/project/target/generated-xdocs/checkstyle-report.xml
-----------------------------------------
WARNING: failed to process
/workspace/project/target/generated-xdocs/checkstyle-report.xml
-----------------------------------------
Invocation of method 'applyTemplates' in class
org.apache.tools.dvsl.Transformer threw exception class
org.apache.velocity.exception.MethodInvocationException : Invocation of
method 'applyTemplates' in class org.apache.tools.dvsl.Transformer
threw exception class java.lang.OutOfMemoryError : null
[copy] Copying 5 files to /workspace/project/target/docs/style
[copy] Copying 9 files to /workspace/project/target/docs/images
xdoc:
BUILD SUCCESSFUL
Total time: 30 minutes 46 seconds
Ismael Blesa Part wrote:
> On my maven file for B7 I have already this setting
>
> FOREHEAD_VERSION=1.0-beta-4
>
> MAVEN_OPTS="-Xmx128m"
>
> if [ -f "$HOME/.mavenrc" ] ; then
> . $HOME/.mavenrc
> fi
>
>
> Michael.J.Brown@jpmorgan.com wrote:
>
>> 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" <ib...@tissat.es> on 04/12/2002 11:46:04
>>
>> Please respond to "Turbine Maven Users List"
>> <tu...@jakarta.apache.org>
>>
>>
>>
>> To: turbine-maven-user@jakarta.apache.org
>> 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:turbine-maven-user-unsubscribe@jakarta.apache.org>
>> For additional commands, e-mail: <
>> mailto:turbine-maven-user-help@jakarta.apache.org>
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> --
>> To unsubscribe, e-mail:
>> <ma...@jakarta.apache.org>
>> For additional commands, e-mail:
>> <ma...@jakarta.apache.org>
>>
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
Re: checkstyle plugin error
Posted by Ismael Blesa Part <ib...@tissat.es>.
On my maven file for B7 I have already this setting
FOREHEAD_VERSION=1.0-beta-4
MAVEN_OPTS="-Xmx128m"
if [ -f "$HOME/.mavenrc" ] ; then
. $HOME/.mavenrc
fi
Michael.J.Brown@jpmorgan.com wrote:
>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" <ib...@tissat.es> on 04/12/2002 11:46:04
>
>Please respond to "Turbine Maven Users List"
> <tu...@jakarta.apache.org>
>
>
>
>To: turbine-maven-user@jakarta.apache.org
>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:turbine-maven-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <
>mailto:turbine-maven-user-help@jakarta.apache.org>
>
>
>
>
>
>
>------------------------------------------------------------------------
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>