From: Stefan F. <ste...@we...> - 2012-02-29 23:38:55
|
Erik: sorry as stated below I was not sure if you should add profile.parent=root inside your profile, as I did send the mail from my phone. It turns out that you should NOT add that line (or remove it now). I forgot to add the cli option, it is available now (simply add -Dprofile=MY as argument). Your profile starts on my system now it only looks weird because of the usual encoding issues for the money symbol. ALL: I am currently on vacation and I had hoped for WLAN here, but no luck. How can someone create an apartment park in 2008 and forget to add that feature :-( So I am not able to upload the new release until my return next week. Unless someone else wants to volunteer, there is another release delay. But maybe it allows to fix some remaining issues. Stefan On 02/28/2012 01:53 PM, Erik Vos wrote: > Stefan, > > That doesn’t work yet. > > First, ‘pbem’ is always preselected in the startup screen. How can I > make it default to my profile? > > Second, when I select ‘My’, I’m getting an exception: > > DEBUG: Trying to locate InputStream: data/Properties.xml > > DEBUG: Opened config xml, filename = Properties.xml > > INFO : Loading properties from file data/profiles/LIST_OF_PROFILES > > INFO : Loading properties from file data/profiles/root > > INFO : Loading properties from file data/profiles/pbem.predefined > > INFO : Loading properties from file version.number > > DEBUG: Trying to locate InputStream: data/GamesList.xml > > DEBUG: Language=en, country=US, locale=en_US > > INFO : Loading properties from file > C:\Users\Erik\AppData\Roaming\rails\My.rails_profile > > Exception in thread "AWT-EventQueue-0" _java.lang.NullPointerException_ > > at rails.common.ConfigProfile.setParent(_ConfigProfile.java:147_) > > at rails.common.ConfigProfile.setParent(_ConfigProfile.java:152_) > > at rails.common.ConfigProfile.load(_ConfigProfile.java:215_) > > at rails.common.ConfigManager.changeProfile(_ConfigManager.java:218_) > > etc. > > The profile has the profile.parent=root line. > > It seems I have to do something in data/profile as well. > > Erik. > > *From:*Stefan Frey [mailto:ste...@we...] > *Sent:* Tuesday, February 28, 2012 8:38 AM > *To:* Development list for Rails: an 18xx game > *Subject:* Re: [Rails-devel] New configuration system > > Erik: > you should first save a new config file. This creates the rails > directory in your application data folder. > Then copy your existing file there and change the filename extension to > .rails_profile > This should work. If it does not you can add profile.parent = root as an > additional line inside your file. > Hope that works. > Stefan > > > > Erik Vos <eri...@xs... <mailto:eri...@xs...>> schrieb: > > Stefan, > Is there an option to import my current configuration, or can I move it > manually, or must I completely recreate it? > Erik. > >> -----Original Message----- >> From: Stefan Frey[mailto:ste...@we...] <mailto:[mailto:ste...@we...]> >> Sent: Monday, February 27, 2012 10:54 AM >> To: Development list for Rails: an 18xx game >> Subject: [Rails-devel] New configuration system >> >> I have rewritten the Configuration system for rails. >> >> I intend to release 1.7.0 today, so it would be great to get some feedback >> soon if the OS specific storage solution works without hassles for Windows >> and Mac >> >> Stefan >> >> Major changes: >> >> There are two major changes for users: >> >> * The configuration settings are stored in OS specific directories: >> >> A) Unix-Systems (except Mac): >> ~/.rails (with ~ equals content of system property user.home) >> >> B) Mac OS-Systems: ~/Library/Preferences/net.sourceforge.rails >> (again with ~ equals system property user.home) >> >> C) Windows-System: >> First it tries to locate the common application data folder (something > like >> C:\\Documents and Settings\\username\\Application Data). There it uses >> the subfolder rails. >> This is done using System.getEnv("APPDATA"). >> >> If this fails the user directory is found using > System.getEnv("USERPROFILE"), >> as user.home has a known unfixed bug on Windows system (see >> http://bugs.sun.com/view_bug.do?bug_id=4787931 >> >> * The profile system is (hopefully) easier to use now: >> >> There are predefined profiles: pbem equal to the previous default) and >> prettyUI and ORDocking. >> >> If a user changes the settings and wants to apply them, the new profile > will >> be stored inside the configuration folder and will be available for > selection (in >> addition to the predefined) at the next start. >> >> * Internally it was rewritten from scratch and the profiles are a tree > which >> has the root profile at the top. All profiles below only store the delta > to its >> parent. >> >> User profiles will always link to a predefined profile as a parent to > avoid users >> building deep structures. >> >> >> > > ------------------------------------------------------------------------ > > > -- >> Try before you buy = See our experts in action! >> The most comprehensive online learning library for Microsoft developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-dev2 >> > > ------------------------------------------------------------------------ > > >> Rails-devel mailing list >> Rai...@li... <mailto:Rai...@li...> >> https://lists.sourceforge.net/lists/listinfo/rails-devel > > ------------------------------------------------------------------------ > > > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > > ------------------------------------------------------------------------ > > > Rails-devel mailing list > Rai...@li... <mailto:Rai...@li...> > https://lists.sourceforge.net/lists/listinfo/rails-devel > > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > > > > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel |