<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.emailstyle20
        {mso-style-name:emailstyle20;
        font-family:"Arial","sans-serif";
        color:navy;}
span.emailstyle200
        {mso-style-name:emailstyle200;
        font-family:"Arial","sans-serif";
        color:navy;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=blue style='word-wrap: break-word;-webkit-nbsp-mode: space;
-webkit-line-break: after-white-space'>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Your best bet is to download the 5.0M5 documentation here<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><a
href="http://download.jboss.org/drools/release/5.0.0.24825.M5/drools-5.0.0.M5-docs.zip">http://download.jboss.org/drools/release/5.0.0.24825.M5/drools-5.0.0.M5-docs.zip</a>
<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>There is plenty of good info in there on the execution side of
the house.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Barry<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>And I have to agree with you on the cool factor.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
rules-users-bounces@lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] <b>On Behalf Of </b>Costello,
Robert<br>
<b>Sent:</b> Wednesday, January 21, 2009 5:53 PM<br>
<b>To:</b> Rules Users List<br>
<b>Subject:</b> RE: [rules-users] Drools, Grails,and default packages for
domain objects<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>I have to say, the Guvnor is awfully cool. I was able to
import my pojos and get a rule up and running in a couple hours.
Would have been even faster if I had my coffee this morning. </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Next step is to export the rules and deploy them to the Execution
Server. I like the fact that it can take JSON. </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Is there much documentation out there yet on the Execution server?</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Thanks,</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'> </span><o:p></o:p></p>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Robert Costello</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Lead Systems Engineer</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>IMA Performance</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>E3- 279A</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>847.286.0910</span><o:p></o:p></p>
<p class=MsoNormal><span style='color:navy'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='color:navy'> </span><o:p></o:p></p>
</div>
<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>-----Original Message-----<br>
<b>From:</b> rules-users-bounces@lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] <b>On Behalf Of </b>Costello,
Robert<br>
<b>Sent:</b> Wednesday, January 21, 2009 8:23 AM<br>
<b>To:</b> Rules Users List<br>
<b>Subject:</b> RE: [rules-users] Drools, Grails,and default packages for
domain objects</span><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'> <o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'>That’s good advice. I tried
putting everything in a default package, including the rules, but still no
luck. </span><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'> </span><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'>For the time being, I’m going to
put aside working with rule tables in spreadsheets and see how they work in
Guvnor. There must be some subtleties with the spreadsheets that I am not
getting yet. </span><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'> </span><o:p></o:p></p>
<div>
<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'>Robert Costello</span><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'>Lead Systems Engineer</span><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'>IMA Performance</span><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'>E3- 279A</span><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'>847.286.0910</span><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><span style='color:navy'> </span><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><span style='color:navy'> </span><o:p></o:p></p>
</div>
<p class=MsoNormal style='margin-left:1.0in'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>-----Original Message-----<br>
<b>From:</b> rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org]
<b>On Behalf Of </b>CK<br>
<b>Sent:</b> Tuesday, January 20, 2009 12:11 PM<br>
<b>To:</b> Rules Users List<br>
<b>Subject:</b> Re: [rules-users] Drools, Grails,and default packages for
domain objects</span><o:p></o:p></p>
<p class=MsoNormal style='margin-left:1.0in'> <o:p></o:p></p>
<p class=MsoNormal style='margin-left:1.0in'>If I understand you correctly,
this is a Java runtime restriction. <o:p></o:p></p>
<div>
<p class=MsoNormal style='margin-left:1.0in'> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:1.0in'>Java classes in the default
package can reference any class in a named package. Other the other hand,
classes in a named package cannot reference any class in a default package.
Classes in a default package can reference other classes in a default
package.<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:1.0in'> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:1.0in'>Thus, the easiest way normally to
deal with this problem is to either (1) put everything in a named package,
including any grails classes/domain objects/etc or (2) put everything in a
default package. I'd suggest that you go with option 1 because it'll give
you fewer problems.<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:1.0in'> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:1.0in'>But I'm not sure if that's the
question you're asking or if this helps you. Hopefully, it does. :)<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:1.0in'> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:1.0in'> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:1.0in'>On Jan 20, 2009, at 6:00 AM,
Costello, Robert wrote:<o:p></o:p></p>
</div>
<div>
<div>
<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:0in;margin-bottom:
12.0pt;margin-left:1.0in'> <o:p></o:p></p>
<div>
<div>
<div>
<p class=MsoNormal style='margin-left:1.0in'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'>I’m using the latest as of this
date, which is 5.0.0M4</span><o:p></o:p></p>
</div>
<p class=MsoNormal style='margin-left:1.0in'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'> </span><o:p></o:p></p>
<div>
<p class=MsoNormal style='margin-left:1.0in'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'>Thanks!</span><o:p></o:p></p>
</div>
<p class=MsoNormal style='margin-left:1.0in'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'> </span><o:p></o:p></p>
<div>
<div>
<p class=MsoNormal style='margin-left:1.0in'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'>Robert Costello</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:1.0in'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'>Lead Systems Engineer</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:1.0in'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'>IMA Performance</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:1.0in'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'>E3- 279A</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:1.0in'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'>847.286.0910</span><o:p></o:p></p>
</div>
<p class=MsoNormal style='margin-left:1.0in'><span style='color:navy'> </span><o:p></o:p></p>
<p class=MsoNormal style='margin-left:1.0in'><span style='color:navy'> </span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:1.0in'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>-----Original Message-----<br>
<b>From:</b><span class=apple-converted-space> </span><a
href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a>
[<a href="mailto:rules-users-bounces@lists.jboss.org">mailto:rules-users-bounces@lists.jboss.org</a>]<span
class=apple-converted-space> </span><b>On Behalf Of<span
class=apple-converted-space> </span></b>Edson Tirelli<br>
<b>Sent:</b><span class=apple-converted-space> </span>Monday, January 19,
2009 3:59 PM<br>
<b>To:</b><span class=apple-converted-space> </span>Rules Users List<br>
<b>Subject:</b><span class=apple-converted-space> </span>Re: [rules-users]
Drools, Grails,and default packages for domain objects</span><o:p></o:p></p>
</div>
<p class=MsoNormal style='margin-left:1.0in'><span style='color:black'> </span><o:p></o:p></p>
<div>
<p class=MsoNormal style='margin-left:1.0in'><span style='color:black'><br>
Robert,<br>
<br>
What version of Drools are you using?<br>
I remember seeing something about this in the past... I will
search JIRAs to see if we have any ticket open for 5.0.<br>
<br>
[]s<br>
Edson</span><o:p></o:p></p>
</div>
<div>
<div>
<p class=MsoNormal style='margin-left:1.0in'><span style='color:black'>2009/1/19
Costello, Robert <<a href="mailto:rcost10@searshc.com">rcost10@searshc.com</a>></span><o:p></o:p></p>
</div>
<div>
<div>
<p style='margin-left:1.0in'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Has anyone else run into issues trying to reference objects in a
default package? I'm trying to use Drools with Grails and my rule which
compiled nicely in a package setting has issues when faced with a default
package. </span><o:p></o:p></p>
<div>
<p class=MsoNormal style='margin-left:1.0in'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'> </span><o:p></o:p></p>
</div>
<p style='margin-left:1.0in'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>The error is "foo" cannot be resolved to a type</span><o:p></o:p></p>
<div>
<p class=MsoNormal style='margin-left:1.0in'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'> </span><o:p></o:p></p>
</div>
<p style='margin-left:1.0in'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>I've tried putting the rule both in the default package and putting
it in a named package, and neither seem to work. If I put my
objects back into packages, everything is fine.</span><o:p></o:p></p>
<div>
<p class=MsoNormal style='margin-left:1.0in'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'> </span><o:p></o:p></p>
</div>
<p style='margin-left:1.0in'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Any advice?</span><o:p></o:p></p>
<div>
<p class=MsoNormal style='margin-left:1.0in'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'> </span><o:p></o:p></p>
</div>
<p style='margin-left:1.0in'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Thanks,</span><o:p></o:p></p>
<div>
<p class=MsoNormal style='margin-left:1.0in'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'> </span><o:p></o:p></p>
</div>
<div>
<p style='margin-left:1.0in'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Robert Costello</span><o:p></o:p></p>
<div>
<p class=MsoNormal style='margin-left:1.0in'><span style='color:black'> </span><o:p></o:p></p>
</div>
</div>
<div>
<p class=MsoNormal style='margin-left:1.0in'><span style='color:black'> </span><o:p></o:p></p>
</div>
</div>
</div>
<div>
<p class=MsoNormal style='margin-left:1.0in'><span style='color:black'><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></span><o:p></o:p></p>
</div>
</div>
<div>
<p class=MsoNormal style='margin-left:1.0in'><span style='color:black'><br>
<br clear=all>
<br>
--<span class=apple-converted-space> </span><br>
Edson Tirelli<br>
JBoss Drools Core Development<br>
JBoss, a division of Red Hat @<span class=apple-converted-space> </span><a
href="http://www.jboss.com">www.jboss.com</a></span><o:p></o:p></p>
</div>
</div>
<p class=MsoNormal style='margin-left:1.0in'><span style='font-size:10.0pt;
font-family:"Helvetica","sans-serif";color:black'>_______________________________________________<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">https://lists.jboss.org/mailman/listinfo/rules-users</a></span><o:p></o:p></p>
</div>
</div>
<p class=MsoNormal style='margin-left:1.0in'> <o:p></o:p></p>
</div>
</div>
</body>
</html>