Skip to content

Optionally skip AWT/JVM runtime libraries for Tao-only GraalVM packages #668

Description

@BruceZhang1993

⚠️ Is your feature request related to a problem? Please describe

Tao is documented as removing the AWT/Swing window hierarchy and its native libraries, but GraalVM packages still include AWT/JVM runtime libraries such as "libjvm", "libawt", and "libfontmanager".

The current GraalVM packaging tasks bundle these libraries by default, including for applications using only "decorated-window-tao" and "NucleusBackend.Tao".

For Tao-only applications this adds a significant amount of unnecessary runtime data to the package.

Related documentation:
https://nucleusframework.dev/en/docs/tao/migration-from-jbr/

💡 Describe the solution you'd like

Make bundling the AWT/JVM companion libraries an explicit GraalVM packaging option instead of the default behavior.

Applications that need AWT or other JDK native libraries could enable the option, while Tao-only applications could package without them.

🤚 Do you want to develop this feature yourself?

  • Yes
  • No

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions