org.apache.ivy.plugins.resolver.packager
public class PackagerResolver extends URLResolver
The resolver is configured with a base URL, from which the "ivy.xml" and "packager.xml" files are resolved. The latter file contains instructions describing how to build the actual artifacts.
| Constructor Summary | |
|---|---|
| PackagerResolver() | |
| Method Summary | |
|---|---|
| protected void | clearCache() |
| protected ResolvedResource | findArtifactRef(Artifact artifact, Date date) |
| File | getBuildRoot()
Returns root directory under which builds take place. |
| File | getResourceCache()
Get resource cache directory. |
| String | getTypeName() |
| void | setAllownomd(boolean b) |
| void | setBuildRoot(File buildRoot)
Set root directory under which builds take place. |
| void | setDescriptor(String rule) |
| void | setPackagerPattern(String pattern)
Set pattern for locating "packager.xml" files. |
| void | setPreserveBuildDirectories(boolean preserve)
Set whether to preserve build directories. |
| void | setProperty(String propertyKey, String propertyValue)
Sets a property to be passed to the child Ant build responsible for packaging the dependency.
|
| void | setQuiet(boolean quiet)
Set whether to run ant with the -quiet flag. |
| void | setResourceCache(File resourceCache)
Set resource cache directory. |
| void | setResourceURL(String resourceURL)
Set base resource override URL pattern. |
| void | setRestricted(boolean restricted)
Set whether to enable restricted mode. |
| void | setValidate(boolean validate)
Set whether to validate downloaded packager.xml files. |
| void | setVerbose(boolean verbose)
Set whether to run ant with the -verbose flag. |
| void | validate() |
Parameters: propertyKey the property to pass propertyValue the value of the property to pass