-
Notifications
You must be signed in to change notification settings - Fork 86
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
EE10 Compatible Release #345
Comments
FWIW: @pdurbin made me create a reproducer things fall over with EE 10: https://github.com/poikilotherm/reproducer-payara6-ee10-jsf |
Currently, PrettyFaces is not Jakarta EE 10 compatible. To at least make our WAR deploy until it's fixed, exclude the dependency from it. See also: ocpsoft/rewrite#345
Version |
Mainly to be used to switch versions of dependencies etc.
- Add Jakarta EE9 and EE10 compatible Payara versions - Add configuration to run Arquillian integration tests in a managed instance of Payara - Add JUnit category to skip tests that should be ignored on Payara
With CDI 4.0 and Faces 4.0 you need to explicitly enable CDI by providing at least an empty beans.xml file. Adding this to the test deployment makes the test run again.
With CDI 4.0 the default for bean discovery switched to annotated beans only. It is necessary to switch back to the old default of scanning -all- classes. This means that any application using this library via CDI or Jakarta Faces will have to enable this, too!
BTW it looks like 6.0.0 is working for Dataverse as an EE 10 app. Needs more testing, though! |
@lincolnthree we are testing away! Thanks! Also, I assume you saw that Payara 6 final is out: https://github.com/payara/Payara/releases/tag/payara-server-6.2022.1 |
Nice! Congratulations on the release! That's a huge milestone and it looks like you beat WildFly? :D |
Also, I think we should consider updating the Rewrite versioning to mirror EE releases going forward. E.g. Thoughts? |
We could do that if you like it. Dunno if it causes confusion when people see the other releases like 5.0, 6.0 etc on Maven Central. It's your project 😄 At least we should have a nice little table in the README telling everybody about the compatibility matrix. |
Hi, I started testing version 6.0.0.Alpha1 with Jakarta EE 10, but I used scope "ClientWindowScoped" I received exception below. If used "RequestScope", work normaly. I need configuration some additional ? Link to my testing: https://github.com/rafaelstelles/jakartaee-faces-sample
|
Hi @rafaelstelles - Thanks for testing the new version, and for providing a sample application that I can debug. I'll look into this and see what I can find out. It's possible that window scoping may have some issues to be worked out. |
@rafaelstelles I'm still going to look into this, but could you do me a favor and open a bug/issue for this? Thanks. |
@lincolnthree Of course, I just created issue. |
@lincolnthree hi! Any plans to put out a non-snapshot release? We (Dataverse) are currently using these versions:
A non-snapshot release is desirable so that it's fixed and final. We do have a couple bugs that might be related to Rewrite/PrettyFaces. I'm happy to open separate issues if you like! Overall, we're very happy with the snapshot release and would have been dead in the water without it. THANK YOU! ❤️ |
Hey @pdurbin Yes! I think we should cut releases now. I will try to do that this week. Thanks for letting me know that the snapshots have been working. I've been a little hesitant to put them out because (a. I'm super busy), but b. I am running a little blind on the new EE versions. Haven't been able to work in EE for a bit sadly :( |
Thanks for your support :) And reminders. |
@lincolnthree that's fine. We're happy to be your guinea pigs. 🐹 We'll probably release soon, I'd say tomorrow at soonest but these things are hard to predict. 😅 We'll take the non-SNAPSHOT whenever you put it out. Thanks! |
We just released Dataverse 6.0: https://github.com/IQSS/dataverse/releases/tag/v6.0 We're still using the Rewrite SNAPSHOT, of course. @lincolnthree please let us know when when the non-SNAPSHOT is out and we'll switch to it. Thanks and have a great weekend! |
Hi @lincolnthree , any news about the publication of the final version ? |
I also wanted to add I've been testing 6.0.0-SNAPSHOT with CDI 4 and Faces 4 on Payara 6.2023.9 and it's working great. I'm also looking forward to a final release. Thank you for your hard work on this! |
Working on this right now. Thanks for all of your help & patience! |
Update. This has been released as Rewrite version |
Thanks everyone for their patience and encouragement. This has been a momentous and multi-year effort. Thanks to @pdurbin @codylerum @larsgrefer @poikilotherm and everyone else. Closing this as COMPLETED! |
This is a follow up to #304 and related to IQSS/dataverse#8305
Trying to get this rolling with Jakarta EE 10 snapshots, I experienced the following problems:
rewrite-integration-cdi
uses a lot of CDI stuff that has been deprecated since CDI 1.1/2.0/3.0 and is now removed in 4.0. (FWIW CDI 3.0 Spec HTML)rewrite-integration-faces
uses@ManagedBean
detection, which has been removed from Faces 4.0config-prettyfaces
uses JSP support for JSF which has been removed (No morejakarta.faces.webapp.UIComponentELTag
)The text was updated successfully, but these errors were encountered: