org.codehaus.mojo.gwt.shell
Class DebugMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.gwt.AbstractGwtMojo
          extended by org.codehaus.mojo.gwt.AbstractGwtModuleMojo
              extended by org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo
                  extended by org.codehaus.mojo.gwt.shell.AbstractGwtWebMojo
                      extended by org.codehaus.mojo.gwt.shell.RunMojo
                          extended by org.codehaus.mojo.gwt.shell.DebugMojo
All Implemented Interfaces:
ContextEnabled, Mojo, GwtModuleReader

public class DebugMojo
extends RunMojo

Extends the gwt goal and runs the project in the GWT Hosted mode with a debugger port hook (optionally suspended).

Version:
$Id: DebugMojo.java 13140 2010-11-20 22:06:09Z olamy $
Author:
cooper
Is defined by the goal name:
debug

Nested Class Summary
 
Nested classes/interfaces inherited from class org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo
AbstractGwtShellMojo.JavaCommand
 
Field Summary
 
Fields inherited from class org.codehaus.mojo.gwt.shell.RunMojo
archiverManager
 
Fields inherited from class org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo
out
 
Fields inherited from class org.codehaus.mojo.gwt.AbstractGwtModuleMojo
GWT_MODULE_EXTENSION
 
Fields inherited from class org.codehaus.mojo.gwt.AbstractGwtMojo
artifactFactory, classpathBuilder, GWT_GROUP_ID, gwtSdkFirstInClasspath, localRepository, remoteRepositories, resolver, warSourceDirectory
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
DebugMojo()
           
 
Method Summary
 void doExecute()
           
 String getExtraJvmArgs()
          Override extraJVMArgs to append JVM debugger option
protected  String getFileName()
          
 
Methods inherited from class org.codehaus.mojo.gwt.shell.RunMojo
getContextXml, getPort, getProject, getRunModule, getRunTarget, getStartupUrl, getTomcat, postProcessClassPath, setExecutedProject, setRunTimeOut
 
Methods inherited from class org.codehaus.mojo.gwt.shell.AbstractGwtWebMojo
getWebXml, isWebXmlServletPathAsIs
 
Methods inherited from class org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo
execute, getGen, getJvm, getLogLevel, getStyle, setTimeOut
 
Methods inherited from class org.codehaus.mojo.gwt.AbstractGwtModuleMojo
addCompileSourceRoot, getGwtModules, getModules, readModule
 
Methods inherited from class org.codehaus.mojo.gwt.AbstractGwtMojo
addClasspathElements, getClasspath, getGenerateDirectory, getGwtDevJar, getGwtUserJar, getLocalRepository, getOutputDirectory, getProjectArtifacts, getRemoteRepositories, resolve
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugMojo

public DebugMojo()
Method Detail

getFileName

protected String getFileName()

Overrides:
getFileName in class RunMojo
See Also:
RunMojo.getFileName()

getExtraJvmArgs

public String getExtraJvmArgs()
Override extraJVMArgs to append JVM debugger option

Overrides:
getExtraJvmArgs in class AbstractGwtShellMojo
See Also:
AbstractGwtShellMojo.getExtraJvmArgs()

doExecute

public void doExecute()
               throws MojoExecutionException,
                      MojoFailureException
Overrides:
doExecute in class RunMojo
Throws:
MojoExecutionException
MojoFailureException


Copyright © 2007-2012 Codehaus. All Rights Reserved.