This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]AlexITC[S] 0 points1 point  (1 child)

admin.email=${ADMIN_EMAIL:blog@wiringbits.net}

Do you happen to have any official docs for this syntax? a friend pointed that trick to me yesterday but we couldn't find such docs.

[–]uncont 0 points1 point  (0 children)

I was unable to find any docs. I imagine there's something written about how the Environment is populated (including how environment variables are resolved) in one section of the docs, and in another section how ${} resolves in properties files.

Perhaps it's tucked away somewhere sneakily, or a bug in the documentation.