{"issue":{"state":"closed","created_at":"2011-12-06T10:36:02Z","updated_at":"2011-12-06T12:39:55Z","user":{"gravatar_id":"d8654f034e8f881ff8c5ee34c7b863cb","id":54207,"url":"https://api.github.com/users/jesseeichar","login":"jesseeichar","avatar_url":"https://secure.gravatar.com/avatar/d8654f034e8f881ff8c5ee34c7b863cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":1,"body":"See http://issues.gradle.org/browse/GRADLE-1178.\r\n\r\nI am aware that in war you can add extra files using the from option.  However JettyRun does not take the from files into account.  \r\n\r\nI have considered trying to use the from files to build a jetty ResourceCollection but ResourceCollections only accept directories.  Since from can have files (and normally does) it is not a good candidate for additional webapp resources (with respect to Jetty).  \r\n\r\nSo to address this I have added a new property for adding additional directories to a war (and JettyRun).\r\n\r\nIn summary, in this pull request I have done the following things:\r\n * Added option additionalWebAppDirs in the WarPluginConvention object\r\n * Added option additionalWebAppDirs to JettyRun\r\n * Added documentation for new option in the DSL documentation\r\n * Added JettyRun documentation for ScanIntervalSeconds, ScanTargets, ScanTargetPattern, reload\r\n * updated subprojects/docs/src/samples/webApplication/customised project so that the project has some extra customisations, (the ones documented above)\r\n\r\n\r\n","assignee":null,"id":2460775,"pull_request":{"patch_url":"https://github.com/gradle/gradle/pull/54.patch","html_url":"https://github.com/gradle/gradle/pull/54","diff_url":"https://github.com/gradle/gradle/pull/54.diff"},"labels":[],"number":54,"title":"New War and JettyRun additionalWebAppDirs option","html_url":"https://github.com/gradle/gradle/issues/54","closed_at":"2011-12-06T12:39:55Z","url":"https://api.github.com/repos/gradle/gradle/issues/54","milestone":null},"action":"created","comment":{"created_at":"2011-12-06T12:39:55Z","updated_at":"2011-12-06T12:39:55Z","user":{"gravatar_id":"d8654f034e8f881ff8c5ee34c7b863cb","id":54207,"url":"https://api.github.com/users/jesseeichar","login":"jesseeichar","avatar_url":"https://secure.gravatar.com/avatar/d8654f034e8f881ff8c5ee34c7b863cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"I updated to the latest code and it seems broken in some cases.  I will make a new request soon","id":3031693,"url":"https://api.github.com/repos/gradle/gradle/issues/comments/3031693"}}