[ 
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-unsubscr...@xerces.apache.org
For additional commands, e-mail: j-dev-h...@xerces.apache.org

Reply via email to