jpackage Packaging Tool Early Access Update 4

Andy Herrick andy.herrick at
Tue Mar 26 16:13:02 UTC 2019

--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.


On 3/26/2019 12:01 PM, Michael Hall wrote:
>> On Mar 26, 2019, at 10:56 AM, Andy Herrick <andy.herrick at 
>> <mailto:andy.herrick at>> 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:
>> /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?

More information about the core-libs-dev mailing list