--overwrite was removed because our internal reviewers thought that was inconsistent with other tools.

the problem was that the option required us to fully remove the directory tree <output>/<name>[.app], without regard to what is in it.

other tools like jlink require a non-existent output path, and developer can easily "rm -rf" the directory before running jpackage.

/Andy


On 3/26/2019 12:01 PM, Michael Hall wrote:


On Mar 26, 2019, at 10:56 AM, Andy Herrick <[email protected] <mailto:[email protected]>> wrote:

yes - this is a late regression in EA 4 which will shortly be remedied .

The option --file-associations, and all of the mac specific options, need to be valid in create-image mode on MAC.

see: https://bugs.openjdk.java.net/browse/JDK-8221256

/Andy


OK thanks.
But I guess now I don’t get why —overwrite was removed. This does keep it from writing over an old one.
You can manually do that first but why not include a CLI option to do it?


Reply via email to