2010-01-31 40 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