Re: [rules-users] Rules updating error

2014-03-21 Thread Ioannis Christodoulou
Actually any change that builds another package will cause the kiescanner to report errors on analysing the 'myFunctionCall(myGlobalList);' expression. e.g. change System.out.println(List contains:+list); === System.out.println(Global List Variable contains:+list); Ευχαριστώ πολύ, Ιωάννης

Re: [rules-users] Updating project repositories

2014-03-21 Thread Toni Rikkola
Hi Joe, What we do in the Workbench is just editing the pom.xml with our editor. Since the problem happens during Build Deploy, I'm tempted to say the problem is in Drools core. We just pass the pom.xml as it is for the core codes and let them handle all the Maven tasks. I'll check with

Re: [rules-users] Updating project repositories

2014-03-21 Thread Toni Rikkola
And Mario bounced it back into Workbench ;) We do our deployment here. https://github.com/droolsjbpm/guvnor/blob/master/guvnor-m2repo-editor/guvnor-m2repo-editor-backend/src/main/java/org/guvnor/m2repo/backend/server/GuvnorM2Repository.java#L197 First we install into the local. The computer

Re: [rules-users] part time intern @ Red Hat

2014-03-21 Thread Bharadwaj N
I am interested. please let me know the full details. Thanks, Bharadwaj nakka. Techlead at techmahindra. On Thu, Mar 20, 2014 at 9:28 PM, Mark Proctor mproc...@codehaus.org wrote: I have a small budget for a part time intern for one year, 12K USD. The work can be 100% remote, from

Re: [rules-users] Efficiency questions about DSL

2014-03-21 Thread mfalaize
Is it a deliberate choice to not include DSL files in the same package ? If we are limited to the same folder (or same package), what do you think about supporting inheritance in DSL files ? With this feature we could provide to the community generic translation DSL files for many languages.

[rules-users] Drools UI inside JSF

2014-03-21 Thread gigu979
Hi All, I've a web application developed in JSF. I need that my customers (the users) can define rules through this web interface. Is there any tag library or some way to translate the input data in the drl script??? There is a way to use guvnor modules within a facelet?? Thanks -- View

Re: [rules-users] Drools UI inside JSF

2014-03-21 Thread Mauricio Salatino
Hi, as far as I know there is nothing, but it shouldn't be that difficult to create. You will need to build a bridge between JSF and GWT and try to embed some bits of guvnor into your JSF app. I strongly recommend you to take a look at the new version of the tooling which will allow you to be more

[rules-users] Want to post to this list

2014-03-21 Thread Ankit Jain
Hi, I am Ankit Jain, a newbie to Drools. In order to get my queries answered I would like to post to this mailing list. Regards Ankit ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Want to post to this list

2014-03-21 Thread Michael Anstis
You just did! Feel free to post more.. and include your questions :) On 21 March 2014 10:01, Ankit Jain anki...@gmail.com wrote: Hi, I am Ankit Jain, a newbie to Drools. In order to get my queries answered I would like to post to this mailing list. Regards Ankit

Re: [rules-users] Want to post to this list

2014-03-21 Thread Mauricio Salatino
Hmm.. you are already posting to this list.. just send the questions :) On Fri, Mar 21, 2014 at 10:01 AM, Ankit Jain anki...@gmail.com wrote: Hi, I am Ankit Jain, a newbie to Drools. In order to get my queries answered I would like to post to this mailing list. Regards Ankit

[rules-users] How to allow non-programmers/non-Drools programmers to define rules

2014-03-21 Thread ankit3j
I am a newbie to Drools and have been looking for a way to allow non-programmers, mostly administrative guys, to define rules using a simple language format and minimum coding terms/effort. I came across the concept of DSL and DSLR and found it useful. However, it seems that to use DSL one needs

[rules-users] Configuring kie: namespace for Spring.

2014-03-21 Thread milen igrachev
Hello, can someone please paste me his definition of the xmlns:kie in the spring configuration. I read the documentation and I got the configuration principles, but I cannot find the namespace definition in the net. A simple paste of the header xmlns:*/schemaLocation will be perfect.

Re: [rules-users] Configuring kie: namespace for Spring.

2014-03-21 Thread kenneth . westelinck
This is what I have: ?xml version=1.0 encoding=UTF-8? beans xmlns=http://www.springframework.org/schema/beans; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:kie=http://drools.org/schema/kie-spring; xsi:schemaLocation= http://www.springframework.org/schema/beans

[rules-users] cannot copy guided decision table

2014-03-21 Thread Ioannis Christodoulou
I tried to copy a guided decision table in kie workbench 6.0.1.Final It created the new decision table, but the generated drl (which can be viewed from the 'source' tab) cannot be validated, because the generated rule names are the same with the copied decision table. For example, copying the

Re: [rules-users] How to allow non-programmers/non-Drools programmers to define rules

2014-03-21 Thread rjr201
DSL's are ok up to a point. However I've found it's sometimes easier to create very simple java classes and teach users the basics of the drools language. It's really down to the problem you are trying to solve. Have you looked into using spreadsheets? If you can fit your problem/solution into

Re: [rules-users] How to allow non-programmers/non-Drools programmers to define rules

2014-03-21 Thread Ankit Jain
Thats a good point rjr201. Even I was looking to explore spreadsheet option a little further. But the question then is how are spreadsheets compiled/parsed into rules? Do they act as DSLs? As I want to keep it as a code-free option for users, do I need to insert a parser to generate a DRL file

Re: [rules-users] How to allow non-programmers/non-Drools programmers to define rules

2014-03-21 Thread ankit3j
Thats a good point rjr201. Even I was looking to explore spreadsheet option a little further. But the question then is how are spreadsheets compiled/parsed into rules? Do they act as DSLs? As I want to keep it as a code-free option for users, do I need to insert a parser to generate a DRL file

Re: [rules-users] Configuring kie: namespace for Spring.

2014-03-21 Thread milen igrachev
Big thanks, it's working perfectly! M. Оригинално писмо От: kenneth.westeli...@telenet.be Относно: Re: [rules-users] Configuring kie: namespace for Spring. До: Rules Users List Изпратено на: Петък, 2014, Март 21 12:29:13 EET This is what I have:

[rules-users] Not able to detect how to correct ERR 102

2014-03-21 Thread ankit3j
Below is a sample DSLR code I am trying out. Now I am getting error in when block. After hours of trying to search for a solution I have not yet been able to detect the error. package com.sample import com.sample.*; //expander sample.dsl rule hello rule when There is a

Re: [rules-users] Not able to detect how to correct ERR 102

2014-03-21 Thread Maxime Falaize
The problem seems to be in the DSL file. Can you give us its contents ? 2014-03-21 12:47 GMT+01:00 ankit3j anki...@gmail.com: Below is a sample DSLR code I am trying out. Now I am getting error in when block. After hours of trying to search for a solution I have not yet been able to detect

Re: [rules-users] How to allow non-programmers/non-Drools programmers to define rules

2014-03-21 Thread Stephen Masters
DSL is essentially just templates which map phrases (which may look a bit like natural language) to DRL. DSLR is the actual rules and looks a bit like normal DRL, except that inside the ‘when’ and ‘then’ sections you tend to find phrases based on the DSL. This is the bit which could possibly

Re: [rules-users] Not able to detect how to correct ERR 102

2014-03-21 Thread ankit3j
Contents of Sample.dsl [condition][]There is a Customer with first name {name}=$customer : Customer(firstName == {name}) [consequence][]Greet Customer=System.out.println(Hello +

Re: [rules-users] Not able to detect how to correct ERR 102

2014-03-21 Thread Maxime Falaize
Try with this : rule hello rule when There is a Customer with first name David then Greet Customer end and this DSL : [condition][]There is a

Re: [rules-users] Not able to detect how to correct ERR 102

2014-03-21 Thread Stephen Masters
Not sure whether you reformatted the DSL for the mailing list, but it’s worth pointing out that each phrase defined in the DSL needs to be on a single line. This may have changed in a newer version of Drools (my DSL runs in 5.3), but DSL hasn’t been given much attention for a while, so I

Re: [rules-users] Not able to detect how to correct ERR 102

2014-03-21 Thread ankit3j
That was the first thing I tried. Anyways, I tried it again and still doesn't work. -- View this message in context: http://drools.46999.n3.nabble.com/Not-able-to-detect-how-to-correct-ERR-102-tp4028884p4028891.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] How to allow non-programmers/non-Drools programmers to define rules

2014-03-21 Thread Wolfgang Laun
Here is a demo for a DSL development: Chapter 5 in http://members.inode.at/w.laun/drools/DomainSpecificLanguages/DomainSpecificLanguages.pdf -W On 21/03/2014, Stephen Masters stephen.mast...@me.com wrote: DSL is essentially just templates which map phrases (which may look a bit like natural

Re: [rules-users] Not able to detect how to correct ERR 102

2014-03-21 Thread ankit3j
I am using Drools Eclipse plugin which takes care of it. -- View this message in context: http://drools.46999.n3.nabble.com/Not-able-to-detect-how-to-correct-ERR-102-tp4028884p4028894.html Sent from the Drools: User forum mailing list archive at Nabble.com.

[rules-users] Performance of rules in Drools

2014-03-21 Thread Seb Geek
Hello, I have a list of very similar rules executed in Drools and some performance problems appear ... I want some advices to choose between two direction in order to correct them ... First the context : I have to execute always the same check but with different level or parameters. For example,

Re: [rules-users] cannot copy guided decision table

2014-03-21 Thread Michael Anstis
This has been fixed in the next release. You can download the sources and build locally if you want the fix sooner. On 21 March 2014 11:35, Ioannis Christodoulou io.chris...@gmail.com wrote: I tried to copy a guided decision table in kie workbench 6.0.1.Final It created the new decision

Re: [rules-users] Not able to detect how to correct ERR 102

2014-03-21 Thread mfalaize
You're right Stephen I didn't see that the DSL was reformatted when I paste it in the mail. @ankit3j : Do you still have the same error ? -- View this message in context: http://drools.46999.n3.nabble.com/Not-able-to-detect-how-to-correct-ERR-102-tp4028884p4028896.html Sent from the Drools:

Re: [rules-users] Not able to detect how to correct ERR 102

2014-03-21 Thread ankit3j
Yes Maxime, still the same error. -- View this message in context: http://drools.46999.n3.nabble.com/Not-able-to-detect-how-to-correct-ERR-102-tp4028884p4028897.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users

Re: [rules-users] cannot copy guided decision table

2014-03-21 Thread Ioannis Christodoulou
ah great thanks! Ευχαριστώ πολύ, Ιωάννης Χριστοδούλου On Fri, Mar 21, 2014 at 3:47 PM, Michael Anstis michael.ans...@gmail.comwrote: This has been fixed in the next release. You can download the sources and build locally if you want the fix sooner. On 21 March 2014 11:35, Ioannis

Re: [rules-users] Not able to detect how to correct ERR 102

2014-03-21 Thread Maxime Falaize
Is your DSL file in the same directory of your DSLR ? 2014-03-21 14:55 GMT+01:00 ankit3j anki...@gmail.com: Yes Maxime, still the same error. -- View this message in context: http://drools.46999.n3.nabble.com/Not-able-to-detect-how-to-correct-ERR-102-tp4028884p4028897.html Sent from the

Re: [rules-users] Not able to detect how to correct ERR 102

2014-03-21 Thread ankit3j
Yes Maxime. They both are in same folder. -- View this message in context: http://drools.46999.n3.nabble.com/Not-able-to-detect-how-to-correct-ERR-102-tp4028884p4028900.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___

Re: [rules-users] Rules updating error

2014-03-21 Thread Michael Anstis
There is an issue with the application not validating, because I have a guided decision table which uses a global variable and a function, but that seems to not be an error after all (everything seems to build as it should). Fixed for the next release. On 20 March 2014 11:27, Ioannis

Re: [rules-users] Needs advice to help Drools on a big problem (and avoid GC overhead)

2014-03-21 Thread Raphael Jolivet
Guys, Splitting the problem into smaller ones and retracting facts totally solved the memory problem and also speed up the process. I would like to thank you for your responsiveness and expertise. I am truly amazed by the activity of this community, and Drools is an awesome piece of software !

Re: [rules-users] NullPointerException with kie-spring 6.0.1 and Spring 4.0

2014-03-21 Thread alanvarghese
I am getting this error. Using kie-spring-6.0.1.Final.jar spring-webmvc-4.0.0.RELEASE.jar drools-core-6.0.1.Final.jar Can you please help? [3/21/14 10:16:11:264 EDT] 009f DispatcherSer I org.springframework.web.servlet.FrameworkServlet initServletBean FrameworkServlet 'spring':

Re: [rules-users] Not able to detect how to correct ERR 102

2014-03-21 Thread Michael Anstis
Out of interest what JVM do you use? We have this recorded: https://bugzilla.redhat.com/show_bug.cgi?id=1078839(but it's on IBM's JVM). On 21 March 2014 14:17, ankit3j anki...@gmail.com wrote: Yes Maxime. They both are in same folder. -- View this message in context:

Re: [rules-users] 6.0.1.F How to set Maven repo used by KieScanner?

2014-03-21 Thread SrjTx
Ok, so I am doing the following. In my init, i create a container and a scanner kieContainer = kieServices.newKieContainer(releaseId); kieScanner = kieServices.newKieScanner(kieContainer); Then later ,when my timer fires, call the scanner - which I know has

Re: [rules-users] Not able to detect how to correct ERR 102

2014-03-21 Thread Wolfgang Laun
The corrected version of dsl and dslr works fine. --- [condition][]There is a Customer with first name {name}= $customer : Customer(firstName == {name}) [consequence][]Greet Customer= System.out.println(Hello + $customer.getFirstName()); ---

Re: [rules-users] Performance of rules in Drools

2014-03-21 Thread Wolfgang Laun
More efficient w.r.t. runtime, maintenance, development effort,...? Writing individual rules is quick, bad for maintenance, and probably best, if a session has only a few inputs as it starts fast from a precompiled rule base. Parameter facts take a little time for development, are very good for

Re: [rules-users] CompositiveClassLoader$CachingLoader#load method intermittently hangs

2014-03-21 Thread mikerod
Does anyone have any thoughts on this issue? I still haven't been able to get to the root of the concurrency issue. Digging through some of the Drools implementations, but no luck. :) -- View this message in context:

Re: [rules-users] Spring 4.0 Drools 6.0.1 Integration issue

2014-03-21 Thread alanvarghese
The above code works perfectly if it is a batch program. It doesn't work in a Spring MVC web project. Is that a known issue? ContextLoader E org.springframework.web.context.ContextLoader initWebApplicationContext Context initialization failed

Re: [rules-users] Spring 4.0 Drools 6.0.1 Integration issue

2014-03-21 Thread Mark Proctor
It’s not a known issue, but that doesn’t mean it isn’t an issue. I guess open a JIRA, and maybe take a look into yourself, to see if you can figure out the fix. http://docs.jboss.org/drools/release/5.5.0.Final/droolsjbpm-introduction-docs/html/gettingstarted.html Mark On 21 Mar 2014, at 21:27,