Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8356685

Enhance --app-content parameter handling

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • 26
    • None
    • tools
    • None
    • generic
    • generic

      When a directory is specified as an argument for the "--app-content" parameter, it is recursively copied to the app image as expected.

      E.g.: say, there is such a directory structure: foo/a, foo/b, foo/bar/c. For "--app-content foo" jpackage will add the following elements in the app image: foo/a, foo/b, foo/bar/c.

      It would be good if jpackage behaved like "cp" command and copy only the directory's contents without the directory itself if the path ends with "/" (or "\" character on windows), i.e., for "--app-content foo/" would create a, b, bar/c elements instead of foo/a, foo/b, foo/bar/c elements.

            asemenyuk Alexey Semenyuk
            asemenyuk Alexey Semenyuk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: