{"action":"closed","issue":{"url":"https://api.github.com/repos/bmuschko/gradle-tomcat-plugin/issues/41","labels_url":"https://api.github.com/repos/bmuschko/gradle-tomcat-plugin/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/bmuschko/gradle-tomcat-plugin/issues/41/comments","events_url":"https://api.github.com/repos/bmuschko/gradle-tomcat-plugin/issues/41/events","html_url":"https://github.com/bmuschko/gradle-tomcat-plugin/issues/41","id":11511328,"number":41,"title":"Create facility for adding external directories to the runtime classpath","user":{"login":"williewheeler","id":853435,"avatar_url":"https://avatars.githubusercontent.com/u/853435?v=3","gravatar_id":"","url":"https://api.github.com/users/williewheeler","html_url":"https://github.com/williewheeler","followers_url":"https://api.github.com/users/williewheeler/followers","following_url":"https://api.github.com/users/williewheeler/following{/other_user}","gists_url":"https://api.github.com/users/williewheeler/gists{/gist_id}","starred_url":"https://api.github.com/users/williewheeler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williewheeler/subscriptions","organizations_url":"https://api.github.com/users/williewheeler/orgs","repos_url":"https://api.github.com/users/williewheeler/repos","events_url":"https://api.github.com/users/williewheeler/events{/privacy}","received_events_url":"https://api.github.com/users/williewheeler/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bmuschko/gradle-tomcat-plugin/labels/Documentation","name":"Documentation","color":"0b02e1"}],"state":"closed","locked":false,"assignee":{"login":"bmuschko","id":440872,"avatar_url":"https://avatars.githubusercontent.com/u/440872?v=3","gravatar_id":"","url":"https://api.github.com/users/bmuschko","html_url":"https://github.com/bmuschko","followers_url":"https://api.github.com/users/bmuschko/followers","following_url":"https://api.github.com/users/bmuschko/following{/other_user}","gists_url":"https://api.github.com/users/bmuschko/gists{/gist_id}","starred_url":"https://api.github.com/users/bmuschko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmuschko/subscriptions","organizations_url":"https://api.github.com/users/bmuschko/orgs","repos_url":"https://api.github.com/users/bmuschko/repos","events_url":"https://api.github.com/users/bmuschko/events{/privacy}","received_events_url":"https://api.github.com/users/bmuschko/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2013-02-28T17:50:30Z","updated_at":"2015-05-09T15:15:19Z","closed_at":"2015-05-09T15:15:19Z","body":"Tomcat and Jetty both support the ability to add directories, external to the WAR, to their runtime classpath. This allows us to adopt the best practice of building the WAR once and adapting it to environments through environment-specific configuration.\r\n\r\nSee stackoverflow.com/questions/15130617/how-can-i-use-externalized-configuration-files-with-the-gradle-tomcat-plugin/15138491 for more information.\r\n\r\nI was able to find a workaround that involves adding the external directory to the entire build script, which is fine by me, but probably the Tomcat plugin ought to support some way to target the plugin specifically.\r\n\r\nThanks for the help and for the useful plugin."}}