org.apache.ivy.ant
Class IvyConfigure
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.ivy.ant.IvyTask
org.apache.ivy.ant.IvyConfigure
- All Implemented Interfaces:
- java.lang.Cloneable
public class IvyConfigure
- extends IvyTask
Configure Ivy with an ivysettings.xml file
- Author:
- Xavier Hanin
Fields inherited from class org.apache.tools.ant.Task |
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
description, location, project |
Methods inherited from class org.apache.ivy.ant.IvyTask |
doValidate, ensureMessageInitialised, getIvyInstance, getProperty, getProperty, getProperty, getProperty, getPubDate, getResolvedConfigurations, getResolvedDescriptor, getResolvedDescriptor, getResolvedDescriptor, getResolvedDescriptor, getResolvedReport, getSettings, isValidate, mergeConfs, setIvyInstance, setProject, setResolved, setResolved, setValidate, splitConfs |
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 |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
clone, getDescription, getLocation, getProject, setDescription, setLocation |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IvyConfigure
public IvyConfigure()
getFile
public java.io.File getFile()
setFile
public void setFile(java.io.File conf)
getUrl
public java.net.URL getUrl()
setUrl
public void setUrl(java.lang.String url)
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
getPasswd
public java.lang.String getPasswd()
setPasswd
public void setPasswd(java.lang.String passwd)
getRealm
public java.lang.String getRealm()
setRealm
public void setRealm(java.lang.String realm)
getHost
public java.lang.String getHost()
setHost
public void setHost(java.lang.String host)
getUsername
public java.lang.String getUsername()
setUsername
public void setUsername(java.lang.String userName)
addConfiguredCredentials
public void addConfiguredCredentials(IvyConfigure.Credentials c)
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