[
http://jira.codehaus.org/browse/MGWT-142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=199617#action_199617
]
Sergey Guriev commented on MGWT-142:
------------------------------------
I have same problems on Linux (Fedora Core 11, 12, or gentoo linux, x86_64,
using 32bit Sun JDK 1.6.0_17).
To solve it, I've modified patch to this way
{code:java}
if (Os.isFamily(Os.FAMILY_MAC) || Os.isFamily(Os.UNIX)) {
cmd.getShell().setQuotedArgumentsEnabled(false);
}
{code}
> java.lang.NoClassDefFoundError: com/google/gwt/dev/Compiler when running
> plugin on Mac
> --------------------------------------------------------------------------------------
>
> Key: MGWT-142
> URL: http://jira.codehaus.org/browse/MGWT-142
> Project: Maven 2.x GWT Plugin
> Issue Type: Bug
> Affects Versions: 1.1
> Environment: Mac OS 10.6.2 (Snow Leopard)
> Reporter: Tom van Zummeren
> Attachments: Disabled_quoted_arguments_on_Mac.patch
>
>
> In the attached patch, I disabled quoted arguments when running the GWT
> plugin on Mac. This avoids screwing up the classpath, and therefore avoids
> getting a NoClassDefFoundError for the GWT Compiler class.
> To clarify, the java command the plugin should be executing should have the
> classpath like this:
> -classpath "library1.jar":"library2.jar":"library3.jar"
> but instead it executes the java command with this classpath argument:
> -classpath '"library1.jar":"library2.jar":"library3.jar"'
> (notice the single quotes at the start and the end) On Mac this results in
> none of the jars being added to the classpath.
--
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