Hi all,
Anyone have ideas on how to get around this error? Looks like out of memory, but I've
never had to tune this before. I got this when I was executing 'ant -f
build-maven.xml maven:site' on the Turbine build from CVS (trying to test the
documentation changes...) The machine that I am doing the build on never gets close
to full use of the physical memory of the machine.
This is with Maven from CVS, checked out yesterday. Should I be using release
binaries or something?
TIA,
Brian
++++++++++++++++++++++++++++++++++++++++++
generate-xdocs:
[create-xdocs] Generating to file
C:\dev\apache\jakarta-turbine-2\target\generated-xdocs\xdocs.report
docs:site:
[dvsl] Loading stylesheet C:\dev\apache\maven-build\stylesheets\site.dvsl
[dvsl] [error] ResourceManager : unable to find resource 'VM_global_library.vm'
in any resource loader.
[dvsl] Transforming into C:\dev\apache\jakarta-turbine-2\target\docs
[dvsl] Processing
C:\dev\apache\jakarta-turbine-2\target\generated-xdocs\activity-log.xml to
C:\dev\apache\jakarta-
turbine-2\target\docs\activity-log.html
[dvsl] Processing
C:\dev\apache\jakarta-turbine-2\target\generated-xdocs\changelog.xml to
C:\dev\apache\jakarta-tur
bine-2\target\docs\changelog.html
[dvsl] Processing
C:\dev\apache\jakarta-turbine-2\target\generated-xdocs\checkstyle-report.xml to
C:\dev\apache\jak
arta-turbine-2\target\docs\checkstyle-report.html
[dvsl] [error] Method applyTemplates threw exception for reference $context in
template document at [222,17]
[dvsl] [error] Method applyTemplates threw exception for reference $context in
template null at [5,14]
[dvsl] Failed to process
C:\dev\apache\jakarta-turbine-2\target\generated-xdocs\checkstyle-report.xmlBUILD
FAILED
C:\dev\apache\maven-build\plugins\docs\build.xml:1136:
org.apache.velocity.exception.MethodInvocationException: Invocati
on of method 'applyTemplates' in class org.apache.tools.dvsl.Transformer threw
exception class org.apache.velocity.exce
ption.MethodInvocationException : Invocation of method 'applyTemplates' in class
org.apache.tools.dvsl.Transformer thre
w exception class java.lang.OutOfMemoryError : null