You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by GitBox <gi...@apache.org> on 2020/07/14 22:33:40 UTC

[GitHub] [tomcat] rotty3000 opened a new pull request #322: fix module names to reflect Java EE origin

rotty3000 opened a new pull request #322:
URL: https://github.com/apache/tomcat/pull/322


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [tomcat] rotty3000 commented on a change in pull request #322: fix module names to reflect Java EE origin

Posted by GitBox <gi...@apache.org>.
rotty3000 commented on a change in pull request #322:
URL: https://github.com/apache/tomcat/pull/322#discussion_r455085770



##########
File path: res/bnd/catalina.jar.tmp.bnd
##########
@@ -55,15 +55,15 @@ Export-Package: \
         access=32;\
         version=${Bundle-Version};\
         modules='\
-            jakarta.ejb-api,\
-            jakarta.mail,\
-            jakarta.persistence-api,\
-            jakarta.xml.rpc-api,\
+            javax.ejb.api,\
+            javax.mail,\

Review comment:
       fixed




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [tomcat] rotty3000 merged pull request #322: fix module names to reflect Java EE origin

Posted by GitBox <gi...@apache.org>.
rotty3000 merged pull request #322:
URL: https://github.com/apache/tomcat/pull/322


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [tomcat] rotty3000 commented on a change in pull request #322: fix module names to reflect Java EE origin

Posted by GitBox <gi...@apache.org>.
rotty3000 commented on a change in pull request #322:
URL: https://github.com/apache/tomcat/pull/322#discussion_r455085850



##########
File path: res/bnd/tomcat-embed-core.jar.tmp.bnd
##########
@@ -131,15 +131,15 @@ Provide-Capability: \
         access=32;\
         version=${Bundle-Version};\
         modules='\
-            jakarta.ejb-api,\
-            jakarta.mail,\
-            jakarta.persistence-api,\
-            jakarta.xml.rpc-api,\
-            java.xml.ws'
+            javax.ejb.api,\
+            javax.mail,\
+            javax.persistence.api,\
+            javax.xml.rpc.api,\
+            javax.xml.ws.api'
 -jpms-module-info-options: \
     ${module.name};substitute=tomcat-embed-core,\
-    jakarta.ejb-api;static=true,\
-    jakarta.mail;static=true,\
-    jakarta.persistence-api;static=true,\
-    jakarta.xml.rpc-api;static=true,\
-    java.xml.ws;static=true
+    javax.ejb.api;static=true,\
+    javax.mail;static=true,\
+    javax.persistence.api;static=true,\
+    javax.xml.rpc.api;static=true,\
+    javax.xml.ws.api;static=true

Review comment:
       fixed




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [tomcat] rotty3000 commented on a change in pull request #322: fix module names to reflect Java EE origin

Posted by GitBox <gi...@apache.org>.
rotty3000 commented on a change in pull request #322:
URL: https://github.com/apache/tomcat/pull/322#discussion_r455086114



##########
File path: res/bnd/annotations-api.jar.tmp.bnd
##########
@@ -35,9 +35,9 @@ Provide-Capability: \
     Specification-Version=1.3
 
 -jpms-module-info: \
-    jakarta.annotation;\
+    javax.annotation.api;\
         access=32;\
         version=${annotation.spec.version}
 -jpms-module-info-options: \
-    jakarta.annotation;\
+    javax.annotation.api;\

Review comment:
       fixed




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [tomcat] markt-asf commented on a change in pull request #322: fix module names to reflect Java EE origin

Posted by GitBox <gi...@apache.org>.
markt-asf commented on a change in pull request #322:
URL: https://github.com/apache/tomcat/pull/322#discussion_r455000264



##########
File path: res/bnd/tomcat-embed-core.jar.tmp.bnd
##########
@@ -131,15 +131,15 @@ Provide-Capability: \
         access=32;\
         version=${Bundle-Version};\
         modules='\
-            jakarta.ejb-api,\
-            jakarta.mail,\
-            jakarta.persistence-api,\
-            jakarta.xml.rpc-api,\
-            java.xml.ws'
+            javax.ejb.api,\
+            javax.mail,\
+            javax.persistence.api,\
+            javax.xml.rpc.api,\
+            javax.xml.ws.api'
 -jpms-module-info-options: \
     ${module.name};substitute=tomcat-embed-core,\
-    jakarta.ejb-api;static=true,\
-    jakarta.mail;static=true,\
-    jakarta.persistence-api;static=true,\
-    jakarta.xml.rpc-api;static=true,\
-    java.xml.ws;static=true
+    javax.ejb.api;static=true,\
+    javax.mail;static=true,\
+    javax.persistence.api;static=true,\
+    javax.xml.rpc.api;static=true,\
+    javax.xml.ws.api;static=true

Review comment:
       This looks to have a module name of `javax.xml.ws` in Java EE 8

##########
File path: res/bnd/catalina.jar.tmp.bnd
##########
@@ -55,15 +55,15 @@ Export-Package: \
         access=32;\
         version=${Bundle-Version};\
         modules='\
-            jakarta.ejb-api,\
-            jakarta.mail,\
-            jakarta.persistence-api,\
-            jakarta.xml.rpc-api,\
+            javax.ejb.api,\
+            javax.mail,\

Review comment:
       I think you need another `.api` here. Java EE 8 doesn't define a module name and Jakarta EE uses `jakarta.mail.api` so I think it is reasonable to use `javax.mail.api` here. The bundle sumbolic name is `javax.mail-api`

##########
File path: res/bnd/tomcat-embed-core.jar.tmp.bnd
##########
@@ -131,15 +131,15 @@ Provide-Capability: \
         access=32;\
         version=${Bundle-Version};\
         modules='\
-            jakarta.ejb-api,\
-            jakarta.mail,\
-            jakarta.persistence-api,\
-            jakarta.xml.rpc-api,\
-            java.xml.ws'
+            javax.ejb.api,\
+            javax.mail,\
+            javax.persistence.api,\
+            javax.xml.rpc.api,\
+            javax.xml.ws.api'
 -jpms-module-info-options: \
     ${module.name};substitute=tomcat-embed-core,\
-    jakarta.ejb-api;static=true,\
-    jakarta.mail;static=true,\
-    jakarta.persistence-api;static=true,\
-    jakarta.xml.rpc-api;static=true,\
-    java.xml.ws;static=true
+    javax.ejb.api;static=true,\
+    javax.mail;static=true,\
+    javax.persistence.api;static=true,\

Review comment:
       This looks to have a module name of `java.persistence` in Java EE 8

##########
File path: res/bnd/annotations-api.jar.tmp.bnd
##########
@@ -35,9 +35,9 @@ Provide-Capability: \
     Specification-Version=1.3
 
 -jpms-module-info: \
-    jakarta.annotation;\
+    javax.annotation.api;\
         access=32;\
         version=${annotation.spec.version}
 -jpms-module-info-options: \
-    jakarta.annotation;\
+    javax.annotation.api;\

Review comment:
       The Java EE 8 JAR uses `java.annotation` as the module name




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [tomcat] rotty3000 commented on pull request #322: fix module names to reflect Java EE origin

Posted by GitBox <gi...@apache.org>.
rotty3000 commented on pull request #322:
URL: https://github.com/apache/tomcat/pull/322#issuecomment-658446478


   @martin-g @markt-asf does this look reasonable? I do need to apply the .api change to master separately.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [tomcat] rotty3000 commented on a change in pull request #322: fix module names to reflect Java EE origin

Posted by GitBox <gi...@apache.org>.
rotty3000 commented on a change in pull request #322:
URL: https://github.com/apache/tomcat/pull/322#discussion_r455086401



##########
File path: res/bnd/tomcat-embed-core.jar.tmp.bnd
##########
@@ -131,15 +131,15 @@ Provide-Capability: \
         access=32;\
         version=${Bundle-Version};\
         modules='\
-            jakarta.ejb-api,\
-            jakarta.mail,\
-            jakarta.persistence-api,\
-            jakarta.xml.rpc-api,\
-            java.xml.ws'
+            javax.ejb.api,\
+            javax.mail,\
+            javax.persistence.api,\
+            javax.xml.rpc.api,\
+            javax.xml.ws.api'
 -jpms-module-info-options: \
     ${module.name};substitute=tomcat-embed-core,\
-    jakarta.ejb-api;static=true,\
-    jakarta.mail;static=true,\
-    jakarta.persistence-api;static=true,\
-    jakarta.xml.rpc-api;static=true,\
-    java.xml.ws;static=true
+    javax.ejb.api;static=true,\
+    javax.mail;static=true,\
+    javax.persistence.api;static=true,\

Review comment:
       fixed




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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