Package org.apache.ivy.ant
Class IvyBuildList
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- org.apache.ivy.ant.IvyTask
-
- org.apache.ivy.ant.IvyBuildList
-
- All Implemented Interfaces:
java.lang.Cloneable
public class IvyBuildList extends IvyTask
Creates an ant filelist of files (usually build.xml) ordered according to the dependencies declared in ivy files.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIvyBuildList.BuildListModulestatic classIvyBuildList.OnMissingDescriptor
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDESCRIPTOR_REQUIRED-
Fields inherited from class org.apache.ivy.ant.IvyTask
ANT_PROJECT_CONTEXT_KEY
-
-
Constructor Summary
Constructors Constructor Description IvyBuildList()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddFileset(org.apache.tools.ant.types.FileSet buildFiles)IvyBuildList.BuildListModulecreateLeaf()IvyBuildList.BuildListModulecreateRoot()voiddoExecute()The real logic of task execution after project has been set in the context.java.lang.StringgetDelimiter()java.lang.StringgetIvyfilepath()java.lang.StringgetLeaf()booleangetOnlydirectdep()java.lang.StringgetOnMissingDescriptor()java.lang.StringgetReference()java.lang.StringgetRestartFrom()java.lang.StringgetRoot()booleanisExcludeLeaf()booleanisExcludeRoot()booleanisHaltonerror()booleanisReverse()booleanisSkipbuildwithoutivy()Deprecated.usegetOnMissingDescriptor()instead.voidsetDelimiter(java.lang.String delimiter)voidsetExcludeLeaf(boolean excludeLeaf)voidsetExcludeRoot(boolean root)voidsetHaltonerror(boolean haltOnError)voidsetIvyfilepath(java.lang.String ivyFilePath)voidsetLeaf(java.lang.String leaf)voidsetOnlydirectdep(boolean onlydirectdep)voidsetOnMissingDescriptor(java.lang.String onMissingDescriptor)voidsetReference(java.lang.String reference)voidsetRestartFrom(java.lang.String restartFrom)voidsetReverse(boolean reverse)voidsetRoot(java.lang.String root)voidsetSkipbuildwithoutivy(boolean skipBuildFilesWithoutIvy)Deprecated.usesetOnMissingDescriptor(String)instead.-
Methods inherited from class org.apache.ivy.ant.IvyTask
cacheAttributeNotSupported, doValidate, execute, finalizeTask, getIvyInstance, getProperty, getProperty, getProperty, getProperty, getPubDate, getResolvedConfigurations, getResolvedDescriptor, getResolvedDescriptor, getResolvedDescriptor, getResolvedDescriptor, getResolvedReport, getSettings, getSettingsRef, isValidate, mergeConfs, prepareTask, setResolved, setResolved, setSettingsRef, setValidate, splitConfs, toString
-
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
-
-
-
-
Field Detail
-
DESCRIPTOR_REQUIRED
public static final java.lang.String DESCRIPTOR_REQUIRED
- See Also:
- Constant Field Values
-
-
Method Detail
-
addFileset
public void addFileset(org.apache.tools.ant.types.FileSet buildFiles)
-
getReference
public java.lang.String getReference()
-
setReference
public void setReference(java.lang.String reference)
-
getRoot
public java.lang.String getRoot()
-
setRoot
public void setRoot(java.lang.String root)
-
createRoot
public IvyBuildList.BuildListModule createRoot()
-
isExcludeRoot
public boolean isExcludeRoot()
-
setExcludeRoot
public void setExcludeRoot(boolean root)
-
getLeaf
public java.lang.String getLeaf()
-
setLeaf
public void setLeaf(java.lang.String leaf)
-
createLeaf
public IvyBuildList.BuildListModule createLeaf()
-
isExcludeLeaf
public boolean isExcludeLeaf()
-
setExcludeLeaf
public void setExcludeLeaf(boolean excludeLeaf)
-
getDelimiter
public java.lang.String getDelimiter()
-
setDelimiter
public void setDelimiter(java.lang.String delimiter)
-
getOnlydirectdep
public boolean getOnlydirectdep()
-
setOnlydirectdep
public void setOnlydirectdep(boolean onlydirectdep)
-
doExecute
public void doExecute() throws org.apache.tools.ant.BuildExceptionDescription copied from class:IvyTaskThe real logic of task execution after project has been set in the context. MUST be implemented by subclasses
-
isHaltonerror
public boolean isHaltonerror()
-
setHaltonerror
public void setHaltonerror(boolean haltOnError)
-
getIvyfilepath
public java.lang.String getIvyfilepath()
-
setIvyfilepath
public void setIvyfilepath(java.lang.String ivyFilePath)
-
getOnMissingDescriptor
public java.lang.String getOnMissingDescriptor()
-
setOnMissingDescriptor
public void setOnMissingDescriptor(java.lang.String onMissingDescriptor)
-
isSkipbuildwithoutivy
@Deprecated public boolean isSkipbuildwithoutivy()
Deprecated.usegetOnMissingDescriptor()instead.- Returns:
- boolean
-
setSkipbuildwithoutivy
@Deprecated public void setSkipbuildwithoutivy(boolean skipBuildFilesWithoutIvy)
Deprecated.usesetOnMissingDescriptor(String)instead.- Parameters:
skipBuildFilesWithoutIvy- boolean
-
isReverse
public boolean isReverse()
-
setReverse
public void setReverse(boolean reverse)
-
getRestartFrom
public java.lang.String getRestartFrom()
-
setRestartFrom
public void setRestartFrom(java.lang.String restartFrom)
-
-