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 Summary
FieldsModifier and TypeFieldDescriptionstatic final StringUse to avoid overriding a previous definition of settings with the same idstatic final StringUse to raise an error if attempting to override a previous definition of settings with the same idstatic final StringUse to override a previous definition of settings with the same idFields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapperFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidexecute()getFile()getHost()getRealm()getUrl()voidvoidvoidsetOverride(String override) voidvoidvoidsetSettingsId(String settingsId) voidvoidvoidsetUserName(String userName) 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, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Field Details
-
OVERRIDE_TRUE
Use to override a previous definition of settings with the same id- See Also:
-
OVERRIDE_FALSE
Use to avoid overriding a previous definition of settings with the same id- See Also:
-
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
-
getSettingsId
-
setOverride
-
getOverride
-
getFile
-
setFile
-
getUrl
-
setUrl
- Throws:
MalformedURLException
-
setUrl
-
getRealm
-
setRealm
-
getHost
-
setHost
-
getUserName
-
setUserName
-
getPasswd
-
setPasswd
-
addConfiguredWorkspaceResolver
-
execute
public void execute() throws org.apache.tools.ant.BuildException- Overrides:
executein classorg.apache.tools.ant.Task- Throws:
org.apache.tools.ant.BuildException
-