• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: XCode, jar and images
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode, jar and images


  • Subject: Re: XCode, jar and images
  • From: Federico Abascal <email@hidden>
  • Date: Fri, 6 Aug 2004 10:20:15 +0200

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

  • Prev by Date: Re: Cocoa Browser broken with XCode 1.5
  • Next by Date: Where's the download link?
  • Previous by thread: Re: XCode, jar and images
  • Next by thread: Re: XCode, jar and images
  • Index(es):
    • Date
    • Thread