Sorry it was my own fault. I forgot to add the little "m" when 
I set the maven.javadoc.maxmemory-variable (512 instead of 512m)

Now it is working fine.
Thanks for help

Christian



-----Original Message-----
From: Christian Goos [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 18, 2003 11:36 AM
To: 'Maven Users List'
Subject: RE: Problem with javadoc plugin

Yes I tried, so it starts to run javadoc but (sorry that I have to continue
with 'but') then I get "Incompatible initial and maximum heap sizes" (trace
below)
At first I did not define maven.javadoc.maxmemory then I tried some settings
but always got the error? So what can I do.

Thanks 
Christian



maven-javadoc-plugin:report:
    [record] [DEBUG] setting a recorder for name
C:\Programme\eclipse\workspace\
gui_tool/target/javadoc/report.txt
    [javadoc] [DEBUG] fileset: Setup scanner in dir
C:\Programme\eclipse\workspa
ce\gui_tool\src with patternSet{ includes: [**/*.java] excludes: [] }
    [javadoc] Generating Javadoc
    [javadoc] [VERBOSE] dropping
C:\Programme\eclipse\workspace\gui_tool\targ
et\classes from path as it doesn't exist
    [javadoc] [VERBOSE] Executing
'C:\Programme\j2sdk1.4.1_03\bin\javadoc.exe' w
ith arguments:
'-J-Xmx512'
'-d'
'C:\Programme\eclipse\workspace\gui_tool\target\docs\apidocs'
'-stylesheetfile'
'C:\WINDOWS\Profiles\exgoos\.maven\plugins\maven-javadoc-plugin-1.3-SNAPSHOT
\plu
gin-resources\stylesheet.css'
'-use'
'-windowtitle'
'GUI Werkzeug zur Erstellung von Dialogen 0.1 API'
'-doctitle'
'GUI Werkzeug zur Erstellung von Dialogen 0.1 API'
'-bottom'
'Copyright © -2003 . All Rights Reserved.'
'-classpath'
'C:\temp\test\maven\repository\project-client\jars\project-client-SNAPSHOT.j
ar;C:\
temp\test\maven\repository\project-client-fwk\jars\project-client-fwk-SNAPSH
OT.jar
;C:\temp\test\maven\repository\project-common\jars\project-common-SNAPSHOT.j
ar;C:\
temp\test\maven\repository\toolgen\jars\toolgen.jar;C:\temp\test\maven\repos
itory\
toolgen\jars\emu_runtime.jar;C:\temp\test\maven\repository\log4j\jars\log4j-
1.2.8
.jar;C:\temp\test\maven\repository\jdom\jars\jdom-b8.jar;C:\temp\test\maven\
repo
sitory\junit\jars\junit-3.8.1.jar'
'-version'
'-author'
'@C:\Programme\eclipse\workspace\gui_tool\javadoc2117441910'

The ' characters around the executable and arguments are
not part of the command.

    [javadoc] Javadoc execution
    [javadoc] [DEBUG] Execute:Java13CommandLauncher: Executing
'C:\Programme\j2s
dk1.4.1_03\bin\javadoc.exe' with arguments:
'-J-Xmx512'
'-d'
'C:\Programme\eclipse\workspace\gui_tool\target\docs\apidocs'
'-stylesheetfile'
'C:\WINDOWS\Profiles\exgoos\.maven\plugins\maven-javadoc-plugin-1.3-SNAPSHOT
\plu
gin-resources\stylesheet.css'
'-use'
'-windowtitle'
'GUI Werkzeug zur Erstellung von Dialogen 0.1 API'
'-doctitle'
'GUI Werkzeug zur Erstellung von Dialogen 0.1 API'
'-bottom'
'Copyright © -2003 . All Rights Reserved.'
'-classpath'
'C:\temp\test\maven\repository\project-client\jars\project-client-SNAPSHOT.j
ar;C:\
temp\test\maven\repository\project-client-fwk\jars\project-client-fwk-SNAPSH
OT.jar
;C:\temp\test\maven\repository\project-common\jars\project-common-SNAPSHOT.j
ar;C:\
temp\test\maven\repository\toolgen\jars\toolgen.jar;C:\temp\test\maven\repos
itory\
toolgen\jars\emu_runtime.jar;C:\temp\test\maven\repository\log4j\jars\log4j-
1.2.8
.jar;C:\temp\test\maven\repository\jdom\jars\jdom-b8.jar;C:\temp\test\maven\
repo
sitory\junit\jars\junit-3.8.1.jar'
'-version'
'-author'
'@C:\Programme\eclipse\workspace\gui_tool\javadoc2117441910'

The ' characters around the executable and arguments are
not part of the command.

    [javadoc] Error occurred during initialization of VM
    [javadoc] Incompatible initial and maximum heap sizes specified
    [record] [DEBUG] setting a recorder for name
C:\Programme\eclipse\workspace\
gui_tool/target/javadoc/report.txt
BUILD SUCCESSFUL
Total time: 5 seconds
Finished at: Thu Sep 18 11:31:54 CEST 2003


---------------------------------------------------------------------
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]

Reply via email to