Package org.apache.ivy.ant
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 String
Use to avoid overriding a previous definition of settings with the same idstatic final String
Use to raise an error if attempting to override a previous definition of settings with the same idstatic final String
Use to override a previous definition of settings with the same idFields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
execute()
getFile()
getHost()
getRealm()
getUrl()
void
void
void
setOverride
(String override) void
void
void
setSettingsId
(String settingsId) void
void
void
setUserName
(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, setTaskType
Methods 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:
execute
in classorg.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
-