de.saumya.mojo.rails
Class ServerMojo

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.ServerMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class ServerMojo
extends AbstractRailsMojo

Goal to run rails with build-in server.


Field Summary
protected  String serverArgs
          arguments for the generate command
 
Fields inherited from class de.saumya.mojo.rails.AbstractRailsMojo
args, env, railsDir
 
Fields inherited from class de.saumya.mojo.gem.AbstractGemMojo
binDirectory, gemArgs, gemHome, gemPath, gemsConfig, gemsInstaller, includeOpenSSL, manager
 
Fields inherited from class de.saumya.mojo.jruby.AbstractJRubyMojo
classRealm, factory, GEM_RUBY_COMMAND, IRB_RUBY_COMMAND, IRB_SWING_RUBY_COMMAND, jrubyArgs, jrubyFork, jrubyGemHome, jrubyGemPath, jrubyVerbose, jrubyVersion, localRepository, logger, project, RAKE_RUBY_COMMAND, repositorySystem
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ServerMojo()
           
 
Method Summary
protected  void executeWithGems()
           
 
Methods inherited from class de.saumya.mojo.rails.AbstractRailsMojo
launchDirectory, railsScriptFile
 
Methods inherited from class de.saumya.mojo.gem.AbstractGemMojo
executeJRuby, newScriptFactory
 
Methods inherited from class de.saumya.mojo.jruby.AbstractJRubyMojo
execute, resolveJRUBYCompleteArtifact
 
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

serverArgs

protected String serverArgs
arguments for the generate command

Constructor Detail

ServerMojo

public ServerMojo()
Method Detail

executeWithGems

protected void executeWithGems()
                        throws org.apache.maven.plugin.MojoExecutionException,
                               ScriptException,
                               IOException
Specified by:
executeWithGems in class AbstractGemMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
ScriptException
IOException


Copyright © 2010. All Rights Reserved.