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.File
basedir
(package private) boolean
print
(package private) java.lang.String
top
-
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 void
checkForTesting(Project project, java.util.Properties properties)
private void
copyProperties(java.util.Properties flattened)
void
execute()
boolean
isPrint()
void
setBasedir(java.io.File basedir)
Set the base directory of the project.void
setPrint(boolean print)
Print out the properties when they are set in sorted ordervoid
setTop(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:
execute
in 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
-
-
-