After analyzing the generated build.xml, I found out that I can configure this 
by changing project.properties and add the line:

   deploy.icon.native=${src.dir}/MyApp.ico

Thomas


Geertjan Wielenga schrieb am 26.07.2018 um 18:18:
> Doesn’t do that right now, though your pull request providing this 
> enhancement is welcome.
> 
> Gj
> 
> On Thursday, July 26, 2018, Thomas Kellerer <sham...@gmx.net 
> <mailto:sham...@gmx.net>> wrote:
> 
>     Thanks, but I was hoping for a way to configure the NetBeans project to 
> do this automatically, when I run "Package as".
> 
>     Thomas
> 
> 
>     Geertjan Wielenga schrieb am 26.07.2018 um 13:33:
> 
>         
> https://www.howtogeek.com/75983/stupid-geek-tricks-how-to-modify-the-icon-of-an-.exe-file/
>  
> <https://www.howtogeek.com/75983/stupid-geek-tricks-how-to-modify-the-icon-of-an-.exe-file/>
> 
>         Gj
> 
>         On Thu, Jul 26, 2018 at 12:09 PM, Thomas Kellerer <sham...@gmx.net 
> <mailto:sham...@gmx.net> <mailto:sham...@gmx.net <mailto:sham...@gmx.net>>> 
> wrote:
> 
>             Hello,
> 
>             I am packaging my Swing application using "Package as -> Image 
> only".
> 
>             NetBeans 9.0 automatically puts an .ico file with the name of the 
> .jar file into the application directory.
> 
>             How can I configure this icon?
>             Ideally in a way that the icon is included in the generated .exe 
> launcher.
> 
>             Regards
>             Thomas
> 
> 
> 
> 
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org 
> <mailto:users-unsubscr...@netbeans.apache.org>
>     For additional commands, e-mail: users-h...@netbeans.apache.org 
> <mailto:users-h...@netbeans.apache.org>
> 
>     For further information about the NetBeans mailing lists, visit:
>     https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists 
> <https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to