[rules-users] DSL Troubles

Andreas Boehm andy_boehm at gmx.de
Tue Aug 28 16:48:34 EDT 2007


Hi all,

I'm using JBoss Rules 4.0.0.12865MR3 and trying to use a DSL expander in my 
DRL file:

  package docmap.logic
  import docmap.facts.*
  expander test_expander.dsl

I didn't forget to also initialize the PackageBuilder:

  builder.addPackageFromDrl(sourceReader, dslReader)

At runtime I always get the following exception, no matter which content the 
DSL file has:

org.drools.rule.InvalidRulePackage: 
org.drools.lang.ExpanderException at 10f3a9corg.drools............
........................................ <many more ExpanderExceptions>
org.drools.lang.ExpanderException at 1c9313borg.drools.lang.ExpanderException@1bf3519
at org.drools.rule.Package.checkValidity(Package.java:409)


Thanks in advance for any hint,
Andreas



More information about the rules-users mailing list