de.saumya.mojo.rails
Class ConsoleMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by de.saumya.mojo.jruby.AbstractJRubyMojo
          extended by de.saumya.mojo.gem.AbstractGemMojo
              extended by de.saumya.mojo.rails.AbstractRailsMojo
                  extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class de.saumya.mojo.gem.AbstractGemMojo
AbstractGemMojo.UpdateCheckManager
 
Field Summary
protected  java.lang.String consoleArgs
          arguments for the console command
 
Fields inherited from class de.saumya.mojo.rails.AbstractRailsMojo
args, dir, env
 
Fields inherited from class de.saumya.mojo.gem.AbstractGemMojo
includeOpenSSL, pluginArtifacts
 
Fields inherited from class de.saumya.mojo.jruby.AbstractJRubyMojo
artifactFactory, artifacts, builder, fork, gemHome, gemPath, home, launchDirectory, launchMemory, localRepository, metadata, outputDirectory, outputFile, project, remoteRepositories, resolver, verbose, version
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ConsoleMojo()
           
 
Method Summary
 void executeWithGems()
           
 
Methods inherited from class de.saumya.mojo.rails.AbstractRailsMojo
binDirectory, binScript, launchDirectory, railsScript
 
Methods inherited from class de.saumya.mojo.gem.AbstractGemMojo
execute, execute
 
Methods inherited from class de.saumya.mojo.jruby.AbstractJRubyMojo
ensureGem, ensureGems, execute, execute, execute, execute, execute, fileFromClassloader, resolveTransitively
 
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

consoleArgs

protected java.lang.String consoleArgs
arguments for the console command

Constructor Detail

ConsoleMojo

public ConsoleMojo()
Method Detail

executeWithGems

public void executeWithGems()
                     throws org.apache.maven.plugin.MojoExecutionException
Specified by:
executeWithGems in class AbstractGemMojo
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2010. All Rights Reserved.