-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Jakarta - EE 10 - Support CDI 4.0 in ArC #27574
Comments
Will take a look; there should be little changes needed to make the existing code compile and work. |
Yes exactly, let's focus on getting things to compile, we can add new features later. |
I have all the necessary changes for ArC to compile with CDI 4.0 in a private fork, so I can help, @manovotn let me know if you want (or if you're busy and would prefer me to take this over). (Indeed I also have an implementation of Build Compatible Extensions, but that is currently waiting for me to finalize #26264.) |
OK, so I thought a bit about it and the best outcome would be a branch named
As for further developments, we will see what is best. Not sure it's a good idea to drop enormous changes with this sort of setups and maybe we should wait for the actual merge. But it's open to discussion. |
@Ladicek I can do it but if you already have the changes, I suppose I would just be duplicating your work. Feel free to go ahead and draft a PR if you have the time for it. |
Good, assigned to myself. I should have a PR later today or tomorrow -- thanks @gsmet for detailed instructions :-) |
Sorry it took me a bit long -- I got distracted with another ArC problem :-) Here's a branch on top of (I didn't add my code to implement Build Compatible Extensions. I agree that should go in after we merge the Jakarta effort to |
Exactly what I was expecting, thanks. Can you push it to the main repository as I'll work on including it in the Thanks! |
I wasn't sure I have permissions for that, but it seems I do. It's in |
Awesome, thanks. I will all let you know when it's incorporated. |
It has been incorporated here: #27651 . I had the first report this morning and I created: smallrye/smallrye-graphql#1531 . I think it's the only issue we have. Thanks everyone. |
CDI 4.0.1 introduces some new methods and classes and we will need to implement them in ArC.
How to reproduce:
jakarta-rewrite
branch from the upstream repository (this branch is already transformed to Jakarta) - it is rewritten daily (but these parts are not moving parts so it shouldn't be a problem)mvn -Dquickly
cd independent-projects/arc
version.cdi
to4.0.1
inpom.xml
mvn clean install
First failures will be:
I think the easiest way to work on that would be to create a branch in one's fork and push a commit on top of the
jakarta-rewrite
branch.Then I would get it and apply it on top of the transformation each night. And we would have an error if the patch doesn't apply cleanly but I don't think these areas change a lot. (I will handle that part)
Ideally, the
version.cdi
upgrade will be done in a separate first commit as I think I will rely on OpenRewrite to change the version so that everything is centralized.Hopefully, we will be able to make these changes without having to change other parts of the source code (at least as a first step). One can dream :).
The text was updated successfully, but these errors were encountered: