From: Stefan F. <ste...@we...> - 2012-02-28 07:38:15
|
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...> 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...] > 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... > 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... https://lists.sourceforge.net/lists/listinfo/rails-devel |