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
Using Jakarta mail and Javamail in the same runtime #527
Comments
Unfortunately no.
I think that if you move what you can to Jakarta (no only Mail) and use Eclipse Transformer "somehow" for the rest, it should work. To define "somehow" - Eclipse Transformer should be able to do two things - either statically transform bytecode of existing libraries so they are "upgraded" to |
|
Thanks lukasj. It seems like when they changed the package names for the javax.mail.* classes they should have done essentially the same thing for the com.sun.* classes. That would have provided a larger application a better path to Jakarta mail 2.0+. For example Apache Axis has dependencies on javax.mail code for MimeBodyParts etc. And if I want my code to use Jakarta mail (for actual mail) and let Axis keep using javax.mail, I only have questionable paths to do so. |
|
The jakartaee-platform-dev mentions the following: From: Mark Thomas markt@apache.org The Apache Tomcat team announces the immediate availability of Apache Apache Tomcat Migration Tool for Jakarta EE is an open source software The notable changes since 0.1.0 include:
Please refer to the change log for the complete list of changes: Downloads: Enjoy!
|
|
Since angus-mail:2.* doesn't use the |
Not sure where to ask this question, so I'll try here. I have an app that uses components, e.g. Apache Axis, that have a direct dependency on Javamail but I want my own code to advance to Jakarta mail 2.0. Having both in my project pom causes a collision in the com.sun package classes, e.g. SMTPTransport. Are the com.sun packages the same (or compatible) between Jakarta and Javamail jars, i.e. could the Jakarta jar be used for those classes? Can this be resolved and if so, suggestions how to do it?
The text was updated successfully, but these errors were encountered: