You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2022/09/15 08:20:54 UTC

[tomcat-jakartaee-migration] 01/03: Add #28 to change log and expand usage notes

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-jakartaee-migration.git

commit d6ed7d74cf64812fe198f631fb88c70351dbbef7
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Sep 15 09:20:02 2022 +0100

    Add #28 to change log and expand usage notes
---
 CHANGES.md                                                     |  1 +
 .../org/apache/tomcat/jakartaee/LocalStrings.properties        | 10 ++++++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/CHANGES.md b/CHANGES.md
index d724e8d..486a4c7 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -3,6 +3,7 @@
 ## 1.0.4 (in progress)
 
 - Correct a wrong implementation in the previous fix for [#29](https://github.com/apache/tomcat-jakartaee-migration/issues/29) (lihan)
+- Add support for a JEE8 profile that attempts to migrate code using the Jakarta EE APIs to Java EE 8. Note that this will fail if the code uses any APIs added in Jakarta EE 10 onwards. PR #28 provided by blasss.
 
 ## 1.0.3
 
diff --git a/src/main/resources/org/apache/tomcat/jakartaee/LocalStrings.properties b/src/main/resources/org/apache/tomcat/jakartaee/LocalStrings.properties
index d3a63bc..6ee3665 100644
--- a/src/main/resources/org/apache/tomcat/jakartaee/LocalStrings.properties
+++ b/src/main/resources/org/apache/tomcat/jakartaee/LocalStrings.properties
@@ -14,7 +14,7 @@
 # limitations under the License.
 
 classConverter.converted=Migrated class [{0}]
-classConverter.noConversion=No conversion necessary for [{0}] 
+classConverter.noConversion=No conversion necessary for [{0}]
 classConverter.skipName=Skip conversion of class usage from the [{0}] namespace to [{1}] as it is not accessible to the classloader
 
 migration.archive.complete=Migration finished for archive [{0}]
@@ -38,7 +38,9 @@ where options includes:\n\
 \    -profile=<profile name>\n\
 \                TOMCAT (default) to convert Java EE APIs provided by Tomcat\n\
 \                EE to convert all Java EE APIs\n\
-\                JEE8 to convert back to old Java EE8 APIs\n\
+\                JEE8 to convert back to old Java EE8 APIs. Note that the\n\
+\                    resulting classes will not work if the classes to be\n\
+\                    migrated use any APIs added in Jakarta EE 10 onwards.\n\
 \    -zipInMemory\n\
 \                By default zip format archives (.zip, jar, .war, .ear, etc.)\n\
 \                are processed as streams. This is more efficient but is not\n\
@@ -49,7 +51,7 @@ where options includes:\n\
 \                able to handle a wider range of zip archive structures.
 migration.warnSignatureRemoval=Removed cryptographic signature from JAR file
 
-passThroughConverter.noConversion=No conversion necessary for [{0}] 
+passThroughConverter.noConversion=No conversion necessary for [{0}]
 
 textConverter.converted=Migrated text file [{0}]
-textConverter.noConversion=No conversion necessary for [{0}] 
+textConverter.noConversion=No conversion necessary for [{0}]


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org