1
|
package eu.dnetlib.uoaadmintools;
|
2
|
|
3
|
import org.springframework.boot.SpringApplication;
|
4
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
5
|
import org.springframework.context.annotation.PropertySource;
|
6
|
import org.springframework.context.annotation.PropertySources;
|
7
|
|
8
|
@SpringBootApplication
|
9
|
@PropertySources({
|
10
|
@PropertySource("classpath:application.properties"),
|
11
|
@PropertySource("classpath:admintools.properties"),
|
12
|
@PropertySource(value = "file:/usr/share/tomcat7/lib/dnet-override.properties", ignoreResourceNotFound = true),
|
13
|
@PropertySource(value = "file:/var/lib/tomcat_dnet/8380/lib/dnet-override.properties", ignoreResourceNotFound = true)
|
14
|
|
15
|
})
|
16
|
public class UoaAdminToolsApplication {
|
17
|
|
18
|
public static void main(String[] args) {
|
19
|
SpringApplication.run(UoaAdminToolsApplication.class, args);
|
20
|
}
|
21
|
}
|