Affects Version/s: 7.2.X, Master
Fix Version/s: None
Component/s: Dev Tools
Many times the system administrator doesn't have access to control panel and they must execute maintenance Groovy scripts.
Currently, with blade, it's possible to execute Groovy scripts with the following command (for the example use the attached script):
This is possible because the imported class is in the kernel, but if you try to import one from a module the execution will fail.
Steps to Reproduce:
- Configure the following property: module.framework.properties.osgi.console=11311
- Execute the following command: blade sh gogo:sh groovyExecutorFails.txt using the attached script.
The script fails with a compilation error.
There should be an alternative to execute the script.