List of usage examples for org.springframework.boot.context.config ConfigFileApplicationListener setSearchLocations
public void setSearchLocations(String locations)
From source file:org.obiba.rserver.Application.java
public static void main(String... args) throws Exception { ConfigFileApplicationListener listener = new ConfigFileApplicationListener(); listener.setSearchLocations("classpath:,file:" + Resources.getRServerHomeDir() + "/conf/"); SpringApplication springApp = new SpringApplication(Application.class); springApp.addListeners(listener);/*from w ww .j a v a2 s .co m*/ springApp.run(args); }