RFR: 8350594: Misleading warning about install dir for DMG packaging

Michael Hall mik3hall at gmail.com
Tue Feb 25 17:38:56 UTC 2025



> On Feb 25, 2025, at 11:15 AM, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:
> 
> On Tue, 25 Feb 2025 16:27:51 GMT, Michael Hall <mik3hall at gmail.com> wrote:
> 
>> ignore it silently
> 
> I don't like it. If they pass a cli option ignored by jpackage, we should warn them.
> 
>> But I still myself don?t see what any directory has to do with a dmg
> 
> We need to put a directory on the right side from the copy arrow on the dialog that pops up when you open a dmg. In other words, we need a default directory where you can copy the dmg. Of course, you can copy it to another directory and ignore the default one.
> 

I wasn’t entirely serious about ignoring. Yes, actually I think they should always be warned the cli option is ignored or has no effect. The dmg image should always have the Application directory. This is standard MacOS practice. I don’t know if you should even call it the default. I would say for any application install dmg it is ’the choice’. You are correct the user can then opt to install it elsewhere. 

A warning that cli has no effect I think would always make sense. Even if they make it the Application directory it isn’t really doing anything right?



More information about the core-libs-dev mailing list