On Tue, Jul 15, 2008 at 9:23 AM, Stefan Bodewig <[EMAIL PROTECTED]> wrote:
> On Tue, 15 Jul 2008, Xavier Hanin <[EMAIL PROTECTED]> wrote: > > > On Tue, Jul 15, 2008 at 8:53 AM, Stefan Bodewig <[EMAIL PROTECTED]> > wrote: > > > > > On Mon, 14 Jul 2008, Stefan Bodewig <[EMAIL PROTECTED]> wrote: > > > > > > On Mon, 14 Jul 2008, Maarten Coene <[EMAIL PROTECTED]> wrote: > > > > > > >> I changed that recently. IvyAntSettings is now a DataType again... > > > >> They should use the IvyConfigure task instead. > > > > > > > > OK, thanks. Looked straight forward so I just committed the > > > > necessary patch. > > > > > > Ant-contrib also invokes setId() on the task, which works fine with > > > Ivy 2.0.0beta2 but fails with trunk. > > > > > > Could you please re-add the setid method? > > > > setId is now setSettingsId on IvyConfigure, which is more in conformance > > with Ant, since we are not setting the id of the task, but of the > underneath > > datatype. > > OK, what can ant-contrib do if it wants to compile against Ivy > 2.0.0beta2 and trunk with the same codebase? This is not straightforward, since we broke the API. I guess the solution is to use java reflection API to detect if there is a setId or a setSettingsId method, and call it via reflection. Xavier > > > Stefan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://ant.apache.org/ivy/ http://www.xoocode.org/