Ant 1.6.1 like Configurator
This configurator is used to configure elements (initialised with setRoot)
using the behaviour defined by ant for its tasks.
DualResolver is used to resolve dependencies with one dependency revolver, called ivy resolver,
and then download artifacts found in the resolved dependencies from a second dependency resolver,
called artifact resolver.
Resolve a module by id, getting its module descriptor and
resolving the revision if it's a latest one (i.e. a revision
uniquely identifying the revision of a module in the current environment -
If this revision is not able to identify uniquelely the revision of the module
outside of the current environment, then the resolved revision must begin by ##)
Returns the eviction data for this node if it has been previously evicted in the most far parent
of the given node, null otherwise (if it hasn't been evicted in root) for the
given rootModuleConf.
This method is used to get appropriate http downloader
dependening on Jakarta Commons HttpClient
availability in classpath, or simply use jdk url
handling in other cases.
This method is used to get appropriate http downloader
dependening on Jakarta Commons HttpClient
availability in classpath, or simply use jdk url
handling in other cases.
the publication date of the module revision should be the date at which it has been published,
i.e. in general the date of any of its published artifacts, since all published artifact
of a module should follow the same publishing cycle.
IvyRepResolver is a resolver which can be used to resolve dependencies found
in the ivy official repository for ivy files and ibiblio maven repository for the artifacts,
or similar repositories.
class used to launch ivy as a standalone tool
arguments are :
-conf : indicates the path to the ivy configuration file
ivyconf.xml is assumed if not given
-cache : indicates the path to the cache directory
cache is assumed if not given
-ivy : indicates the path to the ivy file to use
ivy.xml is assumed if not given
-retrieve : when used, retrieve is also done using the given retrievepattern
-revision : the revision with which the module should be published, required to publish
-status : the status with which the module should be published,
release is assumed if not given
-publish : the pattern used to publish the resolved ivy file,
ivy-[revision].xml is assumed if not given
Main() -
Constructor for class fr.jayasoft.ivy.Main
the same ResolvedModuleRevision except that we say that it is another resolver
which resolved the dependency, so that it's it that is used for artifact download
==> forward all except getResolver method
Saves the information of which resolver was used to resolve a md,
so that this info can be retrieve later (even after a jvm restart)
by getSavedResolverName(ModuleDescriptor md)
TransferEvent is used to notify TransferListeners about progress in transfer
of resources form/to the respository
This class is LARGELY inspired by org.apache.maven.wagon.events.TransferEvent
released under the following copyright license:
Copyright 2001-2005 The Apache Software Foundation.