From: <rai...@we...> - 2007-01-17 16:51:34
|
my.properties > I'd prefer to not have too many configuration files running around. > Ideally, all preferences should be set in the UI, so the user doesn't > have to manually edit the configuration file. You can save properties from programm into the properties-file. So I would= use my.properties for all user-preferences. He can then use the my.properties-file with a text-editor or if we have im= plement it, make the changes with a option-dialog-window. > I'd prefer to not have too many configuration files running around. > Ideally, all preferences should be set in the UI, so the user doesn't > have to manually edit the configuration file. Two propeties-files are normally enough. One for the user and one for the = system. >I have also removed the prefix log/ to the log file name >to avoid errors if there is no log directory. I like a own log-dir. can'nt you just create the dir, if it does not exist= =3F >My own version of my.properties is now named my=5Fmy.properties. >It is invoked by specifying -Dconfigfile=3Dmy=5Fmy.properties=20 >on the command line (in Eclipse by adding this option as a "VM argument")= . >GameTest picks up this argument. If absent, the default name >my.properties is used. the -D option is a good idea for own versions, not the default one for the= end-users. If we use our firstname as prefix, we can checkin our own version also.=20 I will add the nessesary thinks in my RailsMain-Class >> We should capture this somewhere. Perhaps we should make use of >> SourceForge's documentation tools=3F >I'm not familiar with those but it sounds good. me too >For all users we will need to document the contents of the properties fil= e. >Both my.properties and GameTest.java already include comments >that could serve as a start for such document(s). I like dokumentation where you need it. In this case comments should be go= od enough I think, particular if we write also a option-dialog-window. Regards Rainer =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= Erweitern Sie FreeMail zu einem noch leistungsst=E4rkeren E-Mail-Postfach! =09 Mehr Infos unter http://freemail.web.de/home/landingpad/=3Fmc=3D021131 |