Class IvyConfigure

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

public class IvyConfigure extends org.apache.tools.ant.Task
Configure Ivy with an ivysettings.xml file
  • Field Details

    • OVERRIDE_TRUE

      public static final String OVERRIDE_TRUE
      Use to override a previous definition of settings with the same id
      See Also:
    • OVERRIDE_FALSE

      public static final String OVERRIDE_FALSE
      Use to avoid overriding a previous definition of settings with the same id
      See Also:
    • OVERRIDE_NOT_ALLOWED

      public static final String OVERRIDE_NOT_ALLOWED
      Use to raise an error if attempting to override a previous definition of settings with the same id
      See Also:
  • Constructor Details

    • IvyConfigure

      public IvyConfigure()
  • Method Details

    • setSettingsId

      public void setSettingsId(String settingsId)
    • getSettingsId

      public String getSettingsId()
    • setOverride

      public void setOverride(String override)
    • getOverride

      public String getOverride()
    • getFile

      public File getFile()
    • setFile

      public void setFile(File file)
    • getUrl

      public URL getUrl()
    • setUrl

      public void setUrl(String url) throws MalformedURLException
      Throws:
      MalformedURLException
    • setUrl

      public void setUrl(URL url)
    • getRealm

      public String getRealm()
    • setRealm

      public void setRealm(String realm)
    • getHost

      public String getHost()
    • setHost

      public void setHost(String host)
    • getUserName

      public String getUserName()
    • setUserName

      public void setUserName(String userName)
    • getPasswd

      public String getPasswd()
    • setPasswd

      public void setPasswd(String passwd)
    • addConfiguredWorkspaceResolver

      public void addConfiguredWorkspaceResolver(AntWorkspaceResolver resolver)
    • execute

      public void execute() throws org.apache.tools.ant.BuildException
      Overrides:
      execute in class org.apache.tools.ant.Task
      Throws:
      org.apache.tools.ant.BuildException