[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1565) Importing multiple drl files for the same package: only the header information from the first one is evaluated
Michael Neale (JIRA)
jira-events at lists.jboss.org
Wed Apr 16 20:51:44 EDT 2008
[ http://jira.jboss.com/jira/browse/JBRULES-1565?page=comments#action_12409246 ]
Michael Neale commented on JBRULES-1565:
----------------------------------------
ok taking a look. Will do an automatic merge where possible with subequent imports.
> 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