Unable fire up GWT Shell if noServer = true and runTarget =
http://localhost:8080/test.html
-------------------------------------------------------------------------------------------
Key: MGWT-41
URL: http://jira.codehaus.org/browse/MGWT-41
Project: Maven 2.x GWT Plugin
Issue Type: Bug
Affects Versions: 1.1
Environment: $ mvn -v
Apache Maven 2.1.0 (r755702; 2009-03-19 03:10:27+0800)
Java version: 1.6.0_13
Java home: c:\Program Files\Java\jdk1.6.0_13\jre
Default locale: zh_TW, platform encoding: MS950
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
Reporter: Yenwen Feng
I got following error if my noServer = true and runTarget is an URL:
{quote}
$ mvn gwt:run
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building lumix-gwt
[INFO] task-segment: [gwt:run]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing gwt:run
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory d:\liquable\trunk\lumix\lumix-gwt\src
\main\resources
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [gwt:run]
[INFO] using GWT jars from project dependencies : 1.6.4
[INFO] Unpack native libraries required to run GWT
[INFO] source web.xml NOT present, using default empty web.xml for shell
[INFO] establishing classpath list (scope = runtime)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] GWT Module http: not found in project sources or resources.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Mon Apr 20 15:32:04 CST 2009
[INFO] Final Memory: 17M/31M
[INFO] ------------------------------------------------------------------------
{quote}
my setting in pom.xml:
{quote}
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<configuration>
<output>target/gwt</output>
<extraJvmArgs>-Xmx512m</extraJvmArgs>
<noServer>true</noServer>
<runTarget>
http://localhost:8080/games.do?code=airCombat
</runTarget>
<modules>
<value>com.liquable.lumix.game.Game</value>
</modules>
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
{quote}
--
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