From: brett l. <wak...@gm...> - 2006-04-27 23:57:04
|
Over the past couple weeks, I've been pounding my head up against the problem of constructing a JAR. The fundamental problem is that resources within a JAR are accessed a wee bit differently than they are when they're laying about on the local filesystem. I can't seem to find any worthwhile information that tells me how to deal with accessing arbitrary files outside of the jar's classpath. So, for the sake of not driving myself insane, the easiest option seems to be relocating the /data and /tiles directories to beneath /game . If nobody has any alternative methods, as soon as I get my changes working, I'll commit 'em. ---Brett. |