Re: [rules-users] Problem with Drools 6.0.1 Eclipse Projects with CDI and Java 7

2014-07-24 Thread WebHomer
Thanks! upgrading to 6.1CR2 fixed both the problem with loading the annotation and the inability to use Java 1.7 syntax -- View this message in context: http://drools.46999.n3.nabble.com/Problem-with-Drools-6-0-1-Eclipse-Projects-with-CDI-and-Java-7-tp4030485p4030490.html Sent from the Drools:

Re: [rules-users] Problem with Drools 6.0.1 Eclipse Projects with CDI and Java 7

2014-07-24 Thread Borris
I had a similar problem. There was a bug https://issues.jboss.org/browse/DROOLS-472 which has now been fixed. I think if you try the 6.1CR you should find the issue is resolved. Borris On Thursday 24/07/2014 15:35, WebHomer wrote: > I'm new to Drools and pretty new to maven. I am trying to inc

[rules-users] Problem with Drools 6.0.1 Eclipse Projects with CDI and Java 7

2014-07-24 Thread WebHomer
I'm new to Drools and pretty new to maven. I am trying to incorporate Drools 6.0.1 into a Wildfly (8.0.0) based project. I am using the current version of JBoss Developer Studio 7.1.1.GA on Redhat Linux In Eclipse the project has a number of errors in CDI modules, but builds without errors in maven

Re: [rules-users] problem with drools

2014-02-28 Thread Sandhya Sree
thanks Davide. that was really helping. i get the output displayed twice. what can i do about it. On Fri, Feb 28, 2014 at 8:50 PM, Davide Sottara wrote: > There are a few errors in the rules > > 1) > not FileData( fileOld == fileNew ) > will fire either 1) when there is a FileData with differe

Re: [rules-users] problem with drools

2014-02-28 Thread Sandhya Sree
w this message in context: > http://drools.46999.n3.nabble.com/rules-users-problem-with-drools-tp4028402p4028419.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > ___ > rules-users mailing list > rules-users@l

Re: [rules-users] problem with drools

2014-02-28 Thread Davide Sottara
There are a few errors in the rules 1) not FileData( fileOld == fileNew ) will fire either 1) when there is a FileData with different lists OR 2) when there is no FileData at all in the workingMemory 2) the rule should not compile, unless fileOld and fileNew are STATIC fields of the class FileDat

Re: [rules-users] problem with drools

2014-02-28 Thread rjr201
I think you must be inserting more than one object into your session. You should be doing something like: kSession.insert(fileData); kSession.fireAllRules(); -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-problem-with-drools-tp4028402p4028419.html Sent from

Re: [rules-users] problem with drools

2014-02-28 Thread Sandhya Sree
> > On Fri, Feb 28, 2014 at 8:02 PM, rjr201 wrote: > >> What objects are you inserting into the session? >> >> >> >> -- >> View this message in context: >> http://drools.46999.n3.nabble.com/rules-users-problem-with-drools-tp4028402p4028416.html &g

Re: [rules-users] problem with drools

2014-02-28 Thread Sandhya Sree
the object is of type FileData ( that contains fileOld and fileNew) On Fri, Feb 28, 2014 at 8:02 PM, rjr201 wrote: > What objects are you inserting into the session? > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/rules-users-problem-with-dro

Re: [rules-users] problem with drools

2014-02-28 Thread rjr201
What objects are you inserting into the session? -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-problem-with-drools-tp4028402p4028416.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules

Re: [rules-users] problem with drools

2014-02-28 Thread Sandhya Sree
ile : FileData(fileOld != fileNew) > then >System.out.println("files are not equal"); >difference($file.getFileOld(),$file.getFileNew()); > > end > > > > -- > View this message in context: > http://drools.46999.n3.nabb

Re: [rules-users] problem with drools

2014-02-28 Thread rjr201
want to bind a value). So your rule should be something like: rule "files not equal" when $file : FileData(fileOld != fileNew) then System.out.println("files are not equal"); difference($file.getFileOld(),$file.getFileNew()); end -- View this message i

[rules-users] problem with drools

2014-02-28 Thread Sandhya Sree
hi, im new to drools..im trying to create a project as follows. i have a class called Monitor which monitors a folder and creates two lists called fileOld( which is the list of filenames in that folder at time t1) and fileNew(which is the list of filenames in that folder at time t2). i have anoth

Re: [rules-users] Problem with Drools Eclipse

2012-05-16 Thread paco
Thank you everybody for your help. Paco -- View this message in context: http://drools.46999.n3.nabble.com/Problem-with-Drools-Eclipse-tp3988261p3996589.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing

Re: [rules-users] Problem with Drools Eclipse

2012-05-15 Thread paco
It's ok now! Thanks -- View this message in context: http://drools.46999.n3.nabble.com/Problem-with-Drools-Eclipse-tp3988261p3988439.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lis

Re: [rules-users] Problem with Drools Eclipse

2012-05-15 Thread Ingo Beyerlein
t- Von: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] Im Auftrag von paco Gesendet: Dienstag, 15. Mai 2012 17:08 An: rules-users@lists.jboss.org Betreff: [rules-users] Problem with Drools Eclipse Hello Everybody! I've just installed on eclipse Indigo Vers

Re: [rules-users] Problem with Drools Eclipse

2012-05-15 Thread Mark Proctor
The documentation explains how to setup a runtime. You can also see it in this video, after 1m and 18s http://www.youtube.com/watch?v=Omj4PR3v-nI On 15/05/2012 16:07, paco wrote: > Hello Everybody! > I've just installed on eclipse Indigo Version: 3.7.2, the Drools 5.4.0 > fianl. > After I wanted

[rules-users] Problem with Drools Eclipse

2012-05-15 Thread paco
Hello Everybody! I've just installed on eclipse Indigo Version: 3.7.2, the Drools 5.4.0 fianl. After I wanted to create a simple Drools projet but I've got this error: "No Drools Runtimes have been defined, configure workspace settings first". Please can somebody tell me what's wrong? Thanks --

[rules-users] Problem with Drools debuggin in Eclipse Reg:

2011-03-17 Thread Murali Venugopal
Hi, I'm encountering a strange problem with debugging an Drools application in Eclipse Platform. I couldn't find any help in the internet. Also, i can't find any previous post in this mailing list. Please try to help me. My Platform details are below: O

[rules-users] Problem with Drools 4.0.3

2007-11-23 Thread prateek.katiyar
Hello all I am using Drools4.0.3 I have a J2EE application that I am running on Tomcat. I am using a singleton class in which I am doing the following steps in the constructor : PackageBuilderConfiguration pkgBuilderCfg = new PackageBuilderConfiguration(); JavaDialectConfiguration javaConf =

Re: [rules-users] problem with Drools 4.0.1.

2007-10-23 Thread Edson Tirelli
Prateek, It is difficult to diagnose the problem only by the provided stacktrace. May I suggest that first thing you do is upgrade the drools version to 4.0.2or if possible 4.0.3 (to be released today)? There are several bug fixes and a few error message improvements, that hopefully will all

[rules-users] problem with Drools 4.0.1.

2007-10-23 Thread prateek.katiyar
hello all I am using Drools 4.0.1. I have one rule ( name = valsubmitLoanApplication#0_1193115386921 ) in my rule file. When I am running my application on Tomcat Server first time, the validation is happening properly. But when I am running the same application second time(the server is stil

Re: [rules-users] Problem with Drools IDE (Eclipse)

2007-07-13 Thread Fernando Meyer
Good Afternoon, Unfortunately, Drools eclipse plugin isn't compatible with Eclipse Europa ( 3.3 ), try using 3.2 instead. Regards. Fernando Meyer http://fmeyer.org [EMAIL PROTECTED] PGP: 0xD804DDFB On Jul 13, 2007, at 10:28 AM, Eric Miles wrote: I attempted to send this last night, but

[rules-users] Problem with Drools IDE (Eclipse)

2007-07-13 Thread Eric Miles
I attempted to send this last night, but didn't see it show up to the user list so I'm going to try again, I apologize if this was sent more than once. When I attempt to open several views (Working Memory, Agenda, Global, etc) within an JBoss Rules enabled Eclipse, I receive the following error: