[jboss-jira] [JBoss JIRA] (DROOLS-242) Add out-of-the-box possibility to dump DRL created from decision tables

Petr Široký (JIRA) jira-events at lists.jboss.org
Tue Aug 27 11:09:26 EDT 2013


Petr Široký created DROOLS-242:
----------------------------------

             Summary: Add out-of-the-box possibility to dump DRL created from decision tables 
                 Key: DROOLS-242
                 URL: https://issues.jboss.org/browse/DROOLS-242
             Project: Drools
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
    Affects Versions: 6.0.0.CR2
            Reporter: Petr Široký
            Assignee: Mark Proctor


To get the DRL generated from decision table one has to currently use following code:
{code}
File dtable = new File("../resources/dtable.xls");
KieResources kieResources = KieServices.Factory.get().getResources();
Resource dtableResource = kieResources.newFileSystemResource(dtable);
SpreadsheetCompiler compiler = new SpreadsheetCompiler();
String drl = compiler.compile(dtableResource.getInputStream(), InputType.XLS);
{code}

It would be nice to have this functionality out-of-the-box, similarly like 'drools.dump.dir' which is used to dump the Java classes generated from DRL.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jboss-jira mailing list