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 2022/11/25 09:41:17 UTC

[GitHub] [tomcat-jakartaee-migration] ifurnadjiev opened a new issue, #39: Fix (remove) "javax.servlet.*" package version when processing the MANIFEST.MF

ifurnadjiev opened a new issue, #39:
URL: https://github.com/apache/tomcat-jakartaee-migration/issues/39

   When "javax.servlet.*" package is specified in the MANIFEST.MF with version constraints like:
   
   ```
   Import-Package: javax.servlet;version="[3.1.0,5.0.0)",
    javax.servlet.http;version="[3.1.0,5.0.0)",
   ```
   
   it is converted to:
   
   ```
   Import-Package: jakarta.servlet;version="[3.1.0,5.0.0)",
    jakarta.servlet.http;version="[3.1.0,5.0.0)",
   ```
   
   and leads to unresolved dependencies in OSGi environment.
   Removing or updating the version constraint to include 5 will fix the problem.


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org.apache.org

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-jakartaee-migration] ifurnadjiev commented on issue #39: Fix (remove) "javax.servlet.*" package version when processing the MANIFEST.MF

Posted by "ifurnadjiev (via GitHub)" <gi...@apache.org>.
ifurnadjiev commented on issue #39:
URL: https://github.com/apache/tomcat-jakartaee-migration/issues/39#issuecomment-1403436225

   Any comment on the issue? Do you have plans to address it?


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org

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-jakartaee-migration] markt-asf commented on issue #39: Fix (remove) "javax.servlet.*" package version when processing the MANIFEST.MF

Posted by "markt-asf (via GitHub)" <gi...@apache.org>.
markt-asf commented on issue #39:
URL: https://github.com/apache/tomcat-jakartaee-migration/issues/39#issuecomment-1403469350

   I'm a little uncomfortable with the idea of ignoring an explicit version range but if the user opts to use the migration tool that is an implicit choice to ignore the version range if it does not include Jakarta EE.
   
   I'd prefer a solution that doesn't require parsing and understanding the existing version range but simply replaces it with something that will work on Jakarta EE.
   
   I'm not aware of any plans to address this in the immediate future. Providing a PR is likely to improve the chances of this being fixed sooner rather than later.


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org

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-jakartaee-migration] markt-asf closed issue #39: Fix (remove) "javax.servlet.*" package version when processing the MANIFEST.MF

Posted by "markt-asf (via GitHub)" <gi...@apache.org>.
markt-asf closed issue #39: Fix (remove) "javax.servlet.*" package version when processing the MANIFEST.MF
URL: https://github.com/apache/tomcat-jakartaee-migration/issues/39


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org

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-jakartaee-migration] laeubi commented on issue #39: Fix (remove) "javax.servlet.*" package version when processing the MANIFEST.MF

Posted by GitBox <gi...@apache.org>.
laeubi commented on issue #39:
URL: https://github.com/apache/tomcat-jakartaee-migration/issues/39#issuecomment-1327302693

   > Removing or updating the version constraint to include 5 will fix the problem.
   
   I think the real fix would be that the converter enters the appropriate version range it converts to, e.g. `[5, 6)` in this case or use the [Portable Java Contract Definitions](https://docs.osgi.org/reference/portable-java-contracts.html#portable-java-contract-definitions) instead.


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org

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