Package aQute.bnd.ant
Class PrepareTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- aQute.bnd.ant.BaseTask
-
- aQute.bnd.ant.PrepareTask
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface aQute.service.reporter.Report
Report.Location
-
Nested classes/interfaces inherited from interface aQute.service.reporter.Reporter
Reporter.SetLocation
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.io.Filebasedir(package private) booleanprint(package private) java.lang.Stringtop-
Fields inherited from class aQute.bnd.ant.BaseTask
errors, exceptions, messages, onfail, pedantic, progress, properties, reporter, trace, warnings, workspaceProps
-
-
Constructor Summary
Constructors Constructor Description PrepareTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidcheckForTesting(Project project, java.util.Properties properties)private voidcopyProperties(java.util.Properties flattened)voidexecute()booleanisPrint()voidsetBasedir(java.io.File basedir)Set the base directory of the project.voidsetPrint(boolean print)Print out the properties when they are set in sorted ordervoidsetTop(java.lang.String top)Set the base directory of the project.-
Methods inherited from class aQute.bnd.ant.BaseTask
addProperty, addWsproperty, error, exception, getBndProject, getErrors, getFile, getLocation, getWarnings, isExceptions, isOk, isPedantic, isTrace, join, progress, report, report, setExceptions, setPedantic, setTrace, split, trace, warning
-
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, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
-
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.tools.ant.BuildException- Overrides:
executein classorg.apache.tools.ant.Task- Throws:
org.apache.tools.ant.BuildException
-
checkForTesting
private void checkForTesting(Project project, java.util.Properties properties) throws java.lang.Exception
- Throws:
java.lang.Exception
-
copyProperties
private void copyProperties(java.util.Properties flattened)
-
isPrint
public boolean isPrint()
-
setPrint
public void setPrint(boolean print)
Print out the properties when they are set in sorted order- Parameters:
print-
-
setBasedir
public void setBasedir(java.io.File basedir)
Set the base directory of the project. This property MUST be set.- Parameters:
basedir-
-
setTop
public void setTop(java.lang.String top)
Set the base directory of the project. This property MUST be set.- Parameters:
top-
-
-