public class JRubyMojo extends AbstractJRubyMojo
Modifier and Type | Field and Description |
---|---|
protected File |
file
ruby file which gets executed.
|
protected String |
filename
ruby file found on search path 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 boolean |
gemUseSystem
use system gems instead of setting up GemPath/GemHome inside the build directory and ignores any set
gemHome and gemPath.
|
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.
|
addProjectClasspath, args, classRealm, DEFAULT_JRUBY_VERSION, eclipseRefresh, eclipseWatches, env, factory, JRUBY_COMPLETE, JRUBY_CORE, JRUBY_STDLIB, jrubyFork, jrubyJvmArgs, jrubySwitches, jrubyVerbose, libDirectory, localRepository, logger, project, repositorySystem, rubySourceDirectory
Constructor and Description |
---|
JRubyMojo() |
Modifier and Type | Method and Description |
---|---|
void |
executeJRuby() |
execute, getJrubyVersion, getProjectClasspath, launchDirectory, newScriptFactory, resolveJRubyArtifact, resolveJRubyCompleteArtifact, resolveJRubyStdlibArtifact
protected String jrubyArgs
protected String script
protected File file
protected String filename
protected File outputFile
protected File gemHome
protected File gemPath
protected boolean gemUseSystem
public void executeJRuby() throws org.apache.maven.plugin.MojoExecutionException, IOException, ScriptException
executeJRuby
in class AbstractJRubyMojo
org.apache.maven.plugin.MojoExecutionException
IOException
ScriptException
Copyright © 2015. All rights reserved.