it.haefelinger.flaka
Class WhichFlaka
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
it.haefelinger.flaka.Task
it.haefelinger.flaka.WhichFlaka
- All Implemented Interfaces:
- Cloneable
public class WhichFlaka
- extends Task
- Since:
- 1.0
- Author:
- merzedes
| Fields inherited from class it.haefelinger.flaka.Task |
debug, el |
| Methods inherited from class it.haefelinger.flaka.Task |
debug, debug, error, error, getProperty, getref, info, log, setDebug, setEl, throwbx, throwbx, toFile, verbose, warn, warn |
| Methods inherited from class org.apache.tools.ant.Task |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
resource
protected String resource
varname
protected String varname
classpath
protected Path classpath
WhichFlaka
public WhichFlaka()
setClasspath
public void setClasspath(Path cp)
- Set the classpath to be used for this compilation.
- Parameters:
cp - the classpath to be used.
createClasspath
public Path createClasspath()
- Adds a path to the classpath.
- Returns:
- a classpath to be configured.
execute
public void execute()
throws BuildException
- execute it
- Overrides:
execute in class Task
- Throws:
BuildException - on error
setResource
public void setResource(String s)
- name the resource to look for
setVar
public void setVar(String s)
- the property to fill with the URL of the resource or class