<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 21/02/2012 18:27, Andrew Waterman wrote:
    <blockquote
      cite="mid:0616BF38-73CC-4A21-8E88-0871024452B9@ecosur.mx"
      type="cite">Hey Toni,
      <div><br>
      </div>
      <div>What's the recommended comment type now for DRL files?</div>
    </blockquote>
    It's always been // and /*......*/ some how # slipped in and got
    forgotten about and I noticed people using it. I think it was done
    in a very early pre drools 3.0 alpha, and just lived on ever since.
    Trying to correct that now and tighten up on undocumented forgotten
    things like this.<br>
    <br>
    Mark<br>
    <blockquote
      cite="mid:0616BF38-73CC-4A21-8E88-0871024452B9@ecosur.mx"
      type="cite">
      <div><br>
      </div>
      <div>
        <blockquote type="cite">
          <div class="titlepage" style="color: rgb(51, 51, 51);
            font-family: 'Lucida Grande', Geneva, Verdana, Arial,
            sans-serif; font-size: 12px; font-style: normal;
            font-variant: normal; font-weight: normal; letter-spacing:
            normal; line-height: 18px; orphans: 2; text-align: justify;
            text-indent: 0px; text-transform: none; white-space: normal;
            widows: 2; word-spacing: 0px; -webkit-text-size-adjust:
            auto; -webkit-text-stroke-width: 0px; ">
            <div>
              <div>
                <h4 class="title" style="color: rgb(74, 93, 117);
                  line-height: 16px; margin-top: 0em; font-family:
                  'Lucida Grande', Geneva, Verdana, Arial, sans-serif;
                  background-color: transparent; font-size: 1.1em;
                  padding-top: 0em; padding-bottom: 0em; "><a
                    moz-do-not-send="true" id="d0e385">3.1.2.4.&nbsp;Usage of
                    '#' for commenting will be dropped in 5.4.0.Final</a></h4>
              </div>
            </div>
          </div>
          <a moz-do-not-send="true" id="d0e385" style="color: rgb(51,
            51, 51); font-family: 'Lucida Grande', Geneva, Verdana,
            Arial, sans-serif; font-size: 12px; font-style: normal;
            font-variant: normal; font-weight: normal; letter-spacing:
            normal; line-height: 18px; orphans: 2; text-align: justify;
            text-indent: 0px; text-transform: none; white-space: normal;
            widows: 2; word-spacing: 0px; -webkit-text-size-adjust:
            auto; -webkit-text-stroke-width: 0px; ">
            <p>This feature hasn't been documented, but writing comments
              with '#' is currently possible. This feature will be
              dropped before 5.4.0.Final.</p>
          </a></blockquote>
      </div>
      <div><br>
      </div>
      <div>Also, it looks like Java Generics (even when not used in a
        where clause) are breaking DRL compilation since 5.3.&nbsp;</div>
      <div><br>
      </div>
      <div>E.g.:</div>
      <div><br>
      </div>
      <div>when&nbsp;</div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span>C$
        : Cheese (type == "Stilton")</div>
      <div>then</div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span>Set&lt;Ingredient&gt;
        ingredients = C$.getIngredients();</div>
      <div>end</div>
      <div><br>
      </div>
      <div>Where Cheese.getIngredients() returns the Java Generic
        collection: &nbsp;Set&lt;Ingredient&gt;. <br>
      </div>
    </blockquote>
    That should work for java dialect, it'll still be broken for mvel
    dialect. If it's not, it's a bug.<br>
    <br>
    Any volunteers to add generics support to MVEL? So we can get
    consistency :)<br>
    <br>
    Mark<br>
    <br>
    <blockquote
      cite="mid:0616BF38-73CC-4A21-8E88-0871024452B9@ecosur.mx"
      type="cite">
      <div><br>
      </div>
      <div><br>
      </div>
      <div>I haven't seen a bug logged on this in your JIRA, but I may
        have note searched deeply enough.</div>
      <div><br>
      </div>
      <div>best wishes,</div>
      <div><br>
      </div>
      <div>Andrew</div>
      <div><br>
      </div>
      <div><br>
        <div>
          <div>On Feb 1, 2012, at 5:44 AM, Toni Rikkola wrote:</div>
          <br class="Apple-interchange-newline">
          <blockquote type="cite">
            <div style="word-wrap: break-word; -webkit-nbsp-mode: space;
              -webkit-line-break: after-white-space; ">Drools
              5.4.0.Beta2 released (Expert, Fusion, Planner, Guvnor)
              <div>New and Noteworthy:&nbsp;<a moz-do-not-send="true"
href="http://docs.jboss.org/drools/release/5.4.0.Beta2/droolsjbpm-introduction-docs/html/releaseNotesBeta2.html">http://docs.jboss.org/drools/release/5.4.0.Beta2/droolsjbpm-introduction-docs/html/releaseNotesBeta2.html</a></div>
              <div>Download and info:&nbsp;<a moz-do-not-send="true"
                  href="http://blog.athico.com/2012/01/drools-540beta-2-released.html">http://blog.athico.com/2012/01/drools-540beta-2-released.html</a></div>
              <div><br>
              </div>
              <div>Toni Rikkola</div>
            </div>
            _______________________________________________<br>
            rules-dev mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
            <a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
rules-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>