<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: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;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Rage Italic";
        panose-1:3 7 5 2 4 5 7 7 3 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:purple;
        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.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Sorry .. no use. I made those changes but nothing different. I&#8217;ll
try 5.2.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:18.0pt;font-family:"Rage Italic";
color:#1F497D'>saleem<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<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>Wolfgang Laun<br>
<b>Sent:</b> Friday, March 04, 2011 11:28 AM<br>
<b>To:</b> Rules Users List<br>
<b>Subject:</b> Re: [rules-users] HELP - Problem creating
package-validateUniqueRuleNames(PackageBuilder.java:830)<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p>

<div>

<p class=MsoNormal>2011/3/4 Sale<o:p></o:p></p>

<div>

<p><span style='font-family:Consolas'>This is my DSLR:</span><o:p></o:p></p>

<p><span style='font-family:Consolas;color:#C32D2E'>package cit.coverage;</span><o:p></o:p></p>

<p><span style='font-family:Consolas;color:#C32D2E'>expander Coverage.dsl</span><o:p></o:p></p>

<p><span style='font-family:Consolas;color:#C32D2E'>rule &quot;rrr&quot;</span><o:p></o:p></p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style='font-family:Consolas;
color:#C32D2E'>auto-focus true</span><o:p></o:p></p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style='font-family:Consolas;
color:#C32D2E'>when</span><o:p></o:p></p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style='font-family:Consolas;
color:#C32D2E'>He is nice</span><o:p></o:p></p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style='font-family:Consolas;
color:#C32D2E'>then</span><o:p></o:p></p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style='font-family:Consolas;
color:#C32D2E'>He is happy</span><o:p></o:p></p>

<p><span style='font-family:Consolas;color:#C32D2E'>end</span><o:p></o:p></p>

<p><u><span style='font-family:Consolas'>This is my DSL Coverage.dsl:</span></u><o:p></o:p></p>

<p><span style='font-family:Consolas;color:#C32D2E'>[condition][]He is
nice=eval(true)</span><o:p></o:p></p>

<p><span style='font-family:Consolas;color:#C32D2E'>[consequence][]He is
happy=eval(System.out.println(&quot;HA HA&quot;))</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>This is not a correct Java statement, as it should be for
the consequence:<br>
&nbsp;&nbsp; - eval() is not valid here<br>
&nbsp;&nbsp; - There is no semicolon at the end<br>
<br>
This would be correct:<o:p></o:p></p>

</div>

</div>

<p class=MsoNormal><span style='font-family:Consolas;color:#C32D2E'>&nbsp;&nbsp;
[consequence][]He is happy=System.out.println(&quot;HA HA&quot;);<br>
<br>
The NPE should be gone in 5.2.0.<br>
-W</span><o:p></o:p></p>

</div>

</body>

</html>