From: Stefan F. <ste...@we...> - 2012-03-05 14:16:50
|
Erik: what do you mean manually? Editing files? Creating new profiles is now automatically done each time someone uses the saveas.. button. This only requires choosing a new profile name and it gets automatically available. But maybe it is too magic now? Still migration instructions will be included as they are very simple: Change extension and copy it into the profiles subfolder of the application folder. However I doubt that there have been many (non-eclipse and/or git) users of the previous setup(s) for configurations as that required migration every time a new version was installed, without any instructions for that provided. Stefan On 03/04/2012 02:51 PM, Erik Vos wrote: > As it was not clear to me how to create 'profiles' from within Rails, I have > done it manually. > I hope you are going to provide complete migration instructions once this > new configuration structure gets released!\ > > Erik. > >> -----Original Message----- >> From: Stefan Frey [mailto:ste...@we...] >> Sent: Sunday, March 04, 2012 8:56 AM >> To: rai...@li... >> Subject: [Rails-devel] Further updates to Rails configuration >> >> Further updates to the config mechanism: >> >> * I have added the mechanism to store config information inside of >> subfolders inside the rails configuration directory: >> >> Use >> SystemOS.get().getConfigurationFolder(String sub, boolean create) >> >> This returns a file object that points to the subfolder. >> If create is set to true, it is created if it does not exist before. >> It it does not exist or fails due to other reasons it returns null. >> >> I used that to store all user profiles in a subfolder called profiles. >> >> Erik: Please copy your "my" profile into that subfolder! >> >> * Profiles are now sorted in the selection box first on type (predefined > first >> followed by user) and second by name. >> >> * A recent mechanism was added, that is essentially a property file that > is >> loaded at the start of rails automatically and that gets saved as soon as > the >> properties object gets changed. >> >> Use >> Config.getRecent(String key) >> to retrieve a value >> >> and >> Config.storeRecent(String key, String value) to store a value, which > triggers >> the storage. >> >> The file that is saved is rails.recent in the top rails configuration > folder. >> >> This is used to keep the profile selection persistent. >> However it can still be overwritten by a cli setting (-Dprofile=...) >> >> Stefan >> >> >> > ---------------------------------------------------------------------------- > -- >> Virtualization& Cloud Management Using Capacity Planning Cloud computing >> makes use of virtualization - but cloud computing also focuses on allowing >> computing to be delivered as a service. >> http://www.accelacomm.com/jaw/sfnl/114/51521223/ >> _______________________________________________ >> Rails-devel mailing list >> Rai...@li... >> https://lists.sourceforge.net/lists/listinfo/rails-devel > > > ------------------------------------------------------------------------------ > Virtualization& Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel |