Re: [rules-users] Drools 6.0.1: Pushing changes back to Workbench GIT using SSH

2014-08-13 Thread ketan.jariwala
Still , i am facing same issue. how to clone and push drools workbench data.
I have tried the above solution. but still it is not working.



--
View this message in context: 
http://drools.46999.n3.nabble.com/Drools-6-0-1-Pushing-changes-back-to-Workbench-GIT-using-SSH-tp4027800p4030651.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Starnge problem with AbstractKieModule while testing, ignores "classes" folfer

2014-08-13 Thread Mark Proctor
As i mentioned it’s probably a bug, our path searching does not take into 
account there might be two path roots. You’ll need to submit a self contained 
unit test.
http://docs.jboss.org/drools/release/5.6.0.Final/droolsjbpm-introduction-docs/html/gettingstarted.html

One work around is to put all your DRLs into one jar, and use that as a 
dependency. Then the paths are merged.

Mark
On 13 Aug 2014, at 17:57, mattmadhavan  wrote:

> Hi Mark,
> This definitely seems to be a problem. I placed my  spring k-module file
> called *kmodule-spring-breast.xml * under src/mail/resouces/META-INF folder,
> I am still getting the error.
> 
> But I am referencing the kmodule-spring-breast.xml from a Spring Test file.
> 
> Its looking for the .DRL file in the test-classes -ONLY-. Its becoming a
> real pain.
> 
> Any suggestions please?
> 
> Thanks in advance!
> 
> Matt
> 
> 
> 
> --
> View this message in context: 
> http://drools.46999.n3.nabble.com/Starnge-problem-with-AbstractKieModule-while-testing-ignores-classes-folfer-tp4030641p4030649.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Starnge problem with AbstractKieModule while testing, ignores "classes" folfer

2014-08-13 Thread mattmadhavan
Hi Mark,
This definitely seems to be a problem. I placed my  spring k-module file
called *kmodule-spring-breast.xml * under src/mail/resouces/META-INF folder,
I am still getting the error.

But I am referencing the kmodule-spring-breast.xml from a Spring Test file.

Its looking for the .DRL file in the test-classes -ONLY-. Its becoming a
real pain.

Any suggestions please?

Thanks in advance!

Matt



--
View this message in context: 
http://drools.46999.n3.nabble.com/Starnge-problem-with-AbstractKieModule-while-testing-ignores-classes-folfer-tp4030641p4030649.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Starnge problem with AbstractKieModule while testing, ignores "classes" folfer

2014-08-13 Thread mattmadhavan
Hi Mark,
Sorry I forgot to mention. I am using kie-spring to load everything. I am
using spring beanrefCOntext for testing.

I did move the module(Spring) to the META-INF folder. The result is the
same.

Any ideas please?

Thanks
Matt'M



--
View this message in context: 
http://drools.46999.n3.nabble.com/Starnge-problem-with-AbstractKieModule-while-testing-ignores-classes-folfer-tp4030641p4030647.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Anyone? Re: Drools bpmn gateway constraints questions

2014-08-13 Thread Mauricio Salatino
Hi Matt

so:

"1. How do I refer to the current fact?
- Can I do something like this?
*$cancerRecord : CancerRecord ()"*


*The current record where??? If you have multiple CancerRecord(s) each of
them will match with that conditional element. If you have a business
process with a process variable you should point to that variable instead
of using the rules language to filter it. If the CancerRecord is a fact
that's the right way to go.  *
"2. How do I invoke external functions?
Can I do something like

*inlist* ($cancerRecord.PRIMARY_SITE,  "C500, C501, C502, C503, C504, C505,
C506, C508, C509")
*containsAny* (kcontext, $cancerRecord,
"505101,505102,505103,505104,505105,505106,505107,505108") "

Did you try this:
eval(inlist(.)) in the RHS?




"I not able to locate any documentation in this. Can some one point me to
the right documentation. I have been stuck on this for couple of days. "

All of this is explained in the drools.org documentation site, I'm pretty
sure that the eval is there.



On Wed, Aug 13, 2014 at 4:33 PM, mattmadhavan  wrote:

> Anyone out there please?
>
> Thanks
> Matt
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Drools-bpmn-gateway-constraints-questions-tp4030640p4030646.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
 - MyJourney @ http://salaboy.com 
 - Co-Founder @ http://www.jugargentina.org
 - Co-Founder @ http://www.jbug.com.ar

 - Salatino "Salaboy" Mauricio -
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] Anyone? Re: Drools bpmn gateway constraints questions

2014-08-13 Thread mattmadhavan
Anyone out there please?

Thanks
Matt



--
View this message in context: 
http://drools.46999.n3.nabble.com/Drools-bpmn-gateway-constraints-questions-tp4030640p4030646.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users