Re: [rules-users] External Jar/Pojo in Drools Workbench.

2014-04-10 Thread Leonard93
Ah thank you, I will look into that and try :) It seems like that would be indeed the problem. -- View this message in context: http://drools.46999.n3.nabble.com/External-Jar-Pojo-in-Drools-Workbench-tp4029190p4029194.html Sent from the Drools: User forum mailing list archive at Nabble.com. __

Re: [rules-users] External Jar/Pojo in Drools Workbench.

2014-04-10 Thread Michael Anstis
OK, I imported your JAR and created a rule as shown below. The Guided Rule Editor had the option to select the enums for Country. Theonly issue I had was with "Destination" itself - as it should be a lower case "d". Drools Compiler did report an error that is was ..."Unable to create Field Extra

Re: [rules-users] External Jar/Pojo in Drools Workbench.

2014-04-10 Thread Leonard93
I did not realize you could import them in the config and then reference them right away in the rule without doing the data modelling step. Although I did that and it still has the same problems. GenericDataObject.jar is th

Re: [rules-users] External Jar/Pojo in Drools Workbench.

2014-04-10 Thread Michael Anstis
There should be no need to extend the classes in the JAR using the Data Modeller (unless you really want to of course). Did you import all the classes your rule needs - if they are in different packages - with the "Config" tab? Can you please provide your JAR and a screen-shot of the rule you're

[rules-users] External Jar/Pojo in Drools Workbench.

2014-04-10 Thread Leonard93
Hello everyone, I have a small question/problem. I have created a class (POJO) in Eclipse and I want to be able to write rules over this class in the Drools Workbench, thus I exported the class and the classes it depends on (1 other class) to a Jar and imported it in the Drools workbench. Now wha