edjm
edjm

Reputation: 5472

Where does ${x.y.z} get defined for the properties file?

In the project we have many .properties files. Typically they have entries such as

app.sandox.folder=/path/folder

but in other .properties files they have entries such as

app.sandbox.folder=${app.sandbox.folder}

I cannot figure out where ${app.sandbox.folder} is set. Can anyone clarify for me what this is and where or what file the item is declared or how it works?

Upvotes: 0

Views: 83

Answers (1)

Karthik
Karthik

Reputation: 5040

As you are using Maven, one place to check for these properties is profiles in your pom.xml.

Check for something like

<app.sandbox.folder> value <app.sandbox.folder/>   

or an external properties file which has these properties will be defined in <configuration>.

Upvotes: 1

Related Questions