[MAGNOLIA-2321] Make PropertiesInitializer resolve nested properties Created: 13/Aug/08  Updated: 23/Jan/13  Resolved: 13/Aug/08

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 3.6.1
Fix Version/s: 3.6.2, 3.6.3

Type: Improvement Priority: Major
Reporter: Fabrizio Giustina Assignee: Fabrizio Giustina
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)

 Description   

The ability to reference other properties inside a configuration property could turn out very useful, for example allowing something like:

magnolia.basedir=/something

magnolia.cache.startdir=${magnolia.basedir}/cache
magnolia.upload.tmpdir=${magnolia.basedir}/tmp
magnolia.exchange.history=${magnolia.basedir}/history



 Comments   
Comment by Fabrizio Giustina [ 13/Aug/08 ]

done (also added tests for circular or self referencing properties)

Generated at Mon Feb 12 03:35:35 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.