[Opensim-dev] Globally avaibability of config options (?)

Michael Wright michaelwri22 at yahoo.co.uk
Fri Oct 19 19:08:07 UTC 2007


not sure there isn't a better/cleaner way to do it but we do have some (basic) methods in Util.cs to make a nini IConfigSource from a System.Data.DataRow. so we can load nini sources from a ado.net database.

Stefan Andersson <stefan at tribalmedia.se> wrote:    .hmmessage P { margin:0px; padding:0px } body.hmmessage { FONT-SIZE: 10pt; FONT-FAMILY:Tahoma }  > I think we're talking about a few classes of configurations:
> * Basic Application - doing via .ini and/or command line (nini gives us
> this today)
> * Regions & Standard asset library - xml today. Possibly also let this
> be a database instead.

 Both these are possible (and reasonably clean) thru nini xmlConfigSource and custom dg implementation of ConfigSource.
  
 The major winnage with using this approach would be that you could have a database with region settings that defaulted to an estate-wide xml config that could be overridden by command line - just by chaining three different config sources.
  
 Also, it lets you mix config options from different config sources; so, it wouldn't matter what you persisted your option to; in deed, it could be different for each option.
  
 /Stefan
_______________________________________________
Opensim-dev mailing list
Opensim-dev at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev


       
---------------------------------
 Yahoo! Answers - Get better answers from someone who knows. Tryit now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20071019/d5550398/attachment-0001.html>


More information about the Opensim-dev mailing list