aQute.bnd.ant
Class BndTask
java.lang.Object
Task
aQute.bnd.ant.BaseTask
aQute.bnd.ant.BndTask
- All Implemented Interfaces:
- Reporter
public class BndTask
- extends BaseTask
This file is the bnd main task for ant.
Example usage
| Methods inherited from class aQute.bnd.ant.BaseTask |
error, getErrors, getFile, getProgress, getWarnings, isPedantic, join, progress, report, report, setPedantic, setTrace, split, trace, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BndTask
public BndTask()
execute
public void execute()
throws BuildException
- Throws:
BuildException
setCommand
public void setCommand(java.lang.String command)
setBasedir
public void setBasedir(java.io.File basedir)
- Set the base directory of the project. This property MUST be set.
- Parameters:
basedir -
setFiles
public void setFiles(java.lang.String files)
setClasspath
public void setClasspath(java.lang.String value)
setEclipse
public void setEclipse(boolean eclipse)
setFailok
public void setFailok(boolean failok)
setExceptions
public void setExceptions(boolean exceptions)
setSourcepath
public void setSourcepath(java.lang.String sourcepath)
setOutput
public void setOutput(java.io.File output)
setDestFile
public void setDestFile(java.io.File output)
setTestDir
public void setTestDir(java.io.File testDir)
setInherit
public void setInherit(boolean inherit)
setClasspathref
public void setClasspathref(Reference reference)
setBndfilePath
public void setBndfilePath(Reference reference)
addClasspath
public void addClasspath(Path path)
addBndfiles
public void addBndfiles(Path path)
validate
protected void validate()
- validate required parameters before starting execution
- Throws:
BuildException - , if build is impossible