org.codehaus.mojo.gwt.shell
Class RunMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.gwt.AbstractGwtMojo
org.codehaus.mojo.gwt.AbstractGwtModuleMojo
org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo
org.codehaus.mojo.gwt.shell.AbstractGwtWebMojo
org.codehaus.mojo.gwt.shell.RunMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo, GwtModuleReader
- Direct Known Subclasses:
- DebugMojo
public class RunMojo
- extends AbstractGwtWebMojo
Goal which run a GWT module in the GWT Hosted mode.
- Version:
- $Id: RunMojo.java 13275 2010-12-08 21:11:16Z olamy $
- Author:
- ccollins, cooper
- Requires a direct invocation by the user:
- false
- Requires the dependencies in this specified scope:
- test
- Is defined to be executed in:
- phase:
- process-classes
- Is defined by the goal name:
- run
Field Summary |
protected org.codehaus.plexus.archiver.manager.ArchiverManager |
archiverManager
To look up Archiver/UnArchiver implementations |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
archiverManager
protected org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager
- To look up Archiver/UnArchiver implementations
- Since:
- 2.1.0-1
- Is a Plexus component defined by:
RunMojo
public RunMojo()
getRunTarget
public String getRunTarget()
getRunModule
public String getRunModule()
throws MojoExecutionException
- Returns:
- the GWT module to run (gwt 1.6+) -- expected to be unique
- Throws:
MojoExecutionException
getStartupUrl
public String getStartupUrl()
throws MojoExecutionException
- Returns:
- the startup URL to open in hosted browser (gwt 1.6+)
- Throws:
MojoExecutionException
getFileName
protected String getFileName()
doExecute
public void doExecute()
throws MojoExecutionException,
MojoFailureException
- Specified by:
doExecute
in class AbstractGwtShellMojo
- Throws:
MojoExecutionException
MojoFailureException
postProcessClassPath
protected void postProcessClassPath(Collection<File> classPath)
- Description copied from class:
AbstractGwtShellMojo
- hook to post-process the dependency-based classpath
- Overrides:
postProcessClassPath
in class AbstractGwtShellMojo
getContextXml
public File getContextXml()
getPort
public int getPort()
getTomcat
public File getTomcat()
setRunTimeOut
public void setRunTimeOut(int runTimeOut)
- Parameters:
runTimeOut
- the runTimeOut to set
setExecutedProject
public void setExecutedProject(MavenProject executedProject)
getProject
public MavenProject getProject()
- Overrides:
getProject
in class AbstractGwtMojo
- Returns:
- the project
Copyright © 2007-2012 Codehaus. All Rights Reserved.