Skip to content

Provide Modularization Support for tess4j (Module Descriptor module-info.java) #269

@astrapi69

Description

@astrapi69

Hi @nguyenq,

I'm currently using tess4j in a modular Java project and encountered issues because tess4j lacks a module descriptor (module-info.java). Without it, I’m unable to include tess4j as a module in my project, which leads to errors such as error: Modul not found: tess4j requires tess4j;.

Proposed Solution:

Could you please consider adding modularization support for tess4j by including a module-info.java file? This would allow projects using the Java module system to include tess4j seamlessly as a required module.

An example of the required module descriptor might look like:

module tess4j {
    requires java.base;
    requires java.desktop;
    // Add any other necessary dependencies
    exports net.sourceforge.tess4j; // Export your main package(s)
}

Benefits:

  • Supports Java projects using the module system.
  • Improves integration with modularized applications and modern Java practices.

Thank you for considering this enhancement. Modularization would greatly improve compatibility and ease of use for Java developers working with the module system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions