<div dir="ltr"><div>Hello,</div><div><br></div>thanks you all for your support.<div><br></div><div style>I have to announce that I could not recommend to use drools in our project. This Bug was one of the main reasons for it. - Can hardly belief that this is still the official stable release...</div>
<div style>We now implement a simplified solution for our problem from scratch. It will of course never have as many features as drools, neither in the backend nor in the user interface. </div><div style><br></div><div style>
Don't want to nag, just want to provide feedback.</div><div style><br></div><div style>Maybe I will have a look again in a year or two.</div><div style>best wishes</div><div style><br></div><div style>Stefan</div><div style>
<br></div><div style><br></div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/23 Davide Sottara <span dir="ltr"><<a href="mailto:dsotty@gmail.com" target="_blank">dsotty@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>It is still realistic.. the team is
preparing a beta release of 6.x.<br>
When that is done, I hope they will focus on finalizing 5.x.. <br>
I am waiting for 5.6.Final myself :)<br>
You may have answered this question before.. could you give a try
at<br>
5.5.1-SNAPSHOT?<br>
Thanks for your patience<span class="HOEnZb"><font color="#888888"><br>
Davide</font></span><div><div class="h5"><br>
On 04/23/2013 01:50 AM, Stefan Schuster wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">Hi all,
<div><br>
</div>
<div>thanks a lot for your helpful answers.</div>
<div><br>
</div>
<div>I'm looking forward to the update to 5.6.0. Is the
mentioned time horizon ("a few days") still realistic? I.e.
could you recommend me to pause the evaluation of drools,
instead of downgrading to 5.4.0?</div>
<div><br>
</div>
<div>We consider to use drools in a larger project, and
I have to decide whether I recommend drools, or prefer a
simpler design developed from scratch. As far it's an fact
that I cannot recommend drools 5.5.0. </div>
<div><br>
</div>
<div>What version is reasonable to use for further
evaluation?</div>
<div><br>
</div>
<div>Stefan </div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra">
<br>
<br>
<div class="gmail_quote">2013/4/19 Wolfgang Laun <span dir="ltr"><<a href="mailto:wolfgang.laun@gmail.com" target="_blank">wolfgang.laun@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On 18/04/2013, Stefan Schuster <<a href="mailto:stefan.m.schuster@gmail.com" target="_blank">stefan.m.schuster@gmail.com</a>>
wrote:<br>
><br>
</div>
<div>> Please don't misunderstand me, I have a
deep respect for the developer of<br>
> such complex systems like DROOLS, and I know from my
own code that bugs<br>
> simply happen. But I wonder why there is still this
version without any<br>
> warning the official release?<br>
><br>
<br>
</div>
Not putting out warnings when some release is known to be
broken is a<br>
rather dark spot on the gloss of Drools. I have urged this
before,<br>
mainly because<br>
not warning users is a primary cause for them wasting time
and effort.<br>
<br>
Keep carping...<br>
<span><font color="#888888">Wolfgang<br>
</font></span>
<div>
<div><br>
<br>
<br>
<br>
> Is it better to use an older version?<br>
><br>
> best regards<br>
><br>
> Stefan<br>
><br>
><br>
><br>
><br>
> 2013/4/18 Mark Proctor <<a href="mailto:mproctor@codehaus.org" target="_blank">mproctor@codehaus.org</a>><br>
><br>
>> There are a lot of fixes in the 5.x master.
Anyone verified their bugs<br>
>> against this? I suspect this is fixed in that.<br>
>><br>
>><br>
>> Mark<br>
>> On 18 Apr 2013, at 16:21, Wolfgang Laun <<a href="mailto:wolfgang.laun@gmail.com" target="_blank">wolfgang.laun@gmail.com</a>>
wrote:<br>
>><br>
>> > Ah, my memory :-)<br>
>> ><br>
>> > <a href="http://lists.jboss.org/pipermail/rules-dev/2013-January/004338.html" target="_blank">http://lists.jboss.org/pipermail/rules-dev/2013-January/004338.html</a><br>
>> ><br>
>> > Mark has promised a fix for 3 months ago,
but of course 5.5.0 remains<br>
>> broken.<br>
>> ><br>
>> > -W<br>
>> ><br>
>> > On 18/04/2013, Stefan Schuster <<a href="mailto:stefan.m.schuster@gmail.com" target="_blank">stefan.m.schuster@gmail.com</a>>
wrote:<br>
>> >> Hi, thank you for your response.<br>
>> >> I'm using the latest stable release of
Drools 5.5.0 final.<br>
>> >> Eclipse is Juno Service Release 2.<br>
>> >><br>
>> >> Can you confirm, that the order 1,2,3
is the expected result?<br>
>> >><br>
>> >> If this is a known bug, is there some
kind of jira or bugzilla numer<br>
>> >> assigned to it?<br>
>> >><br>
>> >><br>
>> >><br>
>> >> 2013/4/18 Wolfgang Laun <<a href="mailto:wolfgang.laun@gmail.com" target="_blank">wolfgang.laun@gmail.com</a>><br>
>> >><br>
>> >>> IIRC, this was a bug one or two
minor versions ago. What version are<br>
>> you<br>
>> >>> using?<br>
>> >>> -W<br>
>> >>><br>
>> >>> On 18/04/2013, Stefan Schuster
<<a href="mailto:stefan.m.schuster@gmail.com" target="_blank">stefan.m.schuster@gmail.com</a>>
wrote:<br>
>> >>>> For the sake of completeness,
here is also the RuleRunner class<br>
>> >>>> used<br>
>> >>>> in<br>
>> >>>> this example:<br>
>> >>>><br>
>> >>>> package
org.drools.tutorials.banking;<br>
>> >>>><br>
>> >>>> import java.util.Collection;<br>
>> >>>><br>
>> >>>> import
org.drools.KnowledgeBase;<br>
>> >>>> import
org.drools.KnowledgeBaseFactory;<br>
>> >>>> import
org.drools.builder.KnowledgeBuilder;<br>
>> >>>> import
org.drools.builder.KnowledgeBuilderFactory;<br>
>> >>>> import
org.drools.builder.ResourceType;<br>
>> >>>> import
org.drools.definition.KnowledgePackage;<br>
>> >>>> import
org.drools.io.ResourceFactory;<br>
>> >>>> import
org.drools.runtime.StatefulKnowledgeSession;<br>
>> >>>><br>
>> >>>> public class RuleRunner {<br>
>> >>>><br>
>> >>>> public RuleRunner() {<br>
>> >>>> }<br>
>> >>>><br>
>> >>>> public void
runRules(String[] rules,<br>
>> >>>>
Object[] facts) {<br>
>> >>>><br>
>> >>>> KnowledgeBase kbase =<br>
>> >>>>
KnowledgeBaseFactory.newKnowledgeBase();<br>
>> >>>> KnowledgeBuilder
kbuilder =<br>
>> >>>>
KnowledgeBuilderFactory.newKnowledgeBuilder();<br>
>> >>>><br>
>> >>>> for ( int i = 0; i <
rules.length; i++ ) {<br>
>> >>>> String ruleFile =
rules[i];<br>
>> >>>> System.out.println(
"Loading file: " + ruleFile );<br>
>> >>>> kbuilder.add(
ResourceFactory.newClassPathResource(<br>
>> >>>> ruleFile,<br>
>> >>>><br>
>> >>>> RuleRunner.class ),<br>
>> >>>>
ResourceType.DRL );<br>
>> >>>> }<br>
>> >>>><br>
>> >>>>
Collection<KnowledgePackage> pkgs =<br>
>> >>>>
kbuilder.getKnowledgePackages();<br>
>> >>>>
kbase.addKnowledgePackages( pkgs );<br>
>> >>>>
StatefulKnowledgeSession ksession =<br>
>> >>>>
kbase.newStatefulKnowledgeSession();<br>
>> >>>><br>
>> >>>> for ( int i = 0; i <
facts.length; i++ ) {<br>
>> >>>> Object fact =
facts[i];<br>
>> >>>> System.out.println(
"Inserting fact: " + fact );<br>
>> >>>> ksession.insert(
fact );<br>
>> >>>> }<br>
>> >>>><br>
>> >>>>
ksession.fireAllRules();<br>
>> >>>> }<br>
>> >>>> }<br>
>> >>>><br>
>> >>>><br>
>> >>>> 2013/4/18 Stefan Schuster <<a href="mailto:stefan.m.schuster@gmail.com" target="_blank">stefan.m.schuster@gmail.com</a>><br>
>> >>>><br>
>> >>>>> Hello,<br>
>> >>>>><br>
>> >>>>> I have a problem with the
banking tutorial number 3, which is part<br>
>> >>>>> of<br>
>> >>> the<br>
>> >>>>> examples of drools expert.<br>
>> >>>>> It simply adds some
Numbers as facts, and retracts them in an<br>
>> >>>>> increasing<br>
>> >>>>> order.<br>
>> >>>>><br>
>> >>>>> It is very short,
therefore I post the whole Code:<br>
>> >>>>><br>
>> >>>>><br>
>> >>>>> BankingExample3.java<br>
>> >>>>>
_________________________________________________<br>
>> >>>>> package
org.drools.tutorials.banking;<br>
>> >>>>><br>
>> >>>>> public class
BankingExample3 {<br>
>> >>>>> public static void
main(String[] args) {<br>
>> >>>>> Number[] numbers =
new Number[] {wrap(3), wrap(1), wrap(4),<br>
>> >>>>> wrap(1), wrap(5)};<br>
>> >>>>> new
RuleRunner().runRules( new String[] { "Example3.drl" },<br>
>> >>>>>
numbers );<br>
>> >>>>> }<br>
>> >>>>><br>
>> >>>>> private static Integer
wrap(int i) {<br>
>> >>>>> return new
Integer(i);<br>
>> >>>>> }<br>
>> >>>>> }<br>
>> >>>>>
_________________________________________________<br>
>> >>>>><br>
>> >>>>><br>
>> >>>>><br>
>> >>>>> Example3.drl:<br>
>> >>>>>
_________________________________________________<br>
>> >>>>> package
org.drools.tutorials.banking<br>
>> >>>>><br>
>> >>>>> rule "Rule 01"<br>
>> >>>>> when<br>
>> >>>>> $number : Number()<br>
>> >>>>> not Number(
intValue < $number.intValue )<br>
>> >>>>> then<br>
>> >>>>>
System.out.println("Number found with value: " +<br>
>> >>>>> $number.intValue() );<br>
>> >>>>> retract( $number );<br>
>> >>>>> end<br>
>> >>>>>
_________________________________________________<br>
>> >>>>><br>
>> >>>>><br>
>> >>>>> Output:<br>
>> >>>>>
_________________________________________________<br>
>> >>>>> Loading file: Example3.drl<br>
>> >>>>> Inserting fact: 3<br>
>> >>>>> Inserting fact: 1<br>
>> >>>>> Inserting fact: 4<br>
>> >>>>> Inserting fact: 1<br>
>> >>>>> Inserting fact: 5<br>
>> >>>>> Number found with value: 1<br>
>> >>>>> Number found with value: 1<br>
>> >>>>> Number found with value: 3<br>
>> >>>>> Number found with value: 4<br>
>> >>>>> Number found with value: 5<br>
>> >>>>>
_________________________________________________<br>
>> >>>>><br>
>> >>>>><br>
>> >>>>> that seams absolute
logically to me.<br>
>> >>>>> But now I alter the
Numbers in the Java-Part:<br>
>> >>>>> Number[] numbers = new
Number[] {wrap(3), wrap(1), wrap(2)};<br>
>> >>>>><br>
>> >>>>> and the output destroys
everything I thought I understood:<br>
>> >>>>> Loading file: Example3.drl<br>
>> >>>>> Inserting fact: 3<br>
>> >>>>> Inserting fact: 1<br>
>> >>>>> Inserting fact: 2<br>
>> >>>>> Number found with value: 1<br>
>> >>>>> Number found with value: 3<br>
>> >>>>> Number found with value: 2<br>
>> >>>>><br>
>> >>>>><br>
>> >>>>> Can someone reproduce
this behavior?? It seams absolutely strange<br>
>> >>>>> to<br>
>> >>> me.<br>
>> >>>>> I would have expected the
order 1,2,3. Any explanations?<br>
>> >>>>><br>
>> >>>>> Thanks in advance for
helping me!<br>
>> >>>>><br>
>> >>>>><br>
>> >>>>><br>
>> >>>><br>
>> >>>
_______________________________________________<br>
>> >>> rules-users mailing list<br>
>> >>> <a href="mailto:rules-users@lists.jboss.org" target="_blank">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>
>> >>><br>
>> >><br>
>> >
_______________________________________________<br>
>> > rules-users mailing list<br>
>> > <a href="mailto:rules-users@lists.jboss.org" target="_blank">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>
>><br>
>><br>
>> _______________________________________________<br>
>> rules-users mailing list<br>
>> <a href="mailto:rules-users@lists.jboss.org" target="_blank">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>
>><br>
><br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
rules-users mailing list
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a></pre>
</blockquote>
<br>
</div></div></div>
<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></blockquote></div><br></div>