That explains it.<br><br>The CEP changes were made between 5.2.M2 and Final.<br><br>Since 5.2.M2 was a beta Mark Proctor was OK not keeping backwards compatibility between the M2 and Final. I checked before making the changes.<br>
<br>Unfortunately the code-base only supports automatic conversion between 5.1.Final and 5.2.Final. Any guided decision tables made on 5.2.M1, 5.2.M2 and 5.2.CR1 are incompatible with 5.2.Final.<br><br>With kind regards,<br>
<br>Mike<br><br><div class="gmail_quote">2011/7/12 Vincent LEGENDRE <span dir="ltr">&lt;<a href="mailto:vincent.legendre@eurodecision.com">vincent.legendre@eurodecision.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div style="font-family: Times New Roman; font-size: 12pt; color: rgb(0, 0, 0);"><p>We had a repository done with 5.2.M2.</p>
<p>We had exported this in a xml, and import this xml in a new 5.2.Final version</p>
<p> </p>
<p>We don&#39;t use the classes below (at least not intentionnaly), we simply try to get the source (from Guvnor URL) or &quot;compile&quot; a package (from the package view).</p>
<p><br>Is there a way to use org.drools.ide.common.server.util.RepositoryUpgradeHelper to convert the repository explicitely ?</p>
<p><br> </p>
<p>
</p><hr>

<p><b>De: </b>&quot;Michael Anstis&quot; &lt;<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>&gt;<br><b>À: </b>&quot;Rules Users List&quot; &lt;<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>&gt;<br>
<b>Envoyé: </b>Mardi 12 Juillet 2011 17:39:00<br><b>Objet: </b>Re: [rules-users] repository in 5.2.M2 crashes in 5.2.Final because of decision table serialization</p><div><div></div><div class="h5"><br><br>How are you loading and compiling the dtable?<br>
<br>Guvnor uses org.drools.ide.common.server.util.GuidedDTXMLPersistence to convert XML to and from the object model.<br><br>This in turn uses org.drools.ide.common.server.util.RepositoryUpgradeHelper to convert from GuidedDecisionTable to GuidedDecisionTable52.<br>
<br>We had to make some essential changes for Guvnor 5.2 to support CEP operators on the guided decision table.<br><br>With kind regards,<br><br>Mike<br><br></div></div><div><div></div><div class="h5">
<div class="gmail_quote">2011/7/12 Vincent LEGENDRE <span dir="ltr">&lt;<a href="mailto:vincent.legendre@eurodecision.com" target="_blank">vincent.legendre@eurodecision.com</a>&gt;</span><br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
<div>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 12pt;">
<p>Hi all</p>
<p> </p>
<p>We tried to use the 5.2.Final version of Guvnor, but the compilation fails with an error saying that class &quot;dtable&quot; does not exists.</p>
<p>After looking more depply, it appears that the XML storage format has changed in 5.2.Final : </p>
<p>- root XML is now &quot;<font size="2">decision-table52<font size="3">&quot; instead of &quot;dtable&quot;</font></font></p>
<p>- pattern is now &quot;<font size="2">org.drools.guvnor.client.modeldriven.dt52.Pattern52</font>&quot; with some condition-column grouped by fact, instead of independant condition-column </p>
<p>- actions is now &quot;<font size="2">insert-fact-column</font>52&quot; instead of the same thing without version in it, but this time no structure changes ...</p>
<p> </p>
<p>Is there a way to migrate old tables to new format ? </p>
<p>Changing a repository.xml by subtitutions is OK ?</p>
<p>Do we have to plan such problems for future versions ?<br></p></div></div><br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br><br></blockquote></div><br><br>_______________________________________________<br>
rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></div></div><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br>