Thank you very much.
It seems that your DSL file is being parsed as a DRL file.
Totally true.
The following piece of code works now perfectly:
kbuilder.add(ResourceFactory.newClassPathResource("test_expander.dsl"),ResourceType.DSL);
kbuilder.add(ResourceFactory.newClassPathResource("Sample.drl"),
ResourceType.DSLR);
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Simple-DSL-example-tp...
Sent from the Drools - User mailing list archive at
Nabble.com.