OpenSim is modular and the modules don't tent to know much about each other and they pull the parts from the ini's they need individually. But, we expand variables when it is finished reading the files...

http://nini.sourceforge.net/Manual/NiniManual-2.htm#KeyValueExpanding

You should be able to define a directory or ip address that is used several times, then place variables in the places that it is needed.

-BlueWall

On 05/13/2012 04:36 AM, Serendipity Seraph wrote:
Is there some way to get closer to obeying the DRY (don't repeat yourself) 
principle in the config files?  I see the same information (e.g. internet 
address) repeated over and over again.  This is a real pain when you need to 
change something and it is not at all obvious whether some of the repeats mean 
something different and should not be changed.    I guess it is a property of 
the old-school config file format.  But whatever, it makes configuration and 
especially changes to same messy and error-prone.  Any good way to help it?

- seren
_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users

_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users

Reply via email to