de.saumya.mojo.rails
Class ConsoleMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
de.saumya.mojo.jruby.AbstractJRubyMojo
de.saumya.mojo.gem.AbstractGemMojo
de.saumya.mojo.rails.AbstractRailsMojo
de.saumya.mojo.rails.ConsoleMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class ConsoleMojo
- extends AbstractRailsMojo
Goal to run rails console. it will ignore the fork parameter since forking
does not work with a console.
| Fields inherited from class de.saumya.mojo.jruby.AbstractJRubyMojo |
artifactFactory, builder, classRealm, factory, GEM_RUBY_COMMAND, IRB_RUBY_COMMAND, IRB_SWING_RUBY_COMMAND, jrubyArgs, jrubyFork, jrubyGemHome, jrubyGemPath, jrubyVerbose, jrubyVersion, localRepository, logger, metadata, project, RAKE_RUBY_COMMAND, resolver |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| 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 |
consoleArgs
protected String consoleArgs
- arguments for the console command
ConsoleMojo
public ConsoleMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Specified by:
execute in interface org.apache.maven.plugin.Mojo- Overrides:
execute in class AbstractJRubyMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
executeWithGems
public void executeWithGems()
throws org.apache.maven.plugin.MojoExecutionException,
RubyScriptException,
IOException
- Specified by:
executeWithGems in class AbstractGemMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
RubyScriptException
IOException
Copyright © 2010. All Rights Reserved.