-
Notifications
You must be signed in to change notification settings - Fork 5
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
Load extensions with ServiceLoader #32
Labels
Comments
I would like to contribute here. |
OK, go ahead) |
Can I work on this if not yet solved ? |
Sure, go ahead |
harsh-2O
added a commit
to harsh-2O/compaj
that referenced
this issue
Apr 7, 2023
harsh-2O
added a commit
to harsh-2O/compaj
that referenced
this issue
Apr 7, 2023
harsh-2O
added a commit
to harsh-2O/compaj
that referenced
this issue
Apr 7, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Extensions for
CompaJScriptBase
are loaded manually with static method:They should be loaded with
ServiceLoader
automatically insideGroovyTranslator
and then added toCompaJScriptBase
withCompaJScriptBase.extend(Extension)
.ServiceLoader
requires file descriptor with nametech.hiddenproject.compaj.lang.extension.Extension
placed inresources
folder insidelang
module. This file should contain fully qualified class names of allExtension
classes, each on new line:The text was updated successfully, but these errors were encountered: