There's a builder option to define a directory for storing the generated DRL: see DumpDirOption in org.drools.builder.conf
What about showing us the template file and the xls? -w On 29 October 2012 21:05, lhorton <[email protected]> wrote: > I haven't worked with Templates, but I have seen this type of error when > compiling XLS to DRL. The line and column numbers refer to the generated > DRL. For spreadsheet debugging, I use code like this: > > DecisionTableConfiguration dtconf = > KnowledgeBuilderFactory.newDecisionTableConfiguration(); > dtconf.setInputType(DecisionTableInputType.XLS); > String drlString = > > DecisionTableFactory.loadFromInputStream(ResourceFactory.newFileResource(path).getInputStream(), > dtconf); > > and then look at the generated drlString at the line number cited in the > exception, to find the offending rule. > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/rules-users-errors-compiling-resources-returns-a-null-package-tp4020530p4020540.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users >
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
