From: Chris S. <chr...@gm...> - 2010-01-19 09:38:43
|
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. |
From: Erik V. <eri...@xs...> - 2010-01-19 20:54:09
|
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. |
From: Chris S. <chr...@gm...> - 2010-01-19 22:07:31
|
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 > > |
From: Chris S. <chr...@gm...> - 2010-01-20 06:35:49
|
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 >> >> > |
From: Erik V. <eri...@xs...> - 2010-01-20 19:40:28
|
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 |
From: Chris S. <chr...@gm...> - 2010-01-20 20:04:51
|
hmmm.. I wasn't aware that you needed to flag -Dconfigfile. Maybe that's the problem. :-) Perhaps a comment could be included at the start of the My.Properties file indicating that it is only read if a command line flag is set? -- 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 > > |
From: Erik V. <eri...@xs...> - 2010-01-20 20:18:51
|
If you don't add -Dconfigfile, Rails will look for my.properties, but I think it will then first find the default version in the jar, which has only a few settings. Yes, I will add a comment to the next version of my.properties. Erik. _____ From: Chris Shaffer [mailto:chr...@gm...] Sent: Wednesday 20 January 2010 21:05 To: Development list for Rails: an 18xx game Subject: Re: [Rails-devel] Next player variable hmmm.. I wasn't aware that you needed to flag -Dconfigfile. Maybe that's the problem. :-) Perhaps a comment could be included at the start of the My.Properties file indicating that it is only read if a command line flag is set? -- 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 |
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 > > |