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-tp1741029p1744130.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users