From: Erik V. <eri...@hc...> - 2006-04-28 09:17:04
|
> I have no problem running it from a jar with the below command: > > java -classpath > \projects\Rails\18xx\rails.jar;\projects\Rails\18xx test.GameTest > > where the second part of the classpath is needed to make > LocalisedText.properties visible. > I just threw the whole current structure into the jar. > > I cannot pursue this further now, as I am about to leave for > a week vacation, > but I'll send some stuff to Brett separately now. Sorry, I was too quick: at least the method to find the per-game subdirectories does not work this way if I run outside my usual project directory. I guess we need to specify the game names in a separate file, or sort out how these can be found in the jar in another way. Brett, if you manage to get it done by whatever trick, that is fine with me. Otherwise I can start helping you out when I'm back in a week from now. Eriuk. |