Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-4514

Fix resource registration for native compilation

XMLWordPrintable

      NativeImageResourceBuildItem and ServiceProviderBuildItem contain a path
      of the resource we should include and not a pattern or a glob. As a
      result, `Pattern.quote` is the right method to use in order to produce a
      pattern that would match the path.

      The patch also remove the wrong addition of the paths "as is" to the
      includes json array.

      Fix up of b7f49dd9d952a46fde3f0abaabcc08b1a2e5f067 (https://github.com/quarkusio/quarkus/pull/31185)

              Unassigned Unassigned
              olubyans@redhat.com Alexey Loubyansky
              Georgii Troitskii Georgii Troitskii
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: