public class ExecMojo extends AbstractGemMojo
${jruby.args} ${exec.file} ${exec.args} ${args} | Modifier and Type | Field and Description |
|---|---|
protected boolean |
addProjectClasspath
add project test class path to JVM classpath.
|
protected String |
command
ruby file found on search path which gets executed.
|
protected String[] |
execArgLines
an array of arguments which can contain spaces for the ruby script given through file parameter.
|
protected String |
execArgs
arguments separated by whitespaces for the ruby script given through file parameter.
|
protected File |
file
ruby file which gets executed in context of the given gems..
|
protected File |
outputFile
output file where the standard out will be written
Command line -Dexec.outputFile=... |
protected String |
script
ruby code from the pom configuration part which gets executed.
|
binDirectory, gemHome, gemHomes, gemPath, gemsConfig, gemsInstaller, gemUseSystem, includeGemsInResources, includeLibDirectoryInResources, includeOpenSSL, includeProvidedRubygemsInResources, includeRubygemsInResources, includeRubygemsInTestResources, installRDoc, installRI, manager, plugin, supportNative, unzipargs, 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 |
|---|
ExecMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeWithGems() |
addResource, execute, executeJRuby, gemHome, getRemoteRepos, newScriptFactorygetJrubyVersion, getProjectClasspath, launchDirectory, resolveJRubyArtifact, resolveJRubyCompleteArtifact, resolveJRubyStdlibArtifactprotected String script
protected File file
protected String command
protected File outputFile
protected String execArgs
protected String[] execArgLines
protected boolean addProjectClasspath
protected void executeWithGems()
throws org.apache.maven.plugin.MojoExecutionException,
de.saumya.mojo.ruby.script.ScriptException,
IOException
executeWithGems in class AbstractGemMojoorg.apache.maven.plugin.MojoExecutionExceptionde.saumya.mojo.ruby.script.ScriptExceptionIOExceptionCopyright © 2015. All Rights Reserved.