{"action":"created","issue":{"url":"https://api.github.com/repos/bmc/sbt-izpack/issues/8","labels_url":"https://api.github.com/repos/bmc/sbt-izpack/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/bmc/sbt-izpack/issues/8/comments","events_url":"https://api.github.com/repos/bmc/sbt-izpack/issues/8/events","html_url":"https://github.com/bmc/sbt-izpack/issues/8","id":53855841,"number":8,"title":"I miss the fileset/@dir attribute","user":{"login":"DavidPerezIngeniero","id":6008104,"avatar_url":"https://avatars.githubusercontent.com/u/6008104?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidPerezIngeniero","html_url":"https://github.com/DavidPerezIngeniero","followers_url":"https://api.github.com/users/DavidPerezIngeniero/followers","following_url":"https://api.github.com/users/DavidPerezIngeniero/following{/other_user}","gists_url":"https://api.github.com/users/DavidPerezIngeniero/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidPerezIngeniero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidPerezIngeniero/subscriptions","organizations_url":"https://api.github.com/users/DavidPerezIngeniero/orgs","repos_url":"https://api.github.com/users/DavidPerezIngeniero/repos","events_url":"https://api.github.com/users/DavidPerezIngeniero/events{/privacy}","received_events_url":"https://api.github.com/users/DavidPerezIngeniero/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-09T10:52:57Z","updated_at":"2015-01-09T14:39:44Z","closed_at":null,"body":"I need to specify a base directory for reading resources.\r\n\r\ne.g.:\r\nFrom directory `/home/d/project/a/b`, I need to copy the folder \"c\" to `$INSTALL_PATH/d/`, except the `c/e`.\r\nIn IzPack XML it's very easy to do so:\r\n\r\n    <fileset dir='/home/d/project/a/b' includes='c' targetdir='$INSTALL_PATH/d/'>\r\n       <include name='c/**'/>\r\n       <exclude name=\"e\"/>\r\n    </fileset>\r\n\r\nA need a base directory for referencing nested `exclude`s and `include`s.\r\nThe provided syntax can be clumsy, when you have to specify a lot of includes and excludes.\r\n\r\n    fileset:\r\n       includes: /home/d/project/a/b/**\r\n       excludes:  /home/d/project/a/b/e/**\r\n\r\ninstead of:\r\n\r\n    fileset:\r\n       dir:  /home/d/project/a\r\n       includes: b/**\r\n       excludes:  e/**\r\n\r\nHow can I do it with `sbt-izpack`?"},"comment":{"url":"https://api.github.com/repos/bmc/sbt-izpack/issues/comments/69341866","html_url":"https://github.com/bmc/sbt-izpack/issues/8#issuecomment-69341866","issue_url":"https://api.github.com/repos/bmc/sbt-izpack/issues/8","id":69341866,"user":{"login":"bmc","id":23894,"avatar_url":"https://avatars.githubusercontent.com/u/23894?v=3","gravatar_id":"","url":"https://api.github.com/users/bmc","html_url":"https://github.com/bmc","followers_url":"https://api.github.com/users/bmc/followers","following_url":"https://api.github.com/users/bmc/following{/other_user}","gists_url":"https://api.github.com/users/bmc/gists{/gist_id}","starred_url":"https://api.github.com/users/bmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmc/subscriptions","organizations_url":"https://api.github.com/users/bmc/orgs","repos_url":"https://api.github.com/users/bmc/repos","events_url":"https://api.github.com/users/bmc/events{/privacy}","received_events_url":"https://api.github.com/users/bmc/received_events","type":"User","site_admin":false},"created_at":"2015-01-09T14:39:44Z","updated_at":"2015-01-09T14:39:44Z","body":"Also, take a look at this example file, which I use for testing: https://github.com/bmc/sbt-izpack/blob/master/src/testproj/src/install.yml"}}