{"action":"opened","issue":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2690","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2690/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2690/comments","events_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2690/events","html_url":"https://github.com/spring-projects/spring-boot/issues/2690","id":63046105,"number":2690,"title":"PropertiesLauncher does not take into account \"loader.system\" property, when specified in file","user":{"login":"astorath","id":6577390,"avatar_url":"https://avatars.githubusercontent.com/u/6577390?v=3","gravatar_id":"","url":"https://api.github.com/users/astorath","html_url":"https://github.com/astorath","followers_url":"https://api.github.com/users/astorath/followers","following_url":"https://api.github.com/users/astorath/following{/other_user}","gists_url":"https://api.github.com/users/astorath/gists{/gist_id}","starred_url":"https://api.github.com/users/astorath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astorath/subscriptions","organizations_url":"https://api.github.com/users/astorath/orgs","repos_url":"https://api.github.com/users/astorath/repos","events_url":"https://api.github.com/users/astorath/events{/privacy}","received_events_url":"https://api.github.com/users/astorath/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-19T17:24:38Z","updated_at":"2015-03-19T17:24:38Z","closed_at":null,"body":"Hi, `PropertiesLauncher` resolve `\"loader.system\"` property against System Properties only, which does not (yet) include properties, defined in *application.properties* (`\"loader.config.name\"`):\r\n\r\n``` java\r\n\t\t\tif (SystemPropertyUtils.resolvePlaceholders(\r\n\t\t\t\t\t\"${\" + SET_SYSTEM_PROPERTIES + \":false}\").equals(\"true\")) {\r\n\t\t\t\tthis.logger.info(\"Adding resolved properties to System properties\");\r\n\t\t\t\tfor (Object key : Collections.list(this.properties.propertyNames())) {\r\n\t\t\t\t\tString value = this.properties.getProperty((String) key);\r\n\t\t\t\t\tSystem.setProperty((String) key, value);\r\n\t\t\t\t}\r\n\t\t\t}\r\n```"}}