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

Multiple files and properties precedence #88

Open
kornicameister opened this issue Sep 6, 2022 · 1 comment
Open

Multiple files and properties precedence #88

kornicameister opened this issue Sep 6, 2022 · 1 comment

Comments

@kornicameister
Copy link

Hey,

I cannot figure it out and just wanted to know how precedence works here. Say I have multiple files:

<files>
    <file>src/main/resources/application.properties</file>
     <file>src/main/resources/${env}.properties</file>
</files>

and I want to use application.properties as sort of default properties and later override the settings.
I though it will work like that but I just learnt that a property can be defined just once and cannot be overridden.

Is that the case?

@slawekjaranowski
Copy link
Member

Should be works ... by default properties are override.

Can you prepare a simple project which reproduce your issue?

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