Search code examples
xmljbossdrools

Extract DRL from DSLR


How can I access the DRL generated within a DSLR file in Drools?


Solution

  • DSLs are just preprocessed DRL. I think the following link gives you an example on how to get DRL out of a DSLR.

    http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/compiler/DrlParserTest.java

    Kris