Take a look at Retroweaver (http://retroweaver.sourceforge.net/). It
compiles Java 5 source to JRE 1.4 classes. I remember there being several
open-source tools like this but I could not find them with a quick search.
I have not used this myself but have plans to integrate it into my build
scri
Regarding 1, it is the expected behavior, since there is no vehicle in
the wm whose model is not "bmw".
Regarding 2, probably a bug. Can you please open a JIRA with a test
case?
[]s
Edson
2009/2/3 Sudhir M
> Hi ALL,
> We are using drools 4.0.7 for one of our projects. We encou
Sudhir,
As I said in my previous e-mail, in case 1, it is the expected behavior.
http://en.wikipedia.org/wiki/First-order_logic
If you want to ensure that there is at least one Vehicle AND for all
Vehicles the model is bmw, write your rule as:
when
exists( Vehicle() )
forall( V
Thanks Edson. I think I follow you. In my example, I will always have the
transaction timestamp. In the case of the batch transactions, I still get
the transaction time, I just might get the data a few hours later. I should
be good if I use the transaction time for @timestamp.
Cool stuff.
I st
Sorry to be ignorant but what are the details about the planned
February 4th Webinar? How to connect, etc.? Thanks.
- Mike
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Hong-Qiang Gao wrote:
I am new to Drools. Are there any documents that detail the upgrade
from 2.1 to 3.0 or to 4.0.7? In the 4.0.7 documents, there are good
descriptions of upgrading from 3.0 to 4.0.7 and also many examples.
Is there any examples that use org.drools.decisiontable.parser.
J Michael Dean wrote:
Sorry to be ignorant but what are the details about the planned
February 4th Webinar? How to connect, etc.? Thanks.
I think i'm gonna postpone this a week, as I would like to get the 5.0
candidate release out, prior to the clinic happening. I'll send out an
official emai
Hello,
I just started to use Enums in my rules and I got following Exception during
execution of the rule (compilation of rules is OK)
[...]
Caused by: org.mvel.PropertyAccessException: unable to resolve property: unable
to resolve token: MetaType.cover
MetaType is an Enum...
I know my error
Very good. I suppose if one writes a DRL there is also the possiblity
of declaring a variable to represent one of the nestings?
Robert Costello
-Original Message-
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Sudhir M
Sent:
Hello,
Is there way to insert all facts from collection (similar to
session.execute(collection)) in the rule consequence ?
Thanks!
--
View this message in context:
http://www.nabble.com/Inserting-collection-of-facts-in-rule-Consequence-tp21814308p21814308.html
Sent from the drools - user mail
Jing,
I'm not sure where you would put a drl file, but I would suggest looking
at the code. I've had success using Guvnor and exporting a package to
the execution server, but not a drl by itself yet.
Robert Costello
-Original Message-
From: rules-users-boun...@lists.jboss.
Hi Ankit,
Thanks for the advice. I will look into version 5.0.
Regards,
Hong
From: Gupta, Ankit (Ankit) [mailto:gupt...@avaya.com]
Sent: Tuesday, February 03, 2009 12:19 AM
To: Rules Users List
Cc: h...@scenpro.com
Subject: RE: [rules-users] upgrade Drools from 2.1 to 4.0.7
Hi
Hi Edson,
Thanks for a quick reply.
Regarding the second second point I will open an issue in JIRA.
Regarding the first one is that a bug as well? since I haven't assert any
of the vehicle instances I suppose the rule shouldn't fire right? But the
rule is firing always.
Thanks,
sudhir.
On Tue
1.3.9 will work. You may try 1.3.12, but I didn't tested it myself.
[]s
Edson
2009/2/3 Gras, Patrick
> Hello,
>
> I just started to use Enums in my rules and I got following Exception
> during execution of the rule (compilation of rules is OK)
>
> […]
> Caused by: org.mvel.PropertyAcc
Here's my solution for this.
I added a model with some Lists
List stringList = Arrays.asList("Moe", "Larry", "Curly", "Edson",
"Mark");
List intList = Arrays.asList(1,2,3,4,5,6,7);
And was able to add a condition using 'contains'.
Next step... see if there is a way for me to add an 'or' o
I'm gonna cancel this for this week, I want to get the Drools 5.0
candidate release out before we do the clinic. So lets try for next
week, I'll keep everyone posted.
Mark
Mark Proctor wrote:
I'm going to try an informal experiment for the 4th of February at 5PM
GMT (Date/Time subject to chang
I spoke too soon. I was hoping to refer to the Person.name in the RHS,
but it appears that is not an option.
Can anyone point me to the code where I can begin to add the 'in'
operator for the web-based rule table? I'll gladly share my solution.
Best regards,
Robert Costello
-Origina
17 matches
Mail list logo