org.codehaus.mojo.gwt.shell
Class AbstractGwtShellMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.gwt.AbstractGwtMojo
org.codehaus.mojo.gwt.AbstractGwtModuleMojo
org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo, GwtModuleReader
- Direct Known Subclasses:
- AbstractGwtWebMojo, CompileMojo, CSSMojo, I18NMojo, TestMojo
public abstract class AbstractGwtShellMojo
- extends AbstractGwtModuleMojo
Support running GWT SDK Tools as forked JVM with classpath set according to project source/resource directories and
dependencies.
- Version:
- $Id: AbstractGwtShellMojo.java 13196 2010-11-25 16:39:40Z olamy $
- Author:
- ccollins, cooper, willpugh
Field Summary |
protected org.codehaus.plexus.util.cli.StreamConsumer |
out
A plexus-util StreamConsumer to redirect messages to plugin log |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.codehaus.mojo.gwt.AbstractGwtMojo |
addClasspathElements, getClasspath, getGenerateDirectory, getGwtDevJar, getGwtUserJar, getLocalRepository, getOutputDirectory, getProject, getProjectArtifacts, getRemoteRepositories, resolve |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
out
protected org.codehaus.plexus.util.cli.StreamConsumer out
- A plexus-util StreamConsumer to redirect messages to plugin log
AbstractGwtShellMojo
public AbstractGwtShellMojo()
execute
public final void execute()
throws MojoExecutionException,
MojoFailureException
-
- Throws:
MojoExecutionException
MojoFailureException
- See Also:
Mojo.execute()
doExecute
public abstract void doExecute()
throws MojoExecutionException,
MojoFailureException
- Throws:
MojoExecutionException
MojoFailureException
getExtraJvmArgs
protected String getExtraJvmArgs()
getGen
protected File getGen()
getLogLevel
protected String getLogLevel()
getStyle
protected String getStyle()
getJvm
protected String getJvm()
postProcessClassPath
protected void postProcessClassPath(Collection<File> classpath)
throws MojoExecutionException
- hook to post-process the dependency-based classpath
- Throws:
MojoExecutionException
setTimeOut
public void setTimeOut(int timeOut)
- Parameters:
timeOut
- the timeOut to set
Copyright © 2007-2012 Codehaus. All Rights Reserved.