Skip to content

Document resources options #74

@koppor

Description

@koppor

In the README.md, I see

  jpackageResources = layout.projectDirectory.dir("res") // defaults to 'src/main/resourcesPackage'
  resources.from(layout.projectDirectory.dir("extra-res"))
  verbose = false

  // target specific options
  targetsWithOs("windows") {
    options.addAll("--win-dir-chooser", "--win-shortcut", "--win-menu")
    appImageOptions.addAll("--win-console")
    targetResources.from("windows-res")
...

What is the difference between jpackageResources, resources, and targetResources?


Background: When updating from JDK24 to JDK25, we get

java.nio.file.NoSuchFileException: jabref.icns

And we don't know why. Update The reason was the path resolving in jpackage - https://bugs.openjdk.org/browse/JDK-8369008

Siedlerchr/javafxreproducer#51 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions