Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-90

Support <scoreDsl> besides <scoreDrl> for XmlSolverConfigurer in LocalSearchSolverConfig to allow to use DSL's instead of DRL's for score rules

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Optional Optional
    • 6.1.0.CR1
    • None
    • optaplanner-core
    • None

      It seems a bit wierd to me add both the drl and the dsl in the <scoreDsl>, so I think we need to do it like this:
      <scoreDsl>
      <dslr>/org/.../file1.dslr</dslr>
      <dsl>/org/.../file2.dsl</dsl>
      </scoreDsl>

      From the manual: "Also, it is better to rename the extension of your rules file from ".drl" to ".dslr" when you start using DSLs, as that will allow the IDE to correctly recognize and work with your rules file."

              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: