Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-4120

executable-model: .drl is included in jar even with -DgenerateModel=YES

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • 7.18.0.Final
    • core engine
    • 2019 Week 23-25
    • 3
    • Hide

      1. import the attached project into JBDS
      2. right click on the project named "HelloWorld" and then goto "Run As " > "Run Configurations..."
      3. input "clean install -DgenerateModel=YES" as a Goal and then click "Apply" and then "Run"

      or just run "mvn clean install -DgenerateModel=YES in the extracted maven project.

      Show
      1. import the attached project into JBDS 2. right click on the project named "HelloWorld" and then goto "Run As " > "Run Configurations..." 3. input "clean install -DgenerateModel=YES" as a Goal and then click "Apply" and then "Run" or just run "mvn clean install -DgenerateModel=YES in the extracted maven project.
    • NEW
    • NEW

    Description

      When generating executable model with option -DgenerateModel=Yes,
      .drl is included in generated jar.
      This does not happen always, but surely happens some times, especially generating on JBDS. Once issue happens , it also happens with high probability when building it by command 'mvn clean install -DgenerateModel=YES' from command line.

      Attachments

        1. HelloWorldNG.zip
          94 kB
        2. result_JBDS12.9.txt
          80 kB
        3. result_maven3.5.3.txt
          199 kB

        Activity

          People

            lmolteni@redhat.com Luca Molteni
            rhn-support-hmiura Hiroko Miura
            Tibor Zimányi Tibor Zimányi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: