Java data files in a subdirectory
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