jpackager deletes existing app directory without warning

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • internal
    • Affects Version/s: internal
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: