{"action":"created","issue":{"url":"https://api.github.com/repos/noseglid/atom-build/issues/61","labels_url":"https://api.github.com/repos/noseglid/atom-build/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/noseglid/atom-build/issues/61/comments","events_url":"https://api.github.com/repos/noseglid/atom-build/issues/61/events","html_url":"https://github.com/noseglid/atom-build/issues/61","id":71078450,"number":61,"title":"Problem to make errorMatch work","user":{"login":"mthcrts","id":8081436,"avatar_url":"https://avatars.githubusercontent.com/u/8081436?v=3","gravatar_id":"","url":"https://api.github.com/users/mthcrts","html_url":"https://github.com/mthcrts","followers_url":"https://api.github.com/users/mthcrts/followers","following_url":"https://api.github.com/users/mthcrts/following{/other_user}","gists_url":"https://api.github.com/users/mthcrts/gists{/gist_id}","starred_url":"https://api.github.com/users/mthcrts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mthcrts/subscriptions","organizations_url":"https://api.github.com/users/mthcrts/orgs","repos_url":"https://api.github.com/users/mthcrts/repos","events_url":"https://api.github.com/users/mthcrts/events{/privacy}","received_events_url":"https://api.github.com/users/mthcrts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-26T14:49:57Z","updated_at":"2015-04-27T20:56:05Z","closed_at":null,"body":"Hello,\r\n\r\nI'd like to open the source file in fault when an error occurred.\r\nIt does not work and I don't know how to check if my regexp matches nothing or wrong file names...\r\nPlease help!\r\n\r\nExample of output:\r\n\r\n    Executing with sh: ./waf  install\r\n    Waf: Entering directory `/home/mc/dev/codeaster/src/build/release'\r\n    [7558/7743] c: bibc/supervis/aster_core_module.c -> build/release/bibc/supervis/aster_core_module.c.1.o\r\n    ../../bibc/supervis/aster_core_module.c: In function ‘cheksd_’:\r\n    ../../bibc/supervis/aster_core_module.c:561:4: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘res’\r\n        res = PyObject_CallMethod(get_sh_pymod(), \"checksd\", \"s#s#\", nomsd, lnom, typsd, ltyp);\r\n\r\nContent of my `.atom-build.json`:\r\n\r\n    {\r\n      \"cmd\": \"./waf\",\r\n      \"args\": [\"install\"],\r\n      \"sh\": true,\r\n      \"cwd\": \"{PROJECT_PATH}\",\r\n      \"env\": {\r\n      },\r\n      \"errorMatch\": \"^\\\\.\\\\./\\\\.\\\\./(?<file>.*.c):(?<line>\\\\d+):(?<col>\\\\d+):\"\r\n    }\r\n\r\nWhen it will work I will send a PR for a `lib/tools/waf.js`.\r\n\r\nThanks in advance!"},"comment":{"url":"https://api.github.com/repos/noseglid/atom-build/issues/comments/96817179","html_url":"https://github.com/noseglid/atom-build/issues/61#issuecomment-96817179","issue_url":"https://api.github.com/repos/noseglid/atom-build/issues/61","id":96817179,"user":{"login":"mthcrts","id":8081436,"avatar_url":"https://avatars.githubusercontent.com/u/8081436?v=3","gravatar_id":"","url":"https://api.github.com/users/mthcrts","html_url":"https://github.com/mthcrts","followers_url":"https://api.github.com/users/mthcrts/followers","following_url":"https://api.github.com/users/mthcrts/following{/other_user}","gists_url":"https://api.github.com/users/mthcrts/gists{/gist_id}","starred_url":"https://api.github.com/users/mthcrts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mthcrts/subscriptions","organizations_url":"https://api.github.com/users/mthcrts/orgs","repos_url":"https://api.github.com/users/mthcrts/repos","events_url":"https://api.github.com/users/mthcrts/events{/privacy}","received_events_url":"https://api.github.com/users/mthcrts/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T20:56:05Z","updated_at":"2015-04-27T20:56:05Z","body":"The path is relative to the project directory :\r\n- the source file is : `bibc/supervis/aster_core_module.c`\r\n- the build directory is : `build/release/`, that's why the message starts with `../../bibc/xxx`.\r\nAny idea?"}}