2010-01-31 5 views
4

J'ai des problèmes pour lancer l'objectif gae: debug du Maven GAE Plugin. L'erreur que je reçois est ci-dessous. Des idées? Je l'utilise avec "mvn gae: debug".Maven GAE Plugin - Impossible d'exécuter 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. 

EDIT: Gae: courir avec l'option jvmFlags est également me donne le même résultat avec la configuration ci-dessous.

<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> 

Répondre

1

Il ressemble à ceci est une issue ouverte. J'ai soumis un correctif pour cela (voir Issue 38).

+0

Je reçois le même problème avec le dernier plugin. Votre correction devrait être dans 0.9.4 droit? –