org.apache.ivy.ant
Class IvyRetrieve
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.ivy.ant.IvyTask
org.apache.ivy.ant.IvyPostResolveTask
org.apache.ivy.ant.IvyRetrieve
- All Implemented Interfaces:
- java.lang.Cloneable
public class IvyRetrieve
- extends IvyPostResolveTask
This task allow to retrieve dependencies from the cache to a local directory like a lib dir.
Fields inherited from class org.apache.tools.ant.Task |
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
description, location, project |
Methods inherited from class org.apache.ivy.ant.IvyPostResolveTask |
createConflict, createDependency, createExclude, ensureResolved, getArtifactFilter, getBranch, getConf, getConfsToResolve, getConfsToResolve, getFile, getLog, getModule, getOrganisation, getResolvedModuleId, getResolvedMrid, getResolvedReport, getResolveId, getResolveMode, getRevision, getType, isChanging, isHaltonfailure, isInline, isKeep, isRefresh, isTransitive, isUseOrigin, prepareAndCheck, setBranch, setCache, setChanging, setConf, setFile, setHaltonfailure, setInline, setKeep, setLog, setModule, setOrganisation, setRefresh, setResolveId, setResolveMode, setRevision, setTransitive, setType, setupResolve, setUseOrigin |
Methods inherited from class org.apache.ivy.ant.IvyTask |
cacheAttributeNotSupported, doValidate, execute, finalizeTask, getIvyInstance, getProperty, getProperty, getProperty, getProperty, getPubDate, getResolvedConfigurations, getResolvedDescriptor, getResolvedDescriptor, getResolvedDescriptor, getResolvedDescriptor, getResolvedReport, getSettings, getSettingsRef, isValidate, mergeConfs, prepareTask, setResolved, setResolved, setSettingsRef, setValidate, splitConfs, toString |
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 |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IvyRetrieve
public IvyRetrieve()
getPattern
public java.lang.String getPattern()
setPattern
public void setPattern(java.lang.String pattern)
getPathId
public java.lang.String getPathId()
setPathId
public void setPathId(java.lang.String pathId)
getSetId
public java.lang.String getSetId()
setSetId
public void setSetId(java.lang.String setId)
doExecute
public void doExecute()
throws org.apache.tools.ant.BuildException
- Description copied from class:
IvyTask
- The real logic of task execution after project has been set in the context. MUST be
implemented by subclasses
- Specified by:
doExecute
in class IvyTask
- Throws:
org.apache.tools.ant.BuildException
getAllowedLogOptions
protected java.util.Collection getAllowedLogOptions()
getIvypattern
public java.lang.String getIvypattern()
setIvypattern
public void setIvypattern(java.lang.String ivypattern)
isSync
public boolean isSync()
setSync
public void setSync(boolean sync)
setSymlink
public void setSymlink(boolean symlink)
- Option to create symlinks instead of copying.
setOverwriteMode
public void setOverwriteMode(java.lang.String overwriteMode)
getOverwriteMode
public java.lang.String getOverwriteMode()
addMapper
public void addMapper(org.apache.tools.ant.types.Mapper mapper)
- Add a mapper to convert the file names.
- Parameters:
mapper
- a Mapper
value.
add
public void add(org.apache.tools.ant.util.FileNameMapper fileNameMapper)
- Add a nested filenamemapper.
- Parameters:
fileNameMapper
- the mapper to add.