net.sf.antcontrib.logic

Class RunTargetTask

public class RunTargetTask extends Task

Ant task that runs a target without creating a new project.

Author: Nicola Ken Barozzi nicolaken@apache.org

Method Summary
voidexecute()
execute the target
voidsetTarget(String target)
The target attribute

Method Detail

execute

public void execute()
execute the target

Throws: BuildException if a target is not specified

setTarget

public void setTarget(String target)
The target attribute

Parameters: target the name of a target to execute