2 Replies Latest reply on Feb 27, 2013 3:28 AM by sweeper

    drools-scorecards : jaxb-generated bean property accessor names don't match what is expected in 'client' sources

      hi,

      i'm trying to build a 'stable' release of drools + jbpm (drools 5.5.0.Final + jbpm 5.4.0.Final) and there seems to be an issue regarding drools-scorecards : generated bean property accessors' names don't match the expected (by 'client' sources) ones.

      For instance in org.dmg.pmml.pmml_4_1.descr.Scorecard there is a property 'useReasonCodes' of type Boolean with a generated accessor name 'getUseReasonCodes()', while org.drools.scorecards.drl.AbstractDRLEmitter expects 'isUseReasonCodes()'.

      This results in a compilation failure.

      AFAIK accessor names can be customised in bindings.xml configuration file but i'm trying to build the same stable release that is available through jbpm full installer package and don't want to make any unnecessary amendments to the code.

      To obtain the stable release of drools + jbpm i have used the procedure described in {thread:id=221196} :

      -- git clone git@github.com:droolsjbpm/droolsjbpm-build-bootstrap.git -b 5.5.x (to clone the bootstrap repository and set active branch to '5.5.x')

      -- droolsjbpm-build-bootstrap/script/git-clone-others.sh 5.5.x 5.4.x (to clone the dependent repositories and set active branches to '5.5.x' for drools and '5.4.x' for jbpm)

      -- droolsjbpm-build-bootstrap/script/git-checkout-all.sh 5.5.0.Final 5.4.0.Final to checkout tagged versions 5.5.0.Final (drools with dependencies) and 5.4.0.Final (jbpm)

      Afterwards i tried running droolsjbpm-build-bootstrap/script/mvn-all.sh clean install -DskipTests to build all modules - but ended up with described compilation errors in drools-scorecards.

      I attached the source files metioned above (generated Scorecard and 'client' AbstractDRLEmitter).

      Thanks in advance for any assistance.