{"action":"created","issue":{"url":"https://api.github.com/repos/xebialabs-community/gradle-xld-plugin/issues/4","labels_url":"https://api.github.com/repos/xebialabs-community/gradle-xld-plugin/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/xebialabs-community/gradle-xld-plugin/issues/4/comments","events_url":"https://api.github.com/repos/xebialabs-community/gradle-xld-plugin/issues/4/events","html_url":"https://github.com/xebialabs-community/gradle-xld-plugin/issues/4","id":71858157,"number":4,"title":"Failed to import dar package","user":{"login":"fowlie","id":1149517,"avatar_url":"https://avatars.githubusercontent.com/u/1149517?v=3","gravatar_id":"","url":"https://api.github.com/users/fowlie","html_url":"https://github.com/fowlie","followers_url":"https://api.github.com/users/fowlie/followers","following_url":"https://api.github.com/users/fowlie/following{/other_user}","gists_url":"https://api.github.com/users/fowlie/gists{/gist_id}","starred_url":"https://api.github.com/users/fowlie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fowlie/subscriptions","organizations_url":"https://api.github.com/users/fowlie/orgs","repos_url":"https://api.github.com/users/fowlie/repos","events_url":"https://api.github.com/users/fowlie/events{/privacy}","received_events_url":"https://api.github.com/users/fowlie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-29T12:15:21Z","updated_at":"2015-06-14T20:16:15Z","closed_at":"2015-06-14T20:16:15Z","body":"Hi.\r\n\r\nWe are using the maven plugin to create dar packages and to import them into XL Deploy 4.5.3. This plugin creates a dar package with all our war files in a flat-structured way.\r\n\r\nI tried this plugin and it looks very promising, but I'm getting an error when the plugin tries to import the dar package: \r\n```java\r\ncom.xebialabs.deployit.exception.RuntimeIOException: The file artifacts\\webshop-animal\\build\\libs/webshop-animal.war could not be found in the package.\r\n```\r\nAll the war files are like you can see, wrapped into artifacts\\<module_name>\\build\\libs/<module_name>.war. The path is correct and the war file exists in the dar package. I guess it could be the forward slash at the end? Any ideas?\r\n\r\nPS, We use a multi-project gradle setup, and the manifest file looks like this (truncated):\r\n```xml\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<udm.DeploymentPackage version=\"${project.property('xldeploy-version')}\" application=\"webshop-deployit-bundle\">\r\n    <deployables>\r\n        <was.War name=\"webshop-animal\" file=\"${artifact(project.findProject('webshop-animal').war)}\">\r\n            <excludeFileNamesRegex>.+\\\\.(jar)</excludeFileNamesRegex>\r\n            <scanPlaceholders>true</scanPlaceholders>\r\n            <contextRoot>/webshop-animal</contextRoot>\r\n            <virtualHostName>intranet_host</virtualHostName>\r\n            <classloaderMode>PARENT_LAST</classloaderMode>\r\n            <warClassloaderMode>PARENT_LAST</warClassloaderMode>\r\n        </was.War>\r\n    </deployables>\r\n</udm.DeploymentPackage>\r\n```"},"comment":{"url":"https://api.github.com/repos/xebialabs-community/gradle-xld-plugin/issues/comments/111872540","html_url":"https://github.com/xebialabs-community/gradle-xld-plugin/issues/4#issuecomment-111872540","issue_url":"https://api.github.com/repos/xebialabs-community/gradle-xld-plugin/issues/4","id":111872540,"user":{"login":"byaminov","id":1422793,"avatar_url":"https://avatars.githubusercontent.com/u/1422793?v=3","gravatar_id":"","url":"https://api.github.com/users/byaminov","html_url":"https://github.com/byaminov","followers_url":"https://api.github.com/users/byaminov/followers","following_url":"https://api.github.com/users/byaminov/following{/other_user}","gists_url":"https://api.github.com/users/byaminov/gists{/gist_id}","starred_url":"https://api.github.com/users/byaminov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/byaminov/subscriptions","organizations_url":"https://api.github.com/users/byaminov/orgs","repos_url":"https://api.github.com/users/byaminov/repos","events_url":"https://api.github.com/users/byaminov/events{/privacy}","received_events_url":"https://api.github.com/users/byaminov/received_events","type":"User","site_admin":false},"created_at":"2015-06-14T20:16:15Z","updated_at":"2015-06-14T20:16:15Z","body":"@fowlie I fixed the bug with Windows paths and released a new version: [0.2.2](https://plugins.gradle.org/plugin/com.xebialabs.xl-deploy/0.2.2). Please let me know if this does not fix your issue!"}}