Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008769opensim[GRID] User Servicepublic2020-09-08 03:312020-09-22 00:03
Assigned To 
PlatformOSOS Version
Product Version0.9.1.0 
Target VersionFixed in Version 
Summary0008769: Constant not expanded in Include- directive
DescriptionWhen using a Constant in a string for setting an Include- value, it seems the Constant is not expanded.
Steps To ReproduceInclude the following in your Robust.ini

   ConfigFolder = "/home/someuser/config-default/somefolder"

   Include-AssetService = "${Const|ConfigFolder}/AssetService.ini"

The AssetService.ini file contains the usual settings for the AssetService.

Additional InformationReplacing the Include with an absolute path works

   Include-AssetService = "/home/someuser/config-default/somefoler/AssetService.ini"

Taking Constant part out of quotes doesnt work:
   Include-AssetService = ${Const|ConfigFolder}"/AssetService.ini"

Not using quotes doesnt work:
   Include-AssetService = ${Const|ConfigFolder}/AssetService.ini
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (1 Region per Sim)
Physics EngineBulletSim
Script EngineXEngine
EnvironmentMono / Linux64
Mono Version6.x
Attached Files

- Relationships

-  Notes
tampa (reporter)
2020-09-10 05:05

Why do you need this? You can just include the entire AssetService section in its own file
UbitUmarov (administrator)
2020-09-10 07:34

sorry, Const does not work with include

the processing of those only happen after all things loaded
Ferd Frederix (reporter)
2020-09-22 00:03

Double quotes normally do nothing and are not needed in INI files. They are only useful to include white space at the beginning or end of a expr=value as in
expr=" value"

- Issue History
Date Modified Username Field Change
2020-09-08 03:31 KaiShun New Issue
2020-09-09 10:16 aiaustin Note Added: 0036810
2020-09-10 03:41 KaiShun Additional Information Updated View Revisions
2020-09-10 05:05 tampa Note Added: 0036811
2020-09-10 05:09 aiaustin Note Deleted: 0036810
2020-09-10 07:34 UbitUmarov Note Added: 0036812
2020-09-22 00:03 Ferd Frederix Note Added: 0036889

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker