<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.3790.4857" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=745140516-12072011><FONT face=Arial 
color=#0000ff size=2>Is the statement about backwards compatibility only true 
for CEP and decision tables, or does it pertain to upgrading from 5.2.M2 to 
Final as a whole?&nbsp; </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=745140516-12072011><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=745140516-12072011><FONT face=Arial 
color=#0000ff size=2>My project has been trying to upgrade from 5.2.M2 to Final, 
and we are having problems with our StatefulKnowledgeSession not containing any 
of the processes or fact types defined in our guvnor 
package.</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=745140516-12072011><FONT face=Arial color=#0000ff 
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=745140516-12072011><FONT face=Arial color=#0000ff 
size=2>Rob</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> rules-users-bounces@lists.jboss.org 
[mailto:rules-users-bounces@lists.jboss.org] <B>On Behalf Of </B>Michael 
Anstis<BR><B>Sent:</B> Tuesday, July 12, 2011 11:53 AM<BR><B>To:</B> Rules Users 
List<BR><B>Subject:</B> Re: [rules-users] repository in 5.2.M2 crashes in 
5.2.Final because of decision table serialization<BR></FONT><BR></DIV>
<DIV></DIV>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="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
  <DIV>
  <DIV style="FONT-SIZE: 12pt; COLOR: rgb(0,0,0); FONT-FAMILY: Times New Roman">
  <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></P>
  <HR>

  <P><B>De: </B>"Michael Anstis" &lt;<A href="mailto:michael.anstis@gmail.com" 
  target=_blank>michael.anstis@gmail.com</A>&gt;<BR><B>À: </B>"Rules Users List" 
  &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 class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
    <DIV>
    <DIV 
    style="FONT-SIZE: 12pt; COLOR: rgb(0,0,0); FONT-FAMILY: Times New Roman">
    <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><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></BODY></HTML>