Class IvyCachePath

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class IvyCachePath
    extends IvyCacheTask
    Creates an ant path consisting in all artifacts found during a resolve.
    • Constructor Detail

      • IvyCachePath

        public IvyCachePath()
    • 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.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
      • addToPath

        protected void addToPath​(org.apache.tools.ant.types.Path path,
                                 java.io.File f)
                          throws java.lang.Exception
        Throws:
        java.lang.Exception