[jboss-jira] [JBoss JIRA] Closed: (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 22:27:44 EDT 2008
[ http://jira.jboss.com/jira/browse/JBRULES-1565?page=all ]
Michael Neale closed JBRULES-1565.
----------------------------------
Fix Version/s: 5.0.0-M1
Resolution: Done
OK it will merge them in, in future.
> 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
> Fix For: 5.0.0-M1
>
>
> 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