Package org.apache.ivy.ant
Class IvyCachePath
- 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.IvyCacheTask
-
- org.apache.ivy.ant.IvyCachePath
-
- All Implemented Interfaces:
java.lang.Cloneable
public class IvyCachePath extends IvyCacheTask
Creates an ant path consisting in all artifacts found during a resolve.
-
-
Field Summary
-
Fields inherited from class org.apache.ivy.ant.IvyTask
ANT_PROJECT_CONTEXT_KEY
-
-
Constructor Summary
Constructors Constructor Description IvyCachePath()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidaddToPath(org.apache.tools.ant.types.Path path, java.io.File f)voiddoExecute()The real logic of task execution after project has been set in the context.java.lang.StringgetPathid()voidsetId(java.lang.String id)Deprecated.use setPathid insteadvoidsetOsgi(boolean osgi)voidsetPathid(java.lang.String id)-
Methods inherited from class org.apache.ivy.ant.IvyCacheTask
getArtifactReports
-
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
-
-
-
-
Method Detail
-
getPathid
public java.lang.String getPathid()
-
setPathid
public void setPathid(java.lang.String id)
-
setOsgi
public void setOsgi(boolean osgi)
-
setId
@Deprecated public void setId(java.lang.String id)
Deprecated.use setPathid instead- Parameters:
id- String
-
doExecute
public void doExecute() throws org.apache.tools.ant.BuildExceptionDescription copied from class:IvyTaskThe real logic of task execution after project has been set in the context. MUST be implemented by subclasses
-
addToPath
protected void addToPath(org.apache.tools.ant.types.Path path, java.io.File f) throws java.lang.Exception- Throws:
java.lang.Exception
-
-