ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin" <xavier.ha...@gmail.com>
Subject Re: Publishing ivy files
Date Mon, 28 Jan 2008 08:20:29 GMT
You need to provide an Ivy file for Ivy to publish it. But generating the
file on the fly is very easy with the module descriptor, you just have to
use XmlModuleDescriptorWriter.

Xavier

On Jan 23, 2008 10:20 PM, Hans Dockter <mail@dockter.biz> wrote:

> I would like to add that so far I use for publishing the following
> method of the PublishEngine:
>
> public Collection publish(ModuleDescriptor md, Collection
> srcArtifactPattern,
>             DependencyResolver resolver, PublishOptions options)
> throws IOException { ...
>
> - Hans
>
> On Jan 23, 2008, at 10:15 PM, Hans Dockter wrote:
>
> > I have the following requirement. My build tool, which uses ivy
> > under the hood, does not work with ivy files. It uses Ivy via its
> > API and thus creates the ModuleDescriptors, DependencyDescriptors,
> > etc ... My problem is to publish a module via its
> > ModuleDescriptors. The artifacts are published without any
> > problems. But I want the ivy file also to be published to the
> > repository. But locally there exists no ivy file. Only the
> > ModuleDescriptor exists in memory.
> >
> > Is there a way that Ivy does the ivy file generation on the fly for
> > publishing? Or do I have to locally generate a temporary ivy file,
> > to get it published?
> >
> > - Hans
> >
>
>
>


-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://ant.apache.org/ivy/
http://www.xoocode.org/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message