Top Description Fields Constructors Methods
org.apache.tools.ant.taskdefs

public Class CommandLauncherTask

extends Task
Class Inheritance
Imports
org.apache.tools.ant.BuildException, .Task, org.apache.tools.ant.taskdefs.launcher.CommandLauncher

Task that configures the org.apache.tools.ant.taskdefs.launcher.CommandLauncher to used when starting external processes.
Since
Ant 1.9.0

Field Summary

Modifier and TypeField and Description
private CommandLauncher
private boolean
Inherited from org.apache.tools.ant.Task:
targettaskNametaskTypewrapper

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public synchronized void
addConfigured(CommandLauncher commandLauncher)

public void
execute()

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

Called by the project to let the task do its work.
public void
setVmLauncher(boolean vmLauncher)

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

Field Detail

commandLauncherback to summary
private CommandLauncher commandLauncher
vmLauncherback to summary
private boolean vmLauncher

Constructor Detail

CommandLauncherTaskback to summary
public CommandLauncherTask()

Method Detail

addConfiguredback to summary
public synchronized void addConfigured(CommandLauncher commandLauncher)
executeback to summary
public void execute()

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
setVmLauncherback to summary
public void setVmLauncher(boolean vmLauncher)