Drools accessing generated java files
I am executing Drools rule through Mockito test. The rule fails at run time reporting the error with a line number of a java file having some long arbitrary name. It seems that Drools generates java files on the fly and injects into JVM. But when I search those files on my disc I don't find any. Is there a way I could store them on my disc? Kaizar Laxmidhar Got the solution: You can dump the Drools generated java files in two ways. 1) Through command line: -Ddrools.dump.dir="target/dumpDir" e.g. I use maven command to execute the rule so it would be mvn -Ddrools.dump.dir="target/dumpDir"