|
|||||||||
| 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.CompileMojo
public class CompileMojo
executes the compiles ruby classes to java bytecode (jrubyc).
NOTE: this goal uses only a small subset of the features of jrubyc.
| Field Summary | |
|---|---|
protected File |
generatedJavaDirectory
where the java files (needs >=jruby-1.5). |
protected boolean |
generateJava
just generate java classes and add them to the maven source path Command line -Djrubyc.generateJava=... |
protected boolean |
ignoreFailures
do not fail the goal Command line -Djrubyc.ignoreFailure=... |
protected File |
outputDirectory
where the compiled class files are written unless you choose to generate java classes (needs >=jruby-1.5). |
protected File |
rubyDirectory
Deprecated. |
| 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 | |
|---|---|
CompileMojo()
|
|
| 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 |
|---|
@Deprecated protected File rubyDirectory
protected File outputDirectory
protected boolean ignoreFailures
protected boolean generateJava
protected File generatedJavaDirectory
| Constructor Detail |
|---|
public CompileMojo()
| 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 | ||||||||