From: Jim B. <jim...@ya...> - 2009-11-05 18:33:39
|
Chris, I might be able to help with the working directory- a Windows user told me to use java's "-Duser.dir" argument to set the working directory. (I think that's -Duser.dir=/foo/bar, then- whatever the typical java cmd-line syntax is.) This is working for windows users, apparently, but it doesn't work for me on my mac. Incidentally, to get consistent time stamps in filenames (like GMT time- independent of players' local timezones), start up rails like this- java -Duser.timezone=UTC -jar rails-1.0.6.jar That way, all timestamps will be in UTC format, and consistent. Like you, I would also like to know how to associate the file type to load java/rails- so I can just 'doubleclick' on someone's saved move. It would be a little different windows vs mac, I guess, since it's batch args to the java cmd line in either case (the association is to java, I assume). - jim On Nov 5, 2009, at 10:14 AM, Chris Shaffer wrote: > Is there any way to associate the .rails extension with the program, > so you can open a save file directly? Failing that, is there a way > to change the default location in which Rails looks for files? I > have a friend using Windows and it always defaults to opening his My > Documents folder, instead of the Dropbox folder in which we're > keeping the files. > > -- > Chris > > Please consider the environment before printing this e-mail. > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july_______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel |