gwt-maven-plugin JVM failures

199 views
Skip to first unread message

dhoffer

unread,
Mar 14, 2013, 12:28:54 PM3/14/13
to google-we...@googlegroups.com
All of a sudden, we are getting the following build errors with our GWT 2.5.0 builds.  Any idea what would cause this?  This was working fine.

Our extraJvmArgs are.

<extraJvmArgs>-Xms1024m -Xmx1024m -XX:MaxPermSize=256m -Dgwt.jjs.permutationWorkerFactory=com.google.gwt.dev.ThreadedPermutationWorkerFactory
</extraJvmArgs>

[10:10:54][com.issinc.chat-dashboard:dashboard-webapp] [INFO] --- gwt-maven-plugin:2.5.0:compile (gwt-compile) @ dashboard-webapp ---
[10:10:56][com.issinc.chat-dashboard:dashboard-webapp] [ERROR] Error: Could not create the Java Virtual Machine.
[10:10:56][com.issinc.chat-dashboard:dashboard-webapp] [ERROR] Error: A fatal exception has occurred. Program will exit.
[10:10:56][com.issinc.chat-dashboard:dashboard-webapp] [ERROR] Unrecognized VM option 'MaxPermSize=256m

dhoffer

unread,
Mar 14, 2013, 12:34:00 PM3/14/13
to google-we...@googlegroups.com
And if I remove the -XX:MaxPermSize=256m option...then it fails on the -Xmx1024m parameter.

-Dave

David Hoffer

unread,
Mar 14, 2013, 1:08:30 PM3/14/13
to Google Web Toolkit
Found the bug.  The plugin requires that tag to be all on one line in the XML file...reading like a text file instead of XML.  Our IDE formatted the XML so it looks good and that caused the problem with the plugin.

-Dave


--
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/bi3hfEdC-n4/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to google-web-tool...@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages