{"action":"created","issue":{"url":"https://api.github.com/repos/earldouglas/xsbt-web-plugin/issues/245","labels_url":"https://api.github.com/repos/earldouglas/xsbt-web-plugin/issues/245/labels{/name}","comments_url":"https://api.github.com/repos/earldouglas/xsbt-web-plugin/issues/245/comments","events_url":"https://api.github.com/repos/earldouglas/xsbt-web-plugin/issues/245/events","html_url":"https://github.com/earldouglas/xsbt-web-plugin/issues/245","id":69289257,"number":245,"title":"Profile/configuration for webapp plugin","user":{"login":"aardelean","id":8280773,"avatar_url":"https://avatars.githubusercontent.com/u/8280773?v=3","gravatar_id":"","url":"https://api.github.com/users/aardelean","html_url":"https://github.com/aardelean","followers_url":"https://api.github.com/users/aardelean/followers","following_url":"https://api.github.com/users/aardelean/following{/other_user}","gists_url":"https://api.github.com/users/aardelean/gists{/gist_id}","starred_url":"https://api.github.com/users/aardelean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aardelean/subscriptions","organizations_url":"https://api.github.com/users/aardelean/orgs","repos_url":"https://api.github.com/users/aardelean/repos","events_url":"https://api.github.com/users/aardelean/events{/privacy}","received_events_url":"https://api.github.com/users/aardelean/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-18T09:16:43Z","updated_at":"2015-05-16T05:53:01Z","closed_at":null,"body":" Hi,\r\n\r\n I have successfully configured your plugin in a war application. My only problem is that if I create a new config/profile in sbt, dev, the dev:package doesn't consider the dev's config parameters.\r\n\r\n val ProfileDev = config(\"dev\") extend(Runtime)\r\n\r\n val root = (project in file(\".\")).\r\n configs(ProfileDev).\r\n settings(\r\n ).\r\n settings(inConfig(ProfileDev)(Classpaths.configSettings ++ Defaults.configTasks ++ Defaults.resourceConfigPaths ++ Seq(\r\n unmanagedResourceDirectories += {baseDirectory.value / \"src\" / configuration.value.name / \"resources\"}\r\n )): _*)\r\n\r\n And then go to sbt and type dev:package. The jar is not containing the proper config files.\r\n\r\n same goes for adding\r\n\r\n unmanagedResourceDirectories in ProfileDev <+= (sourceDirectory in Compile)(_ / \"extra\")\r\n\r\n Is there no way to change the config for package task? Looks like it executes the task just from the Compile configuration. Am I correct?\r\n\r\n Best Regards, Alexandru."},"comment":{"url":"https://api.github.com/repos/earldouglas/xsbt-web-plugin/issues/comments/102573920","html_url":"https://github.com/earldouglas/xsbt-web-plugin/issues/245#issuecomment-102573920","issue_url":"https://api.github.com/repos/earldouglas/xsbt-web-plugin/issues/245","id":102573920,"user":{"login":"guersam","id":969120,"avatar_url":"https://avatars.githubusercontent.com/u/969120?v=3","gravatar_id":"","url":"https://api.github.com/users/guersam","html_url":"https://github.com/guersam","followers_url":"https://api.github.com/users/guersam/followers","following_url":"https://api.github.com/users/guersam/following{/other_user}","gists_url":"https://api.github.com/users/guersam/gists{/gist_id}","starred_url":"https://api.github.com/users/guersam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guersam/subscriptions","organizations_url":"https://api.github.com/users/guersam/orgs","repos_url":"https://api.github.com/users/guersam/repos","events_url":"https://api.github.com/users/guersam/events{/privacy}","received_events_url":"https://api.github.com/users/guersam/received_events","type":"User","site_admin":false},"created_at":"2015-05-16T05:53:01Z","updated_at":"2015-05-16T05:53:01Z","body":"It should work with current 2.0 branch, but I haven't tested yet."}}