[rules-users] Comparing KnowledgePackages for Equality

Esteban Aliverti esteban.aliverti at gmail.com
Thu Mar 21 09:31:48 EDT 2013


The old knowledge agent did something similar to what you are looking for.
Maybe you could take a look at its implementation and reuse some of the
code:
https://github.com/droolsjbpm/drools/blob/5.5.x/drools-core/src/main/java/org/drools/agent/impl/BinaryResourceDiffProducerImpl.java


Best Regards,


XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Blog @ http://ilesteban.wordpress.com


On Thu, Mar 21, 2013 at 2:27 PM, gqmulligan <gqmulligan at gmail.com> wrote:

> Thanks for the suggestion Wolfgang. The problem is that hibernate does
> serialize the packages to compare the bytes and they are still somehow
> different.
>
> I also felt like I did a test before where I read a serialized package from
> the database, serialized it again, and the bytes were different from the
> original.
>
> I will test this again to be sure.
>
> Thanks.
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Comparing-KnowledgePackages-for-Equality-tp4022952p4022967.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130321/1663c36d/attachment.html 


More information about the rules-users mailing list