Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

property values using ${basedir} not rescanned for additional substitutions #694

Closed
kford-oconnors opened this issue Nov 16, 2016 · 1 comment

Comments

@kford-oconnors
Copy link
Contributor

When both ${basedir} and a second property value are used in a third property, the second property
name is not replaced by its value in the value of the third property.

Because ${basedir} is a special case in substitute_properties (server_config.rb#L2246) the lines where it occurs are not rescanned for additional properties.

Example:
config.file=${basedir}/deploy/ml-config-${environment}.xml
config.file > [path to app directory]/deploy/ml-config-${environment}.xml

Roxy version: 1.7.4

@RobertSzkutak
Copy link
Contributor

Thanks for the PR to fix this, @kford-oconnors !

@RobertSzkutak RobertSzkutak added this to the 1.7.5 milestone Nov 18, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants