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

Redundant use of <context:property-placeholder>? #88

Open
severo opened this issue Nov 30, 2018 · 3 comments
Open

Redundant use of <context:property-placeholder>? #88

severo opened this issue Nov 30, 2018 · 3 comments

Comments

@severo
Copy link
Contributor

severo commented Nov 30, 2018

I understand that the line:

 <context:property-placeholder location="file:${georchestra.datadir}/geonetwork/geonetwork.properties" file-encoding="UTF-8" ignore-unresolvable="true" order="0"/>

present in three files:

should be moved to config-overrides-georchestra.xml in order to avoid multiple loading operations of the same file. And it could allow to add a second file (default.properties, see georchestra/georchestra#2299) with more trust in the priority order (see georchestra/georchestra#2123).

@fvanderbiest
Copy link
Member

Agreed.

What's your opinion @pmauduit ? Was there a good reason for not doing so ?

@pmauduit
Copy link
Member

pmauduit commented Jan 3, 2019

What's your opinion @pmauduit ? Was there a good reason for not doing so ?

I thought it was necessary on each and every files that were making use of the variables, but if it is not the case and we can avoid loading the file multiple times, I'm ok with this.

@fvanderbiest
Copy link
Member

OK, go ahead @severo

@severo severo self-assigned this Jan 4, 2019
@severo severo removed their assignment Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants