You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by eb...@apache.org on 2020/12/30 10:24:59 UTC
[tomcat-jakartaee-migration] branch master updated (c7884a4 ->
d35a385)
This is an automated email from the ASF dual-hosted git repository.
ebourg pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat-jakartaee-migration.git.
from c7884a4 Convert the javax.xml.registry package with the EE profile (Java API for XML Registries)
new 77967f9 Convert the javax.security.enterprise package with the EE profile (Java EE Security API)
new d35a385 Mention the Debian/Ubuntu package
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
README.md | 4 ++++
src/main/java/org/apache/tomcat/jakartaee/EESpecProfile.java | 2 +-
src/test/java/org/apache/tomcat/jakartaee/EESpecProfileTest.java | 2 ++
3 files changed, 7 insertions(+), 1 deletion(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[tomcat-jakartaee-migration] 02/02: Mention the Debian/Ubuntu
package
Posted by eb...@apache.org.
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 d35a3853ae1af3282c4c19ba3050edfd94c70889
Author: Emmanuel Bourg <eb...@apache.org>
AuthorDate: Wed Dec 30 11:15:26 2020 +0100
Mention the Debian/Ubuntu package
---
README.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/README.md b/README.md
index 3874215..1e10a47 100644
--- a/README.md
+++ b/README.md
@@ -39,6 +39,10 @@ the same type as the source.
>
> A warning will be logged for each JAR file where the signature has been removed.
+This tool is also available on Debian and Ubuntu systems by installing the
+[tomcat-jakartaee-migration](https://tracker.debian.org/tomcat-jakartaee-migration)
+package and invoking the `javax2jakarta` command.
+
## Ant task
The migration tool is available as an Ant task, here is an example:
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[tomcat-jakartaee-migration] 01/02: Convert the
javax.security.enterprise package with the EE profile (Java EE Security
API)
Posted by eb...@apache.org.
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 77967f9db1a2490441c514177715126f1b7c4aa3
Author: Emmanuel Bourg <eb...@apache.org>
AuthorDate: Wed Dec 30 11:21:57 2020 +0100
Convert the javax.security.enterprise package with the EE profile (Java EE Security API)
---
src/main/java/org/apache/tomcat/jakartaee/EESpecProfile.java | 2 +-
src/test/java/org/apache/tomcat/jakartaee/EESpecProfileTest.java | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/tomcat/jakartaee/EESpecProfile.java b/src/main/java/org/apache/tomcat/jakartaee/EESpecProfile.java
index d12f4e4..3d3a097 100644
--- a/src/main/java/org/apache/tomcat/jakartaee/EESpecProfile.java
+++ b/src/main/java/org/apache/tomcat/jakartaee/EESpecProfile.java
@@ -27,7 +27,7 @@ public enum EESpecProfile {
TOMCAT("javax([/\\.](annotation(?![/\\.]processing)|ejb|el|mail|persistence|security[/\\.]auth[/\\.]message|servlet|transaction(?![/\\.]xa)|websocket))"),
EE("javax([/\\.](activation|annotation(?![/\\.]processing)|batch|decorator|ejb|el|enterprise|faces|jms|json|jws|interceptor|inject|mail|persistence|"
- + "resource|security[/\\.](auth[/\\.]message|jacc)|servlet|transaction(?![/\\.]xa)|validation|websocket|ws[/\\.]rs|"
+ + "resource|security[/\\.](auth[/\\.]message|enterprise|jacc)|servlet|transaction(?![/\\.]xa)|validation|websocket|ws[/\\.]rs|"
+ "xml[/\\.](bind|namespace|registry|rpc|soap|stream|ws|XMLConstants)))");
private Pattern pattern;
diff --git a/src/test/java/org/apache/tomcat/jakartaee/EESpecProfileTest.java b/src/test/java/org/apache/tomcat/jakartaee/EESpecProfileTest.java
index b2fe945..564789f 100644
--- a/src/test/java/org/apache/tomcat/jakartaee/EESpecProfileTest.java
+++ b/src/test/java/org/apache/tomcat/jakartaee/EESpecProfileTest.java
@@ -49,6 +49,7 @@ public class EESpecProfileTest {
assertEquals("javax.interceptor", profile.convert("javax.interceptor"));
assertEquals("javax.inject", profile.convert("javax.inject"));
assertEquals("javax.resource", profile.convert("javax.resource"));
+ assertEquals("javax.security.enterprise", profile.convert("javax.security.enterprise"));
assertEquals("javax.security.jacc", profile.convert("javax.security.jacc"));
assertEquals("javax.validation", profile.convert("javax.validation"));
assertEquals("javax.ws.rs", profile.convert("javax.ws.rs"));
@@ -90,6 +91,7 @@ public class EESpecProfileTest {
assertEquals("jakarta.persistence", profile.convert("javax.persistence"));
assertEquals("jakarta.resource", profile.convert("javax.resource"));
assertEquals("jakarta.security.auth.message", profile.convert("javax.security.auth.message"));
+ assertEquals("jakarta.security.enterprise", profile.convert("javax.security.enterprise"));
assertEquals("jakarta.security.jacc", profile.convert("javax.security.jacc"));
assertEquals("jakarta.servlet", profile.convert("javax.servlet"));
assertEquals("jakarta.transaction", profile.convert("javax.transaction"));
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org