ibm-datapower / datapower-configuration-manager

IBM DataPower Configuration Manager and IBM UrbanCode plugin
https://developer.ibm.com/urbancode/plugin/websphere-datapower-configuration-manager/
46 stars 51 forks source link

Update AirPluginTool.groovy #130

Open a-robben opened 2 years ago

a-robben commented 2 years ago

Fix issues with final def after UCD v7.2 moved to groovy 3 causing the below error fixing issue 129.

https://github.com/ibm-datapower/datapower-configuration-manager/issues/129

org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: file:/opt/IBM/ibm-ucd/agent/var/plugins/com.ibm.datapower_21_c161d6fcc56f21d3ce0c76843d79fb8938d175ab1c312601b59cce03dd6d456d/classes/com/urbancode/air/AirPluginTool.groovy: 49: The variable [inputPropsStream] is declared final but is reassigned . At [49:13] @ line 49, column 13. inputPropsStream = new FileInputStream(inputPropsFile); ^

1 error