{"action":"created","issue":{"url":"https://api.github.com/repos/rebar/rebar3/issues/607","labels_url":"https://api.github.com/repos/rebar/rebar3/issues/607/labels{/name}","comments_url":"https://api.github.com/repos/rebar/rebar3/issues/607/comments","events_url":"https://api.github.com/repos/rebar/rebar3/issues/607/events","html_url":"https://github.com/rebar/rebar3/issues/607","id":94366744,"number":607,"title":"Config files are not copied to release dir on Windows 7","user":{"login":"carlosedp","id":20382,"avatar_url":"https://avatars.githubusercontent.com/u/20382?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosedp","html_url":"https://github.com/carlosedp","followers_url":"https://api.github.com/users/carlosedp/followers","following_url":"https://api.github.com/users/carlosedp/following{/other_user}","gists_url":"https://api.github.com/users/carlosedp/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosedp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosedp/subscriptions","organizations_url":"https://api.github.com/users/carlosedp/orgs","repos_url":"https://api.github.com/users/carlosedp/repos","events_url":"https://api.github.com/users/carlosedp/events{/privacy}","received_events_url":"https://api.github.com/users/carlosedp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rebar/rebar3/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/rebar/rebar3/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/rebar/rebar3/labels/Windows","name":"Windows","color":"3366CC"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-10T18:40:47Z","updated_at":"2015-07-22T15:15:47Z","closed_at":"2015-07-22T15:15:47Z","body":"On Windows, when I build a release the `vm.ars` and `sys.config` files are not copied/linked in the release. They are configured on rebar.conf:\r\n```\r\n        {sys_config, \".\\config\\sys.config\"},\r\n        {vm_args, \".\\config\\vm.args\"},\r\n```\r\nBut they are not copied to the `_build/default/rel ` directory:\r\n```\r\n_build/default/rel\r\n_build/default/rel/dccaserver\r\n_build/default/rel/dccaserver/bin\r\n_build/default/rel/dccaserver/bin/dccaserver-0.1.0.cmd\r\n_build/default/rel/dccaserver/bin/dccaserver.cmd\r\n_build/default/rel/dccaserver/bin/install_upgrade.escript\r\n_build/default/rel/dccaserver/bin/nodetool\r\n_build/default/rel/dccaserver/bin/start_clean.boot\r\n_build/default/rel/dccaserver/lib\r\n_build/default/rel/dccaserver/lib/dccaserver-1\r\n_build/default/rel/dccaserver/lib/goldrush-0.1.6\r\n_build/default/rel/dccaserver/lib/lager-2.1.1\r\n_build/default/rel/dccaserver/lib/ocsgateway-1\r\n_build/default/rel/dccaserver/releases\r\n_build/default/rel/dccaserver/releases/0.1.0\r\n_build/default/rel/dccaserver/releases/0.1.0/dccaserver.boot\r\n_build/default/rel/dccaserver/releases/0.1.0/dccaserver.rel\r\n_build/default/rel/dccaserver/releases/0.1.0/dccaserver.script\r\n_build/default/rel/dccaserver/releases/RELEASES\r\n_build/default/rel/dccaserver/releases/start_erl.data\r\n```\r\nWhen I run i see this error:\r\n\r\n```\r\nE:\\cygwin17\\home\\cpaula\\projects\\dccaserver>_build\\default\\rel\\dccaserver\\bin\\dccaserver.cmd console\r\nFINDSTR: Cannot open E:\\cygwin17\\home\\cpaula\\projects\\dccaserver\\_build\\default\\rel\\dccaserver\\releases\\0.1.0\\vm.args\r\nFINDSTR: Cannot open E:\\cygwin17\\home\\cpaula\\projects\\dccaserver\\_build\\default\\rel\\dccaserver\\releases\\0.1.0\\vm.args\r\n```\r\n\r\nI tried to copy the files manually but I see another problem:\r\n\r\n\"init terminating in do_boot (cannot expand $ERTS_LIB_DIR in bootfile)\"\r\n\r\n![untitled](https://cloud.githubusercontent.com/assets/20382/8626140/51cbc9e2-2719-11e5-91e8-5d7017244e30.png)\r\n\r\nMy project can be seen on: https://github.com/carlosedp/dcca-server-OTP"},"comment":{"url":"https://api.github.com/repos/rebar/rebar3/issues/comments/123755097","html_url":"https://github.com/rebar/rebar3/issues/607#issuecomment-123755097","issue_url":"https://api.github.com/repos/rebar/rebar3/issues/607","id":123755097,"user":{"login":"carlosedp","id":20382,"avatar_url":"https://avatars.githubusercontent.com/u/20382?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosedp","html_url":"https://github.com/carlosedp","followers_url":"https://api.github.com/users/carlosedp/followers","following_url":"https://api.github.com/users/carlosedp/following{/other_user}","gists_url":"https://api.github.com/users/carlosedp/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosedp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosedp/subscriptions","organizations_url":"https://api.github.com/users/carlosedp/orgs","repos_url":"https://api.github.com/users/carlosedp/repos","events_url":"https://api.github.com/users/carlosedp/events{/privacy}","received_events_url":"https://api.github.com/users/carlosedp/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T15:15:47Z","updated_at":"2015-07-22T15:15:47Z","body":"This problem was related to a plugin changing CWD. After fixing the problem on the plugin the files are copied correctly.\r\nSorry for the mess."}}