Class AntResolver
java.lang.Object
org.apache.tools.ant.taskdefs.optional.extension.resolvers.AntResolver
- All Implemented Interfaces:
ExtensionResolver
Resolver that just returns s specified location.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the resolved filevoid
setAntfile
(File antfile) Sets the ant filevoid
setDestfile
(File destfile) Sets the destination filevoid
Sets the targettoString()
Returns a string representation
-
Constructor Details
-
AntResolver
public AntResolver()
-
-
Method Details
-
setAntfile
Sets the ant file- Parameters:
antfile
- the ant file to set
-
setDestfile
Sets the destination file- Parameters:
destfile
- the destination file
-
setTarget
Sets the target- Parameters:
target
- the target
-
resolve
Returns the resolved file- Specified by:
resolve
in interfaceExtensionResolver
- Parameters:
extension
- the extensionproject
- the project- Returns:
- the file resolved
- Throws:
BuildException
- if the file cannot be resolved
-
toString
Returns a string representation
-