[Opensim-dev] New configuration capabilities

James Hughes jamesh at bluewallgroup.com
Sat Oct 11 16:42:48 UTC 2014


On Sat, 2014-10-11 at 11:05 -0400, Frank Nichols wrote:
> Well, being a Mac/Objective C user, I would prefer a bit more
> descriptive label:
> 
> 
> [ConstantsDefinedByMeForUseInMyMainOpenSImIniFileAndOthePlacesYetToBeDetermined]
>  ;Constants
>  BaseURL =http://example.com
>  PublicPort = 8002
>  PrivatePort = 8003
> 
> 
> [LoginService]
> 
>    MapTileURL = ${C|BaseURL}:${C|PublicPort}/
>     SRV_HomeURI = "${C|BaseURL}:${C|PublicPort}"
>    SRV_InventoryServerURI = "${C|BaseURL}:${C|PublicPort}"
>    SRV_AssetServerURI = "${C|BaseURL}:${C|PublicPort}"
>    SRV_ProfileServerURI = "${C|BaseURL}:${C|PublicPort}"
>    SRV_FriendsServerURI = "${C|BaseURL}:${C|PublicPort}"
>    SRV_IMServerURI = "${C|BaseURL}:${C|PublicPort}"
>    SRV_GroupsServerURI = "${C|BaseURL}:${C|PrivatePort}”
> 
> > On Oct 11, 2014, at 10:05 AM, Shaun T. Erickson <ste at smxy.org>
> > wrote:
> > 
> > [C]
> >  ;Constants
> >  BaseURL =http://example.com
> >  PublicPort = 8002
> >  PrivatePort = 8003
> > 
> > 
> > [LoginService]
> > 
> >    MapTileURL = ${C|BaseURL}:${C|PublicPort}/
> >     SRV_HomeURI = "${C|BaseURL}:${C|PublicPort}"
> >    SRV_InventoryServerURI = "${C|BaseURL}:${C|PublicPort}"
> >    SRV_AssetServerURI = "${C|BaseURL}:${C|PublicPort}"
> >    SRV_ProfileServerURI = "${C|BaseURL}:${C|PublicPort}"
> >    SRV_FriendsServerURI = "${C|BaseURL}:${C|PublicPort}"
> >    SRV_IMServerURI = "${C|BaseURL}:${C|PublicPort}"
> >    SRV_GroupsServerURI = "${C|BaseURL}:${C|PrivatePort}"
> > 

Haha,

What I have running here is actually in [Startup], then all my keys are
set to ${Startup|BasePath}, etc. So it can be used in any way desired.

What I'm thinking about is what essential items are needed to get the
simulator or robust started and what is the best way we can localize
those things into a single area so a new user can fire this off easily
without placing limits on what advanced users are able to do.

Thanks,
BlueWall






More information about the Opensim-dev mailing list