<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'><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>&nbsp;</P>
<P>We don't use the classes below (at least not intentionnaly), we simply try to get the source (from Guvnor URL) or "compile" 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>&nbsp;</P>
<P>
<HR id=zwchr>
</P>
<P><B>De: </B>"Michael Anstis" &lt;michael.anstis@gmail.com&gt;<BR><B>À: </B>"Rules Users List" &lt;rules-users@lists.jboss.org&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<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></P>
<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: rgb(204,204,204) 1px solid; 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>&nbsp;</P>
<P>We tried to use the 5.2.Final version of Guvnor, but the compilation fails with an error saying that class "dtable" does not exists.</P>
<P>After looking more depply, it appears that the XML&nbsp;storage format has changed in 5.2.Final : </P>
<P>- root XML is now&nbsp;"<FONT size=2>decision-table52<FONT size=3>" instead of "dtable"</FONT></FONT></P>
<P>- pattern is now "<FONT size=2>org.drools.guvnor.client.modeldriven.dt52.Pattern52</FONT>" with some condition-column grouped by fact, instead of independant condition-column </P>
<P>- actions&nbsp;is now&nbsp;"<FONT size=2>insert-fact-column</FONT>52" instead of the same thing without version in it, but this time no structure changes ...</P>
<P>&nbsp;</P>
<P>Is there a way to migrate old tables to new format ? </P>
<P>Changing&nbsp;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>rules-users@lists.jboss.org<BR>https://lists.jboss.org/mailman/listinfo/rules-users<BR></div></body></html>