[rules-users] Simple DSL example
morge
maxime.morge at lifl.fr
Thu Oct 21 04:02:58 EDT 2010
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.
More information about the rules-users
mailing list