On 5/29/07, Gilles Scokart <[EMAIL PROTECTED]> wrote:
The mail of Jean-Baptiste raises a question: What is our published API? For the moment we only considered the backward compatibility of our ant interface. But that should maybe change. Shouldn't we start to define what is our published API, what are the internal classes subject to changes, and what are the 'stable' interface that can be reused? I guess that's an important information for an open source project. But it is also something difficult and it might quickly be heavy. WDYT?
I'm not sure it's related to being open source or not, but more to the use cases we want to address. For the moment Ivy is documented to be usable by two means: from ant or from the command line. From my experience the command line use is marginal. Another mean to use Ivy is to embed it and use classes and interfaces directly. This is what is done in IvyDE, but even though Ivy has been designed to make it possible (no dependency on Ant), this is not documented, and we are still far from providing a clean interface for this. As Stephane said, the code is not ready to provide such an interface, and I agree when you say we should keep it as small as possible. But this is an important point if we want to increase the use of Ivy as a library - which could be interesting for other projects. Xavier Gilles
> -----Original Message----- > From: Jean-Baptiste Quenot [mailto:[EMAIL PROTECTED] > Sent: mardi 29 mai 2007 12:39 > To: [EMAIL PROTECTED] > Subject: Extending IvyBuildList > > Hi Ivy, > > Thanks for providing this great API, and more particularly the > IvyBuildList Ant task that I extend to generate my Hudson > configuration files automatically for continuous build of my > project. > > I only had to slightly modify it to be able to get the list of > sorted modules, and the list of build files. See the attached > patch. > > NOTE: this patch is based on Ivy 1.4.1, but it should be possible > to do the same thing on trunk (the patch does not apply on trunk). > > If this change makes sense to you, I can file a JIRA issue. > > WDYT? > -- > Jean-Baptiste Quenot > aka John Banana Qwerty > http://caraldi.com/jbq/
-- Xavier Hanin - Independent Java Consultant Manage your dependencies with Ivy! http://incubator.apache.org/ivy/
