The current version is MR3. It does not require default constructors for
facts anymore.
There are some API changes you will face when updating, but hopefully
there will not be any major change until the final release now.
[]s
Edson
2007/6/27, warmonga <warmonga(a)gmx.net>:
Hi Mark,
are there any news regarding the below mentioned issue of facts needing to
have a default constructor from drools 3.1.M on?
Thanks and best regards,
Maurice
Mark Proctor wrote:
>
> Your facts must have a default constructor, due to our proxy generation
> with shadow facts. We are working on multiple solutions for this.
>
> Mark
> Tom Gonzalez wrote:
>>
>> I am attempting to convert our application to use drools 3.1.M from
>> current use of 3.0.4.
>>
>> I downloaded the binaries posted and am getting this very basic
>> exception when building our rules.
>>
>> [java] Feb 19, 2007 5:21:25 PM
>> com.nortel.connect.rbuilder.RulePackage addR
>> ulesFromDrlFile
>> [java] INFO: adding Rules from: CBMRules.drl (with
>> associated DSL)
>> [java] Exception in thread "main" java.lang.NoSuchFieldError:
>> recognizer
>> [java] at
>> org.drools.lang.DRLLexer$DFA18.<init>(DRLLexer.java:3914)
>> [java] at org.drools.lang.DRLLexer.<init>(DRLLexer.java:3565)
>> [java] at
>> org.drools.compiler.DrlParser.getParser(DrlParser.java:78)
>> [java] at
>> org.drools.compiler.DrlParser.parse(DrlParser.java:110)
>> [java] at org.drools.compiler.DrlParser.parse(DrlParser.java
:96)
>> [java] at
>> com.nortel.connect.rbuilder.RulePackage.addRulesFromDrlFile(R
>> ulePackage.java:219)
>>
>> Any suggestions for getting past this?
>>
>> Thanks,
>>
>> Tom G
>>
>>
------------------------------------------------------------------------
>>
>> _______________________________________________
>> rules-dev mailing list
>> rules-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/rules-dev
>>
>
>
> _______________________________________________
> rules-dev mailing list
> rules-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-dev
>
>
--
View this message in context:
http://www.nabble.com/3.1-M1---Can%27t-get-rules-to-build-tf3255689.html#...
Sent from the drools - dev mailing list archive at
Nabble.com.
_______________________________________________
rules-dev mailing list
rules-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
--
Edson Tirelli
Software Engineer - JBoss Rules Core Developer
Office: +55 11 3529-6000
Mobile: +55 11 9287-5646
JBoss, a division of Red Hat @
www.jboss.com