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:34:00 UTC

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

     [ https://issues.apache.org/jira/browse/XERCESJ-1763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Reinhardt updated XERCESJ-1763:
--------------------------------------
    Description: 
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). But I think it clearly is a sensible name.

 

  was:
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).

 


> 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
>            Priority: Major
>
> 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). But I think it clearly is a sensible name.
>  



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