Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jamdr

macrumors 6502a
Original poster
Jul 20, 2003
659
0
Bay Area
OK, is it just me or is Apple's "Jar Bundler" a buggy piece of junk? Has anyone used this to successfully add an icon file to their application? Whenever I choose "add icon" and select my icon file, it crashes. Every single time. No matter what machine I use. I realize there are other ways to add an icon to my Java app, but I would like it to be done for me when I create the application. Are there other "jar bundlers" out there that I can use as a replacement for Apple's? Please tell me this isn't just me.
 
Jar Bundler?????

jamdr said:
OK, is it just me or is Apple's "Jar Bundler" a buggy piece of junk? Has anyone used this to successfully add an icon file to their application? Whenever I choose "add icon" and select my icon file, it crashes. Every single time. No matter what machine I use. I realize there are other ways to add an icon to my Java app, but I would like it to be done for me when I create the application. Are there other "jar bundlers" out there that I can use as a replacement for Apple's? Please tell me this isn't just me.

If you are use Xcode, you can give your program an icon right in Xcode. So when you compile it, your program is given that icon automatically. If you want Xcode, download it from the developers site. It will make creating code much easier. Also, are you creating these icon files with the icon builder that comes with Xcode or are you just picking a picture you have made.

On Apple.developer site it states this under Icon: Allows you to choose an icon for the application. Manifested in the CFBundleIconFile property-list entry. In addition, Jar Bundler places the icon file you choose in the bundle’s Contents/Resources directory. Don't know what CFBundleIconFile is right now because I'm not in front of my Mac.

http://developer.apple.com/document...for_Java/BuildSystem/chapter_3_section_4.html

do a find for "icon" and it saids something about how to add an icon here
pbapplicationicon.gif
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.