Spring-compatible property references?
Spring uses ${...} to reference other properties.
Constretto seems to support use of the (undocumented?) syntax #{...} for variable resolving.
The organization I currently work at has some .properties files which are used by several applications, most of which are Spring based. Some properties employ the ${...} placeholder. It would be nice to be able to use Constretto in a couple of applications.
Is is possible for Constretto to support the ${...} syntax that Spring uses?
Hi..
In the current implementation there is no simple way of changing the placeholder unfortunately. It is hidden deep inside the CPrimitive class used for parsing values across different file types. If I remember correctly there was a problem using $ as a prefix in certain stores but cannot remember now the issue. But sure. There could be a way of having this as a configurable option
I will add this feature to the (too) long awaited Constretto 3 release
Great!