Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to perform variable substitution for property file values #33

Closed
HiranChaudhuri opened this issue May 9, 2023 · 2 comments
Closed

Comments

@HiranChaudhuri
Copy link

Would it be possible to have a properties file like this:

key=value
tmpdir=${user.home}/tmp

and access it at runtime with already-resolved values like `/home/user/tmp'?

@h-thurow
Copy link
Owner

h-thurow commented May 9, 2023

Please finish reading this section Create your contexts and context objects (file system based).

@HiranChaudhuri
Copy link
Author

Oh, then this is a duplicate of #17 and is already contained.
Thank you for that quick implementation. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants