<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 07/04/2010 12:23, surabhi soni wrote:
<blockquote
 cite="mid:k2la7b2820a1004070423s34a23fa3z2f1d6cc4edec6f1c@mail.gmail.com"
 type="cite">hi&nbsp;
  <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>
  </div>
</blockquote>
Is this a late April fool? It has to be an example of one of the worst
posts I've seen.<br>
Surabhi I suggest you read the mailing list page, so not to embarass
yourself in the future:<br>
<a class="moz-txt-link-freetext" href="http://www.jboss.org/drools/lists.html">http://www.jboss.org/drools/lists.html</a><br>
<br>
How to have your emails ignored and attract abuse from others:<br>
<div class="proj_steps">
<ol>
  <li><span class="step">Start the email with "URGENT"</span></li>
  <li><span class="step">Tell everyone how desparate you and how you
need an immediate response for your really important project.</span></li>
  <li><span class="step">Don't wait a minimum of 3 days and resend your
email within minutes of hours.</span></li>
  <li><span class="step">Send emails directly to mailing list members,
especially the developers.</span></li>
  <li><span class="step">Paste pages of code and then say "it doesn't
work, please help".</span></li>
  <li><span class="step">Paste a long stack trace and say "it doesn't
work, please help".</span></li>
  <li><span class="step">Start your email with "please sirs" or include
"do the needful".</span></li>
  <li><span class="step">Ask dumb questions that are in the manual.</span></li>
  <li><span class="step">Ask basic java questions.</span></li>
  <li><span class="step">Ask questions about JRules</span></li>
  <li><span class="step">Reply to an existing thread but starting a new
topic</span></li>
  <li><span class="step">Start your email with "I'm a member of the
drools mailinglist, so please answer me"</span></li>
  <li><span class="step">General begging and pleading</span></li>
  <li><span class="step">Say some thing to the effect of "Please tell
me how I can call a function on the LHS. (hurry my assignment is due
today!)"</span></li>
  <li><span class="step">Talk about a potential bug and not mention the
version of Drools you are using</span></li>
  <li><span class="step">Email user questions to the dev mailing list.</span></li>
  <li><span class="step">Email both dev and user list in the hope of a
quicker response.</span></li>
</ol>
</div>
<br>
<br>
<blockquote
 cite="mid:k2la7b2820a1004070423s34a23fa3z2f1d6cc4edec6f1c@mail.gmail.com"
 type="cite">
  <div><br>
  <div class="gmail_quote">On Wed, Apr 7, 2010 at 3:51 PM, BS <span
 dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:bernd.schwegmann@viadee.de">bernd.schwegmann@viadee.de</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hi all,<br>
    <br>
I'm quite new to Drools and have a problem with the guided editor of the<br>
Eclipse plugin. I'm using Drools 5.0.1.<br>
    <br>
These are the two BuildErrors for "TestGuided.brl" in Eclipse:<br>
    <br>
1) BuildError: Unable to build expression for 'consequence': Failed to<br>
compile: 1 compilation error(s): - (1,1) unqualified type in strict mode<br>
for: p ' update( p );<br>
2) BuildError: Unable to resolve ObjectType 'Produkt'<br>
    <br>
In "drools.package" I have all necessary imports and also the package<br>
statement. This is the BRL source of "TestGuided.brl":<br>
    <br>
&lt;rule&gt;<br>
&nbsp;&lt;name&gt;TestGuided&lt;/name&gt;<br>
&nbsp;&lt;modelVersion&gt;1.0&lt;/modelVersion&gt;<br>
&nbsp;&lt;attributes/&gt;<br>
&nbsp;&lt;metadataList/&gt;<br>
&nbsp;&lt;lhs&gt;<br>
&nbsp; &nbsp;&lt;fact&gt;<br>
&nbsp; &nbsp; &nbsp;&lt;factType&gt;Produkt&lt;/factType&gt;<br>
&nbsp; &nbsp; &nbsp;&lt;boundName&gt;p&lt;/boundName&gt;<br>
&nbsp; &nbsp;&lt;/fact&gt;<br>
&nbsp;&lt;/lhs&gt;<br>
&nbsp;&lt;rhs&gt;<br>
&nbsp; &nbsp;&lt;modify&gt;<br>
&nbsp; &nbsp; &nbsp;&lt;fieldValues/&gt;<br>
&nbsp; &nbsp; &nbsp;&lt;variable&gt;p&lt;/variable&gt;<br>
&nbsp; &nbsp;&lt;/modify&gt;<br>
&nbsp;&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 "TestGuided"<br>
&nbsp; &nbsp; &nbsp; &nbsp;dialect "mvel"<br>
&nbsp; &nbsp; &nbsp; &nbsp;when<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;p : Produkt( )<br>
&nbsp; &nbsp; &nbsp; &nbsp;then<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;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 moz-do-not-send="true"
 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 moz-do-not-send="true" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
    <a moz-do-not-send="true"
 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>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>