<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><!-- Template generated by Exclaimer Template Editor on 08:22:10 Sunday, 28 October 2012 -->
<STYLE type=text/css>P.768e70bb-de76-4347-a623-ccb0b65b8e07 {
        MARGIN: 0cm 0cm 0pt
}
LI.768e70bb-de76-4347-a623-ccb0b65b8e07 {
        MARGIN: 0cm 0cm 0pt
}
DIV.768e70bb-de76-4347-a623-ccb0b65b8e07 {
        MARGIN: 0cm 0cm 0pt
}
TABLE.768e70bb-de76-4347-a623-ccb0b65b8e07Table {
        MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
        page: Section1
}
</STYLE>

<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:"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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></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="purple">
<P>
<div class="WordSection1">
<p class="MsoNormal"><span style=font-size:12.0pt>Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style=font-size:12.0pt><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style=font-size:12.0pt>I am extending the Drools 5.4&nbsp; templates example (which uses Cheese.drt and ExampleCheese.xls) in effort to learn how to generate a .DRL generically (from my .drt and my .xls).<o:p></o:p></span></p>
<p class="MsoNormal"><span style=font-size:12.0pt><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style=font-size:12.0pt>I am getting these errors:<o:p></o:p></span></p>
<p class="MsoNormal"><span style=font-size:12.0pt;color:#C00000><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style=font-size:12.0pt;color:#C00000>Error compiling resources:<o:p></o:p></span></p>
<p class="MsoNormal"><span style=font-size:12.0pt;color:#C00000>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;<b>[ERR 101] Line 7:56</b> no viable alternative at input '==' in rule &quot;IRS_CURRENCY_RULE_FR_REPOSITORYMOCK_TEMPLATE&quot;<o:p></o:p></span></p>
<p class="MsoNormal"><span style=font-size:12.0pt;color:#C00000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>[ERR 101] Line 35:56</b> no viable alternative at input '==' in rule &quot;IRS_CURRENCY_RULE_FR_REPOSITORYMOCK_TEMPLATE&quot;<o:p></o:p></span></p>
<p class="MsoNormal"><span style=font-size:12.0pt;color:#C00000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Parser returned a null Package<o:p></o:p></span></p>
<p class="MsoNormal"><span style=font-size:12.0pt;color:#C00000>Exception in thread &quot;main&quot; java.lang.IllegalStateException: Error compiling resources<o:p></o:p></span></p>
<p class="MsoNormal"><span style=font-size:12.0pt;color:#C00000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at com.ms.fast.triclear.eligibility.rules.GenerateDRLfromEligibilityRulesRepoViaDRT.buildKBase(GenerateDRLfromEligibilityRulesRepoViaDRT.java:81)<o:p></o:p></span></p>
<p class="MsoNormal"><span style=font-size:12.0pt;color:#C00000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at com.ms.fast.triclear.eligibility.rules.GenerateDRLfromEligibilityRulesRepoViaDRT.executeExample(GenerateDRLfromEligibilityRulesRepoViaDRT.java:39)<o:p></o:p></span></p>
<p class="MsoNormal"><span style=font-size:12.0pt;color:#C00000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at com.ms.fast.triclear.eligibility.rules.GenerateDRLfromEligibilityRulesRepoViaDRT.main(GenerateDRLfromEligibilityRulesRepoViaDRT.java:33)<o:p></o:p></span></p>
<p class="MsoNormal"><span style=font-size:12.0pt;color:#C00000><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style=font-size:12.0pt>I wouldn&#8217;t dare ask anyone on&nbsp; this list to explicitly help debug this for me, however &#8211; I have no idea what Line 7:56 and Line 35:56 could be referring to &#8211; &nbsp;Line &amp;:56 of what?&nbsp; &nbsp;Could anyone supply some
<i>general</i> insight as to what <i>might </i>be problematic?<o:p></o:p></span></p>
<p class="MsoNormal"><span style=font-size:12.0pt><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style=font-size:12.0pt>Thanks, Ben<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style=font-size:12.0pt;color:#C00000><o:p>&nbsp;</o:p></span></b></p>
<p class="MsoNormal"><b><span style=color:gray>Ben D Cotton III</span></b><span style=font-size:9.0pt;color:gray><br />
Morgan Stanley &amp; Co.<br />
OTC Derivatives Clearing Technology <br />
1221 AOTA Rockefeller Ctr - Flr 27<br />
New York, NY 10020<br />
(212)762.9094<br />
<a href="mailto:ben.cotton@ms.com"><span style=color:gray>ben.cotton@ms.com</span></a>
<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<BR /><BR />
<HR id=HR1 />
<BR /><SPAN style="FONT-FAMILY: Arial; COLOR: #808080; FONT-SIZE: 7.5pt">NOTICE: 
Morgan Stanley is not acting as a municipal advisor and the opinions or views 
contained herein are not intended to be, and do not constitute, advice within 
the meaning of Section 975 of the Dodd-Frank Wall Street Reform and Consumer 
Protection Act. If you have received this communication in error, please destroy 
all electronic and paper copies and notify the sender immediately. 
Mistransmission is not intended to waive confidentiality or privilege. Morgan 
Stanley reserves the right, to the extent permitted under applicable law, to 
monitor electronic communications. This message is subject to terms available at 
the following link: <A style="FONT-FAMILY: Arial; COLOR: #808080; FONT-SIZE: 7.5pt" href="http://www.morganstanley.com/disclaimers">http://www.morganstanley.com/disclaimers</A> 
If you cannot access these links, please notify us by reply message and we will 
send the contents to you. By messaging with Morgan Stanley you consent to the 
foregoing.</SPAN><BR />
<P></P>
<P></P></P></BODY>
</HTML>