You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Thomas Reinhardt (Jira)" <xe...@xml.apache.org> on 2024/02/08 09:33:00 UTC

[jira] [Created] (XERCESJ-1763) Add Automatic-Module-Name to xercesImpl.jar manifest

Thomas Reinhardt created XERCESJ-1763:
-----------------------------------------

             Summary: Add Automatic-Module-Name to xercesImpl.jar manifest
                 Key: XERCESJ-1763
                 URL: https://issues.apache.org/jira/browse/XERCESJ-1763
             Project: Xerces2-J
          Issue Type: Improvement
          Components: Other
            Reporter: Thomas Reinhardt


Adding an automatic module name makes the xercesImpl.jar usable in JPMS enabled builds without affecting non-JPMS builds.

Only a single line in MANIFEST.MF is needed:
{code:java}
Automatic-Module-Name: org.apache.xerces.impl{code}
 

 

For ultimate compatibility the module name could be just _xercesImpl_ (which is the module name derived from the filename). But that name does not follow conventions.

The proposed module name ({_}org.apache.xerces.impl{_}) also has problems as it is not the super-package in the jar ({_}org.apache{_} is, but that clearly is not usable either).

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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