Class IvyRetrieve

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
All Implemented Interfaces:
Cloneable

public class IvyRetrieve extends IvyPostResolveTask
This task allow to retrieve dependencies from the cache to a local directory like a lib dir.
  • Constructor Details

    • IvyRetrieve

      public IvyRetrieve()
  • Method Details

    • getPattern

      public String getPattern()
    • setPattern

      public void setPattern(String pattern)
    • getPathId

      public String getPathId()
    • setPathId

      public void setPathId(String pathId)
    • getSetId

      public String getSetId()
    • setSetId

      public void setSetId(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 - if something goes wrong
    • getAllowedLogOptions

      protected Collection<String> getAllowedLogOptions()
    • getIvypattern

      public String getIvypattern()
    • setIvypattern

      public void setIvypattern(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.
      Parameters:
      symlink - boolean
    • setSymlinkmass

      @Deprecated public void setSymlinkmass(boolean symlinkmass)
      Deprecated.
      Starting 2.5, symlinking in mass isn't supported
      Option to create symlinks in one mass action, instead of separately.
      Parameters:
      symlinkmass - boolean
    • setOverwriteMode

      public void setOverwriteMode(String overwriteMode)
    • getOverwriteMode

      public 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.