google / google/or-tools

Add Automatic-Module-Name manifest entry to Java jar files

Open
#2,451 4 comments 0 reactions 1 assignee Claimed by @Mizux View on GitHub
Bug Feature Request Lang: Java
Dominant language
C++
Stars
14.1k
Forks
2.5k
Avg merge
8h 39m
Merged PRs (30d)
72

Description

**What language and solver does this apply to?**
Java

**Describe the problem you are trying to solve.**
The current Linux jar file cannot be used with the Java module system because it’s file name cannot be converted into an automatic module name. Adding this additional manifest entry will fix this.

**Describe the solution you'd like**
Add
`Automatic-Module-Name: com.google.ortools`
to the `ortools-java-xxx.jar` file

Add
`Automatic-Module-Name: com.google.ortools.linux`
to the `ortools-linux-xxx-xxxx.jar` file.

Similar automatic module names should be added to the other os specific jar files (i.e .windows, .mac)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.