From: Chris S. <chr...@gm...> - 2010-01-21 06:24:51
|
Quick question - is there any way to make that -Dconfigfile relative to the current directory? -- Chris Please consider the environment before printing this e-mail. On Wed, Jan 20, 2010 at 11:40 AM, Erik Vos <eri...@xs...> wrote: > Are you sure that the properties files has actually been read? No errors in > the startup window? > > When I run version 1.1.2 as follows : > java -Dconfigfile=C:/Projects/Rails/18xx/my_my.properties -jar > rails-1.1.2.jar %1 > I'm getting what you see, because the properties file is not found. > The fix in this case is to leave out the C:. > Erik. > > ________________________________ > From: Chris Shaffer [mailto:chr...@gm...] > Sent: Wednesday 20 January 2010 07:36 > To: Development list for Rails: an 18xx game > Subject: Re: [Rails-devel] Next player variable > > I just tried it again - a fresh install of rails-1.1.2, a new game of 1830 > with players Tom, Dick, Harry. I edited the fresh copy of my.properties to > remove the # before the line save.filename.suffix=NEXT_PLAYER. Here is the > file name that was offered on saving after Tom made the first bid. > > 1830_20100119_2233.rails > > I was hoping to see this filename instead: > > 1830_20100119_2233_Dick.rails > > -- > Chris > > Please consider the environment before printing this e-mail. > > > On Tue, Jan 19, 2010 at 2:07 PM, Chris Shaffer <chr...@gm...> > wrote: >> >> No, I don't think so. It is correctly appending the time stamp to the >> file names. >> >> -- >> Chris >> >> Please consider the environment before printing this e-mail. >> >> >> On Tue, Jan 19, 2010 at 12:54 PM, Erik Vos <eri...@xs...> wrote: >>> >>> Hmm, it works for me... >>> But it may not work if you previously have saved a file *not* accepting >>> the file name proposed by Rails. >>> In that case Rails just keeps the name you have provided for any further >>> save actions. >>> >>> Could that explain it? >>> >>> Erik. >>> >>> ________________________________ >>> From: Chris Shaffer [mailto:chr...@gm...] >>> Sent: Tuesday 19 January 2010 10:39 >>> To: rai...@li... >>> Subject: [Rails-devel] Next player variable >>> >>> We have this in My.Properties >>> >>> save.filename.suffix=NEXT_PLAYER >>> >>> but it doesn't append a player name to the save file. Any suggestions? >>> >>> -- >>> Chris >>> >>> Please consider the environment before printing this e-mail. >>> >>> >>> ------------------------------------------------------------------------------ >>> Throughout its 18-year history, RSA Conference consistently attracts the >>> world's best and brightest in the field, creating opportunities for >>> Conference >>> attendees to learn about information security's most important issues >>> through >>> interactions with peers, luminaries and emerging and established >>> companies. >>> http://p.sf.net/sfu/rsaconf-dev2dev >>> _______________________________________________ >>> Rails-devel mailing list >>> Rai...@li... >>> https://lists.sourceforge.net/lists/listinfo/rails-devel >>> >> > > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for > Conference > attendees to learn about information security's most important issues > through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > > |