<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    ok thanks for your answer<br>
    So I will try to substitute in the XML and see what happends ...<br>
    <br>
    Just one little more point : you are saying that even the CR1 is not
    compatible with the Final ? For M1 and M2, as they are beta, why
    not, but a CR should be compliant with the final release (in my
    opinion).<br>
    <br>
    <br>
    Le 12/07/2011 18:15, Michael Anstis a &eacute;crit&nbsp;:
    <blockquote
cite="mid:CAAG9P0sDxfNMmPjgoRfq34TJ0MjJxrQAPiSxiFWx2TJRewD+jg@mail.gmail.com"
      type="cite">I am only aware of the changes made around the dtable
      XML.<br>
      <br>
      Declarative fact types would be an interesting one as that had a
      few changes made too to support CEP (addition of annotations).<br>
      <br>
      I am unaware of the difficulties with processes. Somebody else
      here may be able to comment.<br>
      <br>
      <br>
      <div class="gmail_quote">2011/7/12 Atherton, Robert W CIV
        SPAWARSYSCEN-ATLANTIC, 54422 <span dir="ltr">&lt;<a
            moz-do-not-send="true"
            href="mailto:robert.atherton@navy.mil">robert.atherton@navy.mil</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 dir="ltr" align="left"><span><font color="#0000ff"
                  face="Arial" 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></span>&nbsp;</div>
            <div dir="ltr" align="left"><span><font color="#0000ff"
                  face="Arial" 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><font color="#0000ff" face="Arial" size="2">Thanks,</font></span></div>
            <div><span><font color="#0000ff" face="Arial" size="2">Rob</font></span></div>
            <br>
            <div dir="ltr" align="left" lang="en-us">
              <hr>
              <font face="Tahoma" size="2"><b>From:</b> <a
                  moz-do-not-send="true"
                  href="mailto:rules-users-bounces@lists.jboss.org"
                  target="_blank">rules-users-bounces@lists.jboss.org</a>
                [mailto:<a moz-do-not-send="true"
                  href="mailto:rules-users-bounces@lists.jboss.org"
                  target="_blank">rules-users-bounces@lists.jboss.org</a>]
                <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 class="h5">
                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 moz-do-not-send="true"
                      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: 1px
                    solid rgb(204, 204, 204);">
                    <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>
                        <hr>
                        <p><b>De: </b>"Michael Anstis" &lt;<a
                            moz-do-not-send="true"
                            href="mailto:michael.anstis@gmail.com"
                            target="_blank">michael.anstis@gmail.com</a>&gt;<br>
                          <b>&Agrave;: </b>"Rules Users List" &lt;<a
                            moz-do-not-send="true"
                            href="mailto:rules-users@lists.jboss.org"
                            target="_blank">rules-users@lists.jboss.org</a>&gt;<br>
                          <b>Envoy&eacute;: </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><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 class="gmail_quote">2011/7/12 Vincent
                              LEGENDRE <span dir="ltr">&lt;<a
                                  moz-do-not-send="true"
                                  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: 1px solid
                                rgb(204, 204, 204);">
                                <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 moz-do-not-send="true"
                                  href="mailto:rules-users@lists.jboss.org"
                                  target="_blank">rules-users@lists.jboss.org</a><br>
                                <a moz-do-not-send="true"
                                  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 moz-do-not-send="true"
                              href="mailto:rules-users@lists.jboss.org"
                              target="_blank">rules-users@lists.jboss.org</a><br>
                            <a moz-do-not-send="true"
                              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 moz-do-not-send="true"
                      href="mailto:rules-users@lists.jboss.org"
                      target="_blank">rules-users@lists.jboss.org</a><br>
                    <a moz-do-not-send="true"
                      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>
              </div>
            </div>
          </div>
          <br>
          _______________________________________________<br>
          rules-users mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
          <a moz-do-not-send="true"
            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>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
    </blockquote>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      <!--  @author Hadrien HUGOT -->
      <!-- Mod&egrave;le signature thunderbird et autres  -->
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <title>CARTE DE VISITE</title>
      <span style="font-size: 13.5pt; font-family:
        &quot;Arial&quot;,&quot;sans-serif&quot;; color: rgb(21, 24,
        90);">Vincent LEGENDRE</span><br>
      <i><span style="font-size: 8.5pt; font-family:
          &quot;Arial&quot;,&quot;sans-serif&quot;; color: rgb(21, 24,
          90);">Consultant S&eacute;nior</span></i><br>
      <span style="font-size: 4.5pt;"> <br>
      </span>
      <span style="font-size: 9pt; font-family:
        &quot;Arial&quot;,&quot;sans-serif&quot;; color: rgb(21, 24,
        90);">EURODECISION<o:p></o:p></span><br>
      <span style="font-size: 9pt; font-family:
        &quot;Arial&quot;,&quot;sans-serif&quot;; color: rgb(21, 24,
        90);">9A rue de la Porte de Buc 78000 VERSAILLES<br>
        T&eacute;l. : +33 (0)1 39 07 12 40<br>
        Direct : +33 (0)1 39 07 26 16<br>
        <a href="www.eurodecision.com">www.eurodecision.com</a></span><br>
      <a href="http://www.eurodecision.com/"><span style="font-size:
          12pt; font-family: &quot;Times New
          Roman&quot;,&quot;serif&quot;; color: windowtext;
          text-decoration: none;"> <img
            src="cid:part1.06070803.07000702@eurodecision.com"
            alt="EURODECISION" border="no"></span></a><a
        href="http://www.eurodecision.com/"><span style="font-size:
          12pt; font-family: &quot;Times New
          Roman&quot;,&quot;serif&quot;; color: windowtext;
          text-decoration: none;"> </span></a>
    </div>
  </body>
</html>