brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aledsage <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: Handle class-renames in persisted...
Date Sun, 30 Aug 2015 11:12:21 GMT
Github user aledsage commented on the pull request:

    https://github.com/apache/incubator-brooklyn/pull/872#issuecomment-136129135
  
    Note that we went for handling the class-renames in xstream deserialization. And in catalog-loading
where it has fallen back to classpath-based loading.
    
    The alternative would have been to transform the persisted state (e.g. using xslt). However,
the classname can appear in many different ways / places within the xml, which makes it hard
to reliably transform. One can't just do a regex conversion because the classname might have
been used as part of a sensor / config key name (which has not been changed).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message