How to use the extraJvmArgs ?
-----------------------------

                 Key: MGWT-47
                 URL: http://jira.codehaus.org/browse/MGWT-47
             Project: Maven 2.x GWT Plugin
          Issue Type: Wish
    Affects Versions: 1.1
         Environment: win xp pro or rh5, maven2, gwt 1.6.4 etc...
            Reporter: Cyril Lakech
            Priority: Critical


I use the famous plugin "gwt-maven-plugin" but I can not manage to use the 
parameter extraJvmArgs.

I need 512m for heap space and to increase the default stack size

So I put this value "-Xmx512m -Xss2048k" for the extraJvmArgs.

But it did'not work...

<configuration>
<module>com.blablabla</module>
<extraJvmArgs> -Xmx512m -Xss16k </extraJvmArgs>
</configuration>

[INFO] using GWT jars from project dependencies : 1.6.4
[INFO] Unpack native libraries required to run GWT
[INFO] establishing classpath list (scope = compile)
[ERROR] Could not create the Java virtual machine.
[ERROR] Invalid maximum heap size: -Xmx512m -Xss16k

I try several Xss values... with no success...

I don't know how to pass many arguments to the extraJvmArgs parameter...

Any idea to solve my problem ?

Is it possible to pass more than 1 argument to java ? Is it a bug ?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to