IBM Support

RS03230: MAVEN BUILD FOR RULE APP FAILS WHEN .RULEPACKAGE FILE EXISTS IN RULES FOLDER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Building a rule app archive works different in Rule Designer
    and the Maven jrules compiler plugin when a file named
    '.rulepackage' exists unexpectedly directly in the 'rules'
    folder of the workspace.
    The eclipse based Rule Designer ignores the rulepackage file,
    as it is not expected in the rules folder.
    But the jrules compiler plugin for Maven takes it into account,
    which finally could end up in different problems like:
    - the rule package name as defined in the .rulepackage file
    would be used as prefix for the rule name, e.g. rule named
    'test.eligibility' gets named 'rules.test.eligibility'
    - Maven build would end with an exception
    

Local fix

  • delete file named .rulepackage from the rules folder and run
    the Maven build again
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users building ruleapps.                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The RD based build was ignoring ignore the .rulepackage file *
    * in the rules folder, but the maven build process was not.    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The code was fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    RS03230

  • Reported component name

    WS DECISION CTR

  • Reported component ID

    5725B6900

  • Reported release

    892

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-11-06

  • Closed date

    2018-11-06

  • Last modified date

    2018-11-06

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WS DECISION CTR

  • Fixed component ID

    5725B6900

Applicable component levels

  • R892 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSQP76","label":"IBM Operational Decision Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"892","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
03 November 2021