Hi,

I'm facing a problem using gwt-maven-plugin 1.2 to run GWT Hosted Mode. The
problem is that the plugin is putting ' and " in the path to classpath.

Caused by: org.codehaus.mojo.gwt.shell.
ForkedProcessExecutionException: Command [[
/bin/sh -c /usr/lib/jvm/java-6-sun-1.6.0.20/jre/bin/java -server -Xms1768m
-Xmx1768m -XX:MaxPermSize=512m -classpath
'"/home/marcossousa/Documents/Projects/gwtprojet/src/main/java":"/home/marcossousa/Documents/Projects/gwtprojet/src/main/resources":
"/home/marcossousa/.m2/repository/com/google/gwt/gwt-user/2.0.4/gwt-user-2.0.4.jar":"morejarshere"'
-logLevel INFO -port 8888 -startupUrl "gwtproject.html"
com.marcossousa.gwtproject
]] failed with status 1


My POM configuration is:
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>gwt-maven-plugin</artifactId>
                <version>1.2</version>
                <configuration>
                    <runTarget>${gwt.runtarget.html}</runTarget>
                    <logLevel>INFO</logLevel>
                    <style>OBF</style>
                    <noServer>false</noServer>
                    <extraJvmArgs>-server -Xms1768m -Xmx1768m
-XX:MaxPermSize=512m</extraJvmArgs>
                    <localWorkers>2</localWorkers>
                </configuration>
                <executions>
                    <execution>
                        <phase></phase>
                        <goals>
                            <goal>compile</goal>
                            <goal>run</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

Is there a solution to this problem?

Thanks,


-- 
Marcos Sousa
www.marcossousa.com Enjoy it!

Reply via email to