| java.lang.Object org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorUpdater
XmlModuleDescriptorUpdater | final public class XmlModuleDescriptorUpdater (Code) | | Used to update ivy files. Uses ivy file as source and not ModuleDescriptor to preserve as much as
possible the original syntax
|
Method Summary | |
public static void | update(URL srcURL, File destFile, Map resolvedRevisions, String status, String revision, Date pubdate, String[] confsToExclude) | public static void | update(ParserSettings settings, URL srcURL, File destFile, Map resolvedRevisions, String status, String revision, Date pubdate, Namespace ns, boolean replaceInclude, String[] confsToExclude) | public static void | update(ParserSettings settings, URL srcURL, OutputStream destFile, Map resolvedRevisions, String status, String revision, Date pubdate, Namespace ns, boolean replaceInclude, String[] confsToExclude) | public static void | update(IvySettings settings, InputStream in, Resource res, File destFile, Map resolvedRevisions, String status, String revision, Date pubdate, Namespace ns, boolean replaceInclude, String[] confsToExclude) | public static void | update(ParserSettings settings, URL inStreamCtx, InputStream inStream, OutputStream outStream, Map resolvedRevisions, String status, String revision, Date pubdate, Namespace ns, boolean replaceInclude, String[] confsToExclude) |
update | public static void update(URL srcURL, File destFile, Map resolvedRevisions, String status, String revision, Date pubdate, String[] confsToExclude) throws IOException, SAXException(Code) | | used to copy a module descriptor xml file (also known as ivy file) and update the revisions
of its dependencies, its status and revision
Parameters: srcURL - the url of the source module descriptor file Parameters: destFile - The file to which the updated module descriptor should be output Parameters: resolvedRevisions - Map from ModuleId of dependencies to new revision (as String) Parameters: status - the new status, null to keep the old one Parameters: revision - the new revision, null to keep the old one |
update | public static void update(ParserSettings settings, URL srcURL, File destFile, Map resolvedRevisions, String status, String revision, Date pubdate, Namespace ns, boolean replaceInclude, String[] confsToExclude) throws IOException, SAXException(Code) | | |
update | public static void update(ParserSettings settings, URL srcURL, OutputStream destFile, Map resolvedRevisions, String status, String revision, Date pubdate, Namespace ns, boolean replaceInclude, String[] confsToExclude) throws IOException, SAXException(Code) | | |
update | public static void update(IvySettings settings, InputStream in, Resource res, File destFile, Map resolvedRevisions, String status, String revision, Date pubdate, Namespace ns, boolean replaceInclude, String[] confsToExclude) throws IOException, SAXException(Code) | | |
update | public static void update(ParserSettings settings, URL inStreamCtx, InputStream inStream, OutputStream outStream, Map resolvedRevisions, String status, String revision, Date pubdate, Namespace ns, boolean replaceInclude, String[] confsToExclude) throws IOException, SAXException(Code) | | |
|
|