net.kindleit.gae
Class DebugGoal

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by net.kindleit.gae.EngineGoalBase
          extended by net.kindleit.gae.StartGoal
              extended by net.kindleit.gae.DebugGoal
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

public class DebugGoal
extends StartGoal

Extends the RunGoal for running the project with a debugger port hook (optionally suspended). It is a simple utility method, as the run goal supports the passing of jvm options in the command line.

Author:
rhansen@kindleit.net, androns@gmail.com

Field Summary
protected  int debugPort
          Port to run in.
protected  boolean debugSuspend
          Address to bind to.
 
Fields inherited from class net.kindleit.gae.StartGoal
address, disableUpdateCheck, javaAgent, jvmFlags, port
 
Fields inherited from class net.kindleit.gae.EngineGoalBase
appDir, ARG_TYPE, container, emailAccount, gaeProperties, hostString, keepTempUploadDir, monitorKey, monitorPort, passIn, proxy, sdkDir, serverId, settings, splitJars, uploadServer, wait
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
DebugGoal()
           
 
Method Summary
 void execute()
           
 
Methods inherited from class net.kindleit.gae.StartGoal
resolveArtifacts, runKickStart
 
Methods inherited from class net.kindleit.gae.EngineGoalBase
assureSystemProperties, contextualize, getAppCfgArgs, getCommonArgs, hasServerSettings, runAppCfg
 
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
 

Field Detail

debugPort

protected int debugPort
Port to run in.


debugSuspend

protected boolean debugSuspend
Address to bind to.

Constructor Detail

DebugGoal

public DebugGoal()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Specified by:
execute in interface org.apache.maven.plugin.Mojo
Overrides:
execute in class StartGoal
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2009-2010 KindleIT. All Rights Reserved.