Class IvyCheck

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

public class IvyCheck extends IvyTask
Checks the given ivy file using current configuration to see if all dependencies are available, with good confs. If a resolver name is given, it also checks that the declared publications are available in the corresponding resolver. Note that the check is not performed recursively, i.e. if a dependency has itself dependencies badly described or not available, this check will not discover it.
  • Constructor Details

    • IvyCheck

      public IvyCheck()
  • Method Details

    • getFile

      public File getFile()
    • setFile

      public void setFile(File file)
    • addFileset

      public void addFileset(org.apache.tools.ant.types.FileSet set)
      Adds a set of files to check.
      Parameters:
      set - a set of files to check
    • getResolvername

      public String getResolvername()
    • setResolvername

      public void setResolvername(String resolverName)
    • 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