Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Groovy scripts should have order of execution by priority #51

Open
avoidik opened this issue Feb 15, 2018 · 1 comment
Open

Groovy scripts should have order of execution by priority #51

avoidik opened this issue Feb 15, 2018 · 1 comment

Comments

@avoidik
Copy link

avoidik commented Feb 15, 2018

We have such example in Linux for init-scripts

Like:
01-adop_general.groovy
02-adop_ant.groovy
...

@tsal
Copy link

tsal commented Aug 21, 2019

Java classes cannot start with a number, and naming a groovy file will cause that to happen, breaking the script. If you prepend with an accepted, non-alphabetical character, you can get around that; something like _01-aop_general.groovy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants