general practice is to keep old attribute (deprecated) set as transient and
use readResolve() to translate them to the new model.

2012/11/3 Ognjen Bubalo <[email protected]>

> Hi,
>
> I refactored the JaCoCo plugin and now I get exceptions like:
> com.thoughtworks.xstream.converters.reflection.NonExistentFieldException:
> No such field hudson.plugins.jacoco.JacocoBuildAction.build.
>
> This was a bigger refactor so I don't think it should be clever to put
> back the old fields.
>
> Is there a solution for not loading older builds?
>
> Thanks,
> Ogi
>

Reply via email to