This is an automated email from the ASF dual-hosted git repository. ebourg pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomcat-jakartaee-migration.git
commit 6e31d539f764a7185ef6d31ca23a6d69c745ba50 Author: Emmanuel Bourg <ebo...@apache.org> AuthorDate: Mon Apr 13 11:55:42 2020 +0200 Document the Ant task --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 2890a27..bbdea9e 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,8 @@ The aim of the tool is to take a web application written for Java EE 8 that runs on Apache Tomcat 9 and convert it automatically so it runs on Apache Tomcat 10 which implements Jakarta EE 9. +The tool can be used from the command line or as an Ant task. + ## Usage ### Build @@ -32,6 +34,14 @@ the same type as the source. > > A warning will be logged for each JAR file where the signature has been > removed. +## Ant task + +The migration tool is available as an Ant task, here is an example: + + <taskdef name="javax2jakarta" classname="org.apache.tomcat.jakartaee.MigrationTask" classpath="jakartaee-migration-*-shaded.jar"/> + + <javax2jakarta src="webapp.war" dest="webapp.migrated.war" profile="tomcat"/> + ## Differences between Java EE 8 and Jakarta EE 9 Jakarta EE 9 is still under development and there are some details that remain --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org