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.LocationNested classes/interfaces inherited from interface aQute.service.reporter.Reporter
Reporter.SetLocation -
Field Summary
FieldsModifier and TypeFieldDescription(package private) File(package private) boolean(package private) StringFields inherited from class aQute.bnd.ant.BaseTask
errors, exceptions, messages, onfail, pedantic, progress, properties, reporter, trace, warnings, workspacePropsFields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapperFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcheckForTesting(Project project, Properties properties) private voidcopyProperties(Properties flattened) voidexecute()booleanisPrint()voidsetBasedir(File basedir) Set the base directory of the project.voidsetPrint(boolean print) Print out the properties when they are set in sorted ordervoidSet 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, warningMethods 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, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Field Details
-
Constructor Details
-
PrepareTask
public PrepareTask()
-
-
Method Details
-
execute
public void execute() throws org.apache.tools.ant.BuildException- Overrides:
executein classorg.apache.tools.ant.Task- Throws:
org.apache.tools.ant.BuildException
-
checkForTesting
- Throws:
Exception
-
copyProperties
-
isPrint
public boolean isPrint() -
setPrint
public void setPrint(boolean print) Print out the properties when they are set in sorted order- Parameters:
print-
-
setBasedir
Set the base directory of the project. This property MUST be set.- Parameters:
basedir-
-
setTop
Set the base directory of the project. This property MUST be set.- Parameters:
top-
-