{"action":"created","issue":{"url":"https://api.github.com/repos/WASdev/ci.gradle/issues/141","repository_url":"https://api.github.com/repos/WASdev/ci.gradle","labels_url":"https://api.github.com/repos/WASdev/ci.gradle/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/WASdev/ci.gradle/issues/141/comments","events_url":"https://api.github.com/repos/WASdev/ci.gradle/issues/141/events","html_url":"https://github.com/WASdev/ci.gradle/issues/141","id":270446897,"number":141,"title":"duplicate webApplication configuration for loose application","user":{"login":"patricktiu","id":24280442,"avatar_url":"https://avatars1.githubusercontent.com/u/24280442?v=4","gravatar_id":"","url":"https://api.github.com/users/patricktiu","html_url":"https://github.com/patricktiu","followers_url":"https://api.github.com/users/patricktiu/followers","following_url":"https://api.github.com/users/patricktiu/following{/other_user}","gists_url":"https://api.github.com/users/patricktiu/gists{/gist_id}","starred_url":"https://api.github.com/users/patricktiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patricktiu/subscriptions","organizations_url":"https://api.github.com/users/patricktiu/orgs","repos_url":"https://api.github.com/users/patricktiu/repos","events_url":"https://api.github.com/users/patricktiu/events{/privacy}","received_events_url":"https://api.github.com/users/patricktiu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jjvilleg","id":25106194,"avatar_url":"https://avatars0.githubusercontent.com/u/25106194?v=4","gravatar_id":"","url":"https://api.github.com/users/jjvilleg","html_url":"https://github.com/jjvilleg","followers_url":"https://api.github.com/users/jjvilleg/followers","following_url":"https://api.github.com/users/jjvilleg/following{/other_user}","gists_url":"https://api.github.com/users/jjvilleg/gists{/gist_id}","starred_url":"https://api.github.com/users/jjvilleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjvilleg/subscriptions","organizations_url":"https://api.github.com/users/jjvilleg/orgs","repos_url":"https://api.github.com/users/jjvilleg/repos","events_url":"https://api.github.com/users/jjvilleg/events{/privacy}","received_events_url":"https://api.github.com/users/jjvilleg/received_events","type":"User","site_admin":false},"assignees":[{"login":"jjvilleg","id":25106194,"avatar_url":"https://avatars0.githubusercontent.com/u/25106194?v=4","gravatar_id":"","url":"https://api.github.com/users/jjvilleg","html_url":"https://github.com/jjvilleg","followers_url":"https://api.github.com/users/jjvilleg/followers","following_url":"https://api.github.com/users/jjvilleg/following{/other_user}","gists_url":"https://api.github.com/users/jjvilleg/gists{/gist_id}","starred_url":"https://api.github.com/users/jjvilleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjvilleg/subscriptions","organizations_url":"https://api.github.com/users/jjvilleg/orgs","repos_url":"https://api.github.com/users/jjvilleg/repos","events_url":"https://api.github.com/users/jjvilleg/events{/privacy}","received_events_url":"https://api.github.com/users/jjvilleg/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-11-01T20:47:06Z","updated_at":"2017-11-02T21:33:27Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Steps to reproduce the problem\r\n\r\n1. `git clone https://github.com/WASdev/sample.servlet.git`\r\n2. update war and liberty configuration in the build.gradle file \r\n```\r\n//war {\r\n//    archiveName = baseName + '.' + extension\r\n//}\r\n\r\nliberty {\r\n    server {\r\n        bootstrapProperties = ['default.http.port': testServerHttpPort,\r\n                               'default.https.port': testServerHttpsPort,\r\n                               'appLocation': \"${rootProject.name}-${version}.war\",\r\n                               'appContext': warContext]\r\n        name = wlpServerName\r\n        apps = [war]\r\n        stripVersion = false\r\n    }\r\n}\r\n```\r\n3. build the project and check `build/wlp/usr/servers/LibertyProjectServer/configDropins/configDropins/defaults` directory.\r\n\r\nI guess the issue is caused by setting `stripVersion=false` \r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/WASdev/ci.gradle/issues/comments/341564875","html_url":"https://github.com/WASdev/ci.gradle/issues/141#issuecomment-341564875","issue_url":"https://api.github.com/repos/WASdev/ci.gradle/issues/141","id":341564875,"user":{"login":"jjvilleg","id":25106194,"avatar_url":"https://avatars0.githubusercontent.com/u/25106194?v=4","gravatar_id":"","url":"https://api.github.com/users/jjvilleg","html_url":"https://github.com/jjvilleg","followers_url":"https://api.github.com/users/jjvilleg/followers","following_url":"https://api.github.com/users/jjvilleg/following{/other_user}","gists_url":"https://api.github.com/users/jjvilleg/gists{/gist_id}","starred_url":"https://api.github.com/users/jjvilleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjvilleg/subscriptions","organizations_url":"https://api.github.com/users/jjvilleg/orgs","repos_url":"https://api.github.com/users/jjvilleg/repos","events_url":"https://api.github.com/users/jjvilleg/events{/privacy}","received_events_url":"https://api.github.com/users/jjvilleg/received_events","type":"User","site_admin":false},"created_at":"2017-11-02T21:33:27Z","updated_at":"2017-11-02T21:33:27Z","author_association":"CONTRIBUTOR","body":"The id attribute is set by whatever war.basename ends up being. The war plugin usually defaults to rootProject.name if it isn't set in the build.gradle file. "}}
{"actor":{"display_login":"jjvilleg"}}