2010-01-31 41 views
4

我在运行Maven GAE Plugin的gae:debug目标时遇到问题。我收到的错误如下。有任何想法吗?Maven GAE插件 - 无法运行gae:debug

我用“mvn gae:debug”运行它。

[INFO] Packaging webapp 
[INFO] Assembling webapp[test-gae] in [C:\development\test-gae\target\test-gae-0.0.1-SNAPSHOT] 
[INFO] Processing war project 
[INFO] Webapp assembled in[56 msecs] 
[INFO] Building war: C:\development\test-gae\target\test-gae-0.0.1-SNAPSHOT.war 
[INFO] [statemgmt:end-fork] 
[INFO] Ending forked execution [fork id: -2101914270] 
[INFO] [gae:debug] 
Usage: <dev-appserver> [options] <war directory> 

Options: 
--help, -h     Show this help message and exit. 
--server=SERVER   The server to use to determine the latest 
    -s SERVER     SDK version. 
--address=ADDRESS   The address of the interface on the local machine 
    -a ADDRESS     to bind to (or 0.0.0.0 for all interfaces). 
--port=PORT    The port number to bind to on the local machine. 
    -p PORT 
--sdk_root=root   Overrides where the SDK is located. 
--disable_update_check  Disable the check for newer SDK versions. 

编辑: GAE:运行与jvmFlags选项也给我用下面的配置相同的结果。

<plugin> 
     <groupId>net.kindleit</groupId> 
     <artifactId>maven-gae-plugin</artifactId> 
     <version>0.5.0</version> 
     <configuration> 
      <jvmFlags> 
       <jvmFlag>-Xdebug</jvmFlag> 
       <jvmFlag>-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000</jvmFlag> 
      </jvmFlags> 
     </configuration> 
    </plugin> 

回答

1

它看起来这是一个开放的issue。我已经为此提交了一个补丁(请参阅Issue 38)。

+0

我遇到了与最新插件相同的问题。你的修正应该在0.9.4的权利? – 2012-09-24 16:56:53