{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/3134","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/3134/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/3134/comments","events_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/3134/events","html_url":"https://github.com/spring-projects/spring-boot/issues/3134","id":85482070,"number":3134,"title":"Support setting spring.config.* from manifest in War and JarLauncher.","user":{"login":"rpomeroy","id":353459,"avatar_url":"https://avatars.githubusercontent.com/u/353459?v=3","gravatar_id":"","url":"https://api.github.com/users/rpomeroy","html_url":"https://github.com/rpomeroy","followers_url":"https://api.github.com/users/rpomeroy/followers","following_url":"https://api.github.com/users/rpomeroy/following{/other_user}","gists_url":"https://api.github.com/users/rpomeroy/gists{/gist_id}","starred_url":"https://api.github.com/users/rpomeroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpomeroy/subscriptions","organizations_url":"https://api.github.com/users/rpomeroy/orgs","repos_url":"https://api.github.com/users/rpomeroy/repos","events_url":"https://api.github.com/users/rpomeroy/events{/privacy}","received_events_url":"https://api.github.com/users/rpomeroy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spring-projects/spring-boot/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-05T09:27:39Z","updated_at":"2015-09-17T11:32:44Z","closed_at":null,"body":"When delivering a single war artifact that is both executable and JBoss deployable:\r\n\r\nWhether deploying to JBoss or just executing the jar we want to override spring.config.name and augment spring.config.location in a consistent way.  Regardless how it's run we want the config file name to be our custom one (to avoid collision in the JBoss shared config directory ${jboss.server.config.url}) when multiple apps are deployed in one container - and to avoid having to set system properties externally. We want names and search locations to be internal config.  \r\n\r\nThe PropertiesLauncher has the nice ability to get this from MANIFEST.MF.  If the WarLauncher and JarLauncher could look there too it would solve the problem quite elegantly.  \r\n \r\nSee http://docs.spring.io/spring-boot/docs/current/api/org/springframework/boot/loader/PropertiesLauncher.html\r\n\r\nI had to add a static initializer block to set those properties early enough to get it to work.  Ugly.  \r\n\r\nIf I can muster the time I'll try to work it out.  Just wanted to get this on the radar.  Thanks."},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/comments/141049844","html_url":"https://github.com/spring-projects/spring-boot/issues/3134#issuecomment-141049844","issue_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/3134","id":141049844,"user":{"login":"jedvardsson","id":672606,"avatar_url":"https://avatars.githubusercontent.com/u/672606?v=3","gravatar_id":"","url":"https://api.github.com/users/jedvardsson","html_url":"https://github.com/jedvardsson","followers_url":"https://api.github.com/users/jedvardsson/followers","following_url":"https://api.github.com/users/jedvardsson/following{/other_user}","gists_url":"https://api.github.com/users/jedvardsson/gists{/gist_id}","starred_url":"https://api.github.com/users/jedvardsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedvardsson/subscriptions","organizations_url":"https://api.github.com/users/jedvardsson/orgs","repos_url":"https://api.github.com/users/jedvardsson/repos","events_url":"https://api.github.com/users/jedvardsson/events{/privacy}","received_events_url":"https://api.github.com/users/jedvardsson/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T11:32:44Z","updated_at":"2015-09-17T11:32:44Z","body":"Yes, this would be great. There is an issue in Intellij for picking up this setting. See https://youtrack.jetbrains.com/issue/IDEA-133445\r\n"}}