|
|
|
DB was attached.
try to run root/proj_name/internal/linux
Thanks for the backup. I did get the problem reproduced now. Since when calculating next build version, QB calls "configuration.getNextVersion(false)" and in your script the "getNextVersion(false)" is called again which result in an infinite loop. Since we allow arbitrary script to run, we can not avoid such behavior and the script author needs to be careful not to introduce any infinite loops.
I don't understand why it is infinity loop.
For this structure: root/proj_name/internal/linux When we run linux it is execute configuration.getParent().getNextVersion(false); It is get version on "proj_name" configuration. For calc new version in "proj_name" execute this script again but now on "root" conf. Or I'm miss something? Because "configuration" always refer to the configuration currently being running. So "configuration.getParent().getNextVersion(false)" calculates next version for "root/proj_name/internal", and while calculating this, it calls itself again and again.
|
Thanks