• 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
Java data files in a subdirectory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Java data files in a subdirectory


  • Subject: Java data files in a subdirectory
  • From: Frank Schmittroth <email@hidden>
  • Date: Fri, 19 Nov 2004 10:36:20 -0800

Hi,

I have an existing Java program that I developed on another system. And I'm now trying to move it to Xcode; I don't have a lot of experience with Xcode.

On the original system, the data libraries are in a subdirectory called "lib", and they are referenced in the code using "getResourceAsStream("lib/" + filename)". The Xcode version of my program compiles okay; but I have been unable to add my "lib" data folder to Xcode in such a way that the executing program can find it.

The getResourceAsStream worked well on the old system in that my data libraries could be included in the executable jar file. Also the jar file I created on the old system works okay on my current system.

Frank

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: re: mundane xcode user interface questions
  • Next by Date: Unresolved widechar symbols under Jaguar.
  • Previous by thread: Re: XCode 1.5 - Information displayed under "Targets" group
  • Next by thread: Unresolved widechar symbols under Jaguar.
  • Index(es):
    • Date
    • Thread