Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package de.saumya.mojo.rails3;
 
 
 
goal to run the rails server.

Goal:
server
RequiresDependencyResolution:
compile
public class ServerMojo extends AbstractRailsMojo {

    
arguments for the generate command

Parameter:
default-value="${server.args}"
    protected String serverArgs = null;
    @Override
    protected void executeRails() throws MojoExecutionException,
            ScriptExceptionIOException {
        this..newScript(railsScriptFile())
                .addArg("server")
                .addArgs(this.)
                .addArgs(this.)
                .addArg("-e"this.)
                .executeIn(launchDirectory());
    }
New to GrepCode? Check out our FAQ X