ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée <nicolas.lale...@hibnet.org>
Subject Re: Ivy's ModuleDescriptor.getExtraInfo() is now deprecated
Date Sun, 11 May 2014 20:42:18 GMT

Le 11 mai 2014 à 19:12, Jean-Louis Boudart <jeanlouis.boudart@gmail.com> a écrit :

> Hi Nicolas,
> 
> This was introduced by IVY-1457 and breaks backward compatibility as
> mentioned there. All call to old api from ivy-core itslef has been migrated
> on trunk. I didn't find any elegant way to make it backward compatible.
> Suggestion are welcome.
> 
> But yeah basically you get the idea :/

As far as I understand getExtraInfo was kind of broken. I think I have managed to make getExtraInfo
and getExtraInfos work together, explicating in the doc that the former will barely work,
but at least work a little bit. See my commit r1593855. As far as I can tell, tests pass well.

Nicolas

> 
> 
> 2014-05-11 17:07 GMT+02:00 Nicolas Lalevée <nicolas.lalevee@hibnet.org>:
> 
>> Hi,
>> 
>> ModuleDescriptor.getExtraInfo() is deprecated but there is no indication
>> in the doc about what should be used then. There is getExtraInfos(), but as
>> I look to the code, there is no data transfer between both, if if there is
>> data in one, I cannot get the data from the other one. And since the
>> XmlModuleDescriptorWriter is only handling "ExtraInfoHolder", some data are
>> lost.
>> 
>> For this new need method getExtraInfos() to work properly, I guess it have
>> to handle all the calls to the deprecated getExtraInfo(). Am I missing
>> something ?
>> 
>> Nicolas
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>> For additional commands, e-mail: dev-help@ant.apache.org
>> 
>> 
> 
> 
> -- 
> Jean Louis Boudart
> Independent consultant
> Apache EasyAnt commiter http://ant.apache.org/easyant/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message