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

jpackage tool skips empty directories

    Details

    • Subcomponent:
    • Resolved In Build:
      b22
    • CPU:
      x86
    • OS:
      os_x

      Description

      A DESCRIPTION OF THE PROBLEM :
      When the jpackage tool creates an .app bundle and is fed a folder structure as input, it doesn't correctly mirror the input structure. Empty source folders are skipped.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Simply create an .app bundle using jpackage and use -i to refer to a folder containing sub folders, some being empty.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Target "Contents/Java" sub folder of generated .app bundle should mirror the structure passed in the -i argument to jpackage.
      ACTUAL -
      Empty folders in source structure are omitted.

      CUSTOMER SUBMITTED WORKAROUND :
      I copy the folder structure again to the generated .app bundle after running jpackage.

      FREQUENCY : always


        Attachments

          Activity

            People

            • Assignee:
              almatvee Alexander Matveev
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: