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

jpackager deletes existing app directory without warning

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • internal
    • internal
    • tools

      Running the following:

      $ jpackager create-image --output outdir --name appname ...

      will recursively delete outdir/appname, e.g., `rm -rf outdir/appname` regardless of the previous contents of the appname directory, which seems dangerous and could be surprising to developers.

      I think it would be better for jpackager to report an error if outdir/appname exists.

            herrick Andy Herrick (Inactive)
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: