larsn
12 years agoContributor
common properties file across projects
What is the typical solution to having a common configuration/property file across multiple projects?
As I see it, I would need common property values an external property file or is it possible to share environment configuration across projects?
As I understand it, to have these common properties work from the UI (i.e. automatically load) and maven, then I need to add a load script that will load the properties when the project is opened.
I presume that I will need a loop like:
properties.propertyNames().each{ prop ->
project.setProperty(prop)
}
As I see it, I would need common property values an external property file or is it possible to share environment configuration across projects?
As I understand it, to have these common properties work from the UI (i.e. automatically load) and maven, then I need to add a load script that will load the properties when the project is opened.
I presume that I will need a loop like:
properties.propertyNames().each{ prop ->
project.setProperty(prop)
}