[
http://jira.codehaus.org/browse/MGWT-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=172192#action_172192
]
Ivan Yosifov commented on MGWT-27:
----------------------------------
The reason for this appears to be infinite recursion:
DebugMojo.doExecute -> super.execute -> AbstractGwtShellMojo.execute ->
doExecute -> DebugMojo.doExecute
The fix should be calling super.doExecute(runtime) and not super.execute in
DebugMojo.doExecute like this:
Index: src/main/java/org/codehaus/mojo/gwt/shell/DebugMojo.java
===================================================================
--- src/main/java/org/codehaus/mojo/gwt/shell/DebugMojo.java (revision 9352)
+++ src/main/java/org/codehaus/mojo/gwt/shell/DebugMojo.java (working copy)
@@ -96,7 +96,7 @@
getLog().info( "starting debugger on port " + getDebugPort() );
}
- super.execute();
+ super.doExecute(runtime);
}
> debug goal is not working
> --------------------------
>
> Key: MGWT-27
> URL: http://jira.codehaus.org/browse/MGWT-27
> Project: Maven 2.x GWT Plugin
> Issue Type: Bug
> Affects Versions: 1.1
> Environment: eclipse and vista
> Reporter: shay
> Assignee: Charlie Collins
> Priority: Blocker
>
> when i run the debug goal the console is showing hundreds repetitions of the
> following messages:
> [INFO] Unpack native libraries required to run GWT
> [INFO] starting debugger on port 8000 in suspend mode
> [INFO] using GWT jars for specified version 1.5.3
> the hosted browser is never launched
> when i click the resume button no browser is launched , the process is
> terminated , with an exception.and the following exception stack output
> at org.codehaus.mojo.gwt.shell.DebugMojo.doExecute(DebugMojo.java:99)
> at
> org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo.execute(AbstractGwtShellMojo.java:187)
> at org.codehaus.mojo.gwt.shell.DebugMojo.doExecute(DebugMojo.java:99)
> the application runs fine with no errors in regular mode
--
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