Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode, jar and images



I want XCode to create a jar file including some images (in a directory named icons). I added the files, the directory, everything ... to the project, but the jar created does not contain those files. I made a clean, a rebuild, etc... I don't know what else to do. Please, help!

Open the target and look at the Java Resources build phase. The files should show up there. If they're in a different build phase, just drag them over. You can also set the subdirectory where the images will be placed inside the .jar.

Thanks a lot, Dave, but...:
I checked that and my files were there, in the Java Resources build phase, but they are not incorporated into the jar file (I check it doing a "jar -xvf"). Do you have any other suggestion?


(I checked if there was something extrange with my working project, so I created a new project of type Java Tool and added the images to the project, but neither, with this simple project, the images are not incorporated to the jar)

Greetings,
Federico
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


References: 
 >XCode, jar and images (From: Federico Abascal <email@hidden>)
 >Re: XCode, jar and images (From: David Ewing <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.