|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
de.saumya.mojo.jruby.AbstractJRubyMojo
de.saumya.mojo.jruby.JRubyMojo
public class JRubyMojo
executes the jruby command.
| Field Summary | |
|---|---|
protected File |
file
ruby file which gets executed. |
protected File |
gemHome
directory of gem home to use when forking JRuby. |
protected File |
gemPath
directory of JRuby path to use when forking JRuby. |
protected String |
jrubyArgs
arguments for the jruby command. |
protected File |
outputFile
output file where the standard out will be written Command line -Djruby.outputFile=... |
protected String |
script
ruby code which gets executed. |
| Fields inherited from class de.saumya.mojo.jruby.AbstractJRubyMojo |
|---|
args, classRealm, DEFAULT_JRUBY_VERSION, factory, JRUBY_COMPLETE, JRUBY_CORE, JRUBY_STDLIB, jrubyFork, jrubyJvmArgs, jrubySwitches, jrubyVerbose, jrubyVersion, libDirectory, localRepository, logger, project, repositorySystem, rubySourceDirectory |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
JRubyMojo()
|
|
| Method Summary | |
|---|---|
void |
executeJRuby()
|
| Methods inherited from class de.saumya.mojo.jruby.AbstractJRubyMojo |
|---|
execute, launchDirectory, newScriptFactory, newScriptFactory, resolveJRubyArtifact, resolveJRubyCompleteArtifact, retrieveStdlibArtifact |
| 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 |
|---|
protected String jrubyArgs
protected String script
protected File file
protected File outputFile
protected File gemHome
protected File gemPath
| Constructor Detail |
|---|
public JRubyMojo()
| Method Detail |
|---|
public void executeJRuby()
throws org.apache.maven.plugin.MojoExecutionException,
IOException,
ScriptException
executeJRuby in class AbstractJRubyMojoorg.apache.maven.plugin.MojoExecutionException
IOException
ScriptException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||