[jboss-jira] [JBoss JIRA] Created: (JBRULES-1565) Importing multiple drl files for the same package: only the header information from the first one is evaluated

Martin Putz (JIRA) jira-events at lists.jboss.org
Wed Apr 16 04:25:54 EDT 2008


Importing multiple drl files for the same package: only the header information from the first one is evaluated
--------------------------------------------------------------------------------------------------------------

                 Key: JBRULES-1565
                 URL: http://jira.jboss.com/jira/browse/JBRULES-1565
             Project: JBoss Drools
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: drools-brms
            Reporter: Martin Putz
         Assigned To: Michael Neale


Switching the order in which DRL files are imported in the BRMS results in a different package configuration header. Eg, taking the sudoku example, importing  sudokuSolver.drl before sudokuValidator.drl yields package configuration header:

import org.drools.examples.sudoku.rules.PossibleCellValue;
import org.drools.examples.sudoku.rules.ResolvedCellValue;

while importing sudokuValidator.drl before sudokuSolver.drl yields:

import org.drools.examples.sudoku.rules.PossibleCellValue;
import org.drools.examples.sudoku.rules.ResolvedCellValue;
global java.util.List issues;


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list