hi <div>im new to use drools.can u help me out of this.I need one example so that i can understand and i want structure also like how many folders should be there which file should be placed in which folder.</div><div>thanx in advance....its very urgent plz help me<br>
<br><div class="gmail_quote">On Wed, Apr 7, 2010 at 3:51 PM, BS <span dir="ltr">&lt;<a href="mailto:bernd.schwegmann@viadee.de">bernd.schwegmann@viadee.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Hi all,<br>
<br>
I&#39;m quite new to Drools and have a problem with the guided editor of the<br>
Eclipse plugin. I&#39;m using Drools 5.0.1.<br>
<br>
These are the two BuildErrors for &quot;TestGuided.brl&quot; in Eclipse:<br>
<br>
1) BuildError: Unable to build expression for &#39;consequence&#39;: Failed to<br>
compile: 1 compilation error(s): - (1,1) unqualified type in strict mode<br>
for: p &#39; update( p );<br>
2) BuildError: Unable to resolve ObjectType &#39;Produkt&#39;<br>
<br>
In &quot;drools.package&quot; I have all necessary imports and also the package<br>
statement. This is the BRL source of &quot;TestGuided.brl&quot;:<br>
<br>
&lt;rule&gt;<br>
  &lt;name&gt;TestGuided&lt;/name&gt;<br>
  &lt;modelVersion&gt;1.0&lt;/modelVersion&gt;<br>
  &lt;attributes/&gt;<br>
  &lt;metadataList/&gt;<br>
  &lt;lhs&gt;<br>
    &lt;fact&gt;<br>
      &lt;factType&gt;Produkt&lt;/factType&gt;<br>
      &lt;boundName&gt;p&lt;/boundName&gt;<br>
    &lt;/fact&gt;<br>
  &lt;/lhs&gt;<br>
  &lt;rhs&gt;<br>
    &lt;modify&gt;<br>
      &lt;fieldValues/&gt;<br>
      &lt;variable&gt;p&lt;/variable&gt;<br>
    &lt;/modify&gt;<br>
  &lt;/rhs&gt;<br>
&lt;/rule&gt;<br>
<br>
When I use the generated DRL output of the guided editor in a DRL file, I do<br>
not get any error message. The DRL file looks like this and compiles<br>
perfectly in Eclipse:<br>
<br>
package com.test<br>
<br>
rule &quot;TestGuided&quot;<br>
        dialect &quot;mvel&quot;<br>
        when<br>
                p : Produkt( )<br>
        then<br>
                update( p );<br>
end<br>
<br>
Adding the BRL from above to Guvnor does not throw any error. The BRL<br>
validates and compiles perfectly in Guvnor.<br>
<br>
So, why is it only in the guided editor of Eclipse not working but in the<br>
guided editor of Guvnor as well as DRL file? Maybe something in my<br>
configuration is errorneous?<br>
<br>
Any help is appreciated, many thanks<br>
<br>
Bernd<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n3.nabble.com/BuildError-Unable-to-resolve-ObjectType-tp702633p702633.html" target="_blank">http://n3.nabble.com/BuildError-Unable-to-resolve-ObjectType-tp702633p702633.html</a><br>

Sent from the Drools - User mailing list archive at Nabble.com.<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><br>
</font></blockquote></div><br></div>