Re: [rules-users] Guvnor hates me

2011-11-25 Thread Michael Anstis
Yes that would be the case. Creating the model asset merely make the "container". You upload/attach the content and then save. I hope you and Guvnor become good friends ;) sent on the move On 25 Nov 2011 20:24, "Ronald Albury" wrote: > I found it. > > It is not enough to import the Jar file -

Re: [rules-users] Guvnor hates me

2011-11-25 Thread Ronald Albury
New Issue: My Message class has an int field (status) and several "public static final int" values representing possibile statuses. I am trying to use the directed rules editor to create a rule when clause: There is a Message with status equal to Message.SOME_STATUS. I don't see any way to do th

Re: [rules-users] Guvnor hates me

2011-11-25 Thread Ronald Albury
I found it. It is not enough to import the Jar file - you must also hit File->Save. On Fri, Nov 25, 2011 at 1:37 PM, Ronald Albury wrote: > Newbie issue: > I created a package, com.scs.test > I added a model to that package (a java Jar file with POJOs in it). The > jar contains com.scs.test.Me

[rules-users] duration attribute & other rule language features issue

2011-11-25 Thread Prashant Badhe
Hi, we were using drools engine 5.0.1 version with rules having 'duration', 'agenda-group' attributes and now we want to upgrade drools engine to 5.1.1 or latest 5.3.0 but we find 'duration' feature not working. What are the equivalents of those features in 5.1.1 and in 5.3.0? >From drools-exper

Re: [rules-users] Guvnor hates me

2011-11-25 Thread Michael Anstis
What version of Guvnor are you using? There has been problems with some if the older versions requiring (at least) a browser refresh but AFAIK this is fixed in 5.3 sent on the move On 25 Nov 2011 18:38, "Ronald Albury" wrote: > Newbie issue: > I created a package, com.scs.test > I added a model

[rules-users] Guvnor hates me

2011-11-25 Thread Ronald Albury
Newbie issue: I created a package, com.scs.test I added a model to that package (a java Jar file with POJOs in it). The jar contains com.scs.test.Message and com.scs.test.Person. I edited the package's "Configuration: Imported Types" to include the two objects from the model (com.scs.test.Message

Re: [rules-users] string replace collision problem

2011-11-25 Thread Wolfgang Laun
As can be frequently seen on this list (as well as on others) the lack of precision in the original definition of the transformation is striking. Now that we know that S -> VOL and SF -> S must be done in parallel, and that arbitrary combinations of the input strings need to be handled, we still d

Re: [rules-users] org.drools.compiler.DroolsParserException while adding Package from DRL

2011-11-25 Thread ssprick
I was able to resolve the issue mentioned above by adding the follwoing line to the VM arguments of my Eclipse Server Run Configuration for both, the Tomcat for the Drools Engine as well as the Tomcat for the Guvnor: -Dfile.encoding=UTF-8 (Added to: Package Explorer > Servers > Run As > Run Configu