Top Fields Constructors Methods
org.jruby.ant

public Class RakeTaskBase

extends Task
Class Inheritance
Known Direct Subclasses
org.jruby.ant.Rake, org.jruby.ant.RakeImport
Imports
java.util.ArrayList, .Arrays, .List, org.apache.tools.ant.BuildException, .Task, org.jruby.embed.ScriptingContainer

Field Summary

Modifier and TypeField and Description
private ScriptingContainer
protected String
private Object
Inherited from org.apache.tools.ant.Task:
targettaskNametaskTypewrapper

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
public void
execute()

Overrides org.apache.tools.ant.Task.execute.

Called by the project to let the task do its work.

protected List<E>
public void
rakeMethod(String method, Object... args)

public void
setFile(String filename)

Inherited from org.apache.tools.ant.Task:
bindToOwnergetOwningTargetgetRuntimeConfigurableWrappergetTaskNamegetTaskTypegetWrapperhandleErrorFlushhandleErrorOutputhandleFlushhandleInputhandleOutputinitisInvalidloglogloglogmaybeConfigureperformreconfiguresetOwningTargetsetRuntimeConfigurableWrappersetTaskNamesetTaskType

Field Detail

containerback to summary
private ScriptingContainer container
filenameback to summary
protected String filename
rakeWrapperback to summary
private Object rakeWrapper

Constructor Detail

RakeTaskBaseback to summary
public RakeTaskBase()

Method Detail

acquireRakeReferenceback to summary
protected void acquireRakeReference()
executeback to summary
public void execute() throws BuildException

Overrides org.apache.tools.ant.Task.execute.

Doc from org.apache.tools.ant.Task.execute.

Called by the project to let the task do its work. This method may be called more than once, if the task is invoked more than once. For example, if target1 and target2 both depend on target3, then running "ant target1 target2" will run all tasks in target3 twice.

Annotations
@Override
Exceptions
BuildException:
if something goes wrong with the build.
handleFilenameArgumentback to summary
protected List<E> handleFilenameArgument()
rakeMethodback to summary
public void rakeMethod(String method, Object... args) throws BuildException
setFileback to summary
public void setFile(String filename)