{"action":"created","issue":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/5357","repository_url":"https://api.github.com/repos/HaxeFoundation/haxe","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/5357/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/5357/comments","events_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/5357/events","html_url":"https://github.com/HaxeFoundation/haxe/issues/5357","id":159495237,"number":5357,"title":"Problem with class exclude macros and compilation server","user":{"login":"jcward","id":2192439,"avatar_url":"https://avatars.githubusercontent.com/u/2192439?v=3","gravatar_id":"","url":"https://api.github.com/users/jcward","html_url":"https://github.com/jcward","followers_url":"https://api.github.com/users/jcward/followers","following_url":"https://api.github.com/users/jcward/following{/other_user}","gists_url":"https://api.github.com/users/jcward/gists{/gist_id}","starred_url":"https://api.github.com/users/jcward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcward/subscriptions","organizations_url":"https://api.github.com/users/jcward/orgs","repos_url":"https://api.github.com/users/jcward/repos","events_url":"https://api.github.com/users/jcward/events{/privacy}","received_events_url":"https://api.github.com/users/jcward/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-09T20:01:21Z","updated_at":"2016-06-09T21:36:03Z","closed_at":null,"body":"I'm working on a Haxe/JS modular build system that makes heavy use of the class exclusion macros in `haxe.macro.Compiler`. When I try to use the compilation server with this build system, classes are missing from the output.\r\n\r\nI have a simplified testcase with a more detailed description here: https://github.com/jcward/haxe_server_exclude_test\r\n\r\nThe test is very simple and there's a difference in output between `haxe build.hxml` (no server) and `haxe --connect 6000 build.hxml` (using a server), so hopefully it can help identify the issue.\r\n\r\nLooking forward to faster builds, thanks!"},"comment":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/comments/225034204","html_url":"https://github.com/HaxeFoundation/haxe/issues/5357#issuecomment-225034204","issue_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/5357","id":225034204,"user":{"login":"ncannasse","id":1022912,"avatar_url":"https://avatars.githubusercontent.com/u/1022912?v=3","gravatar_id":"","url":"https://api.github.com/users/ncannasse","html_url":"https://github.com/ncannasse","followers_url":"https://api.github.com/users/ncannasse/followers","following_url":"https://api.github.com/users/ncannasse/following{/other_user}","gists_url":"https://api.github.com/users/ncannasse/gists{/gist_id}","starred_url":"https://api.github.com/users/ncannasse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncannasse/subscriptions","organizations_url":"https://api.github.com/users/ncannasse/orgs","repos_url":"https://api.github.com/users/ncannasse/repos","events_url":"https://api.github.com/users/ncannasse/events{/privacy}","received_events_url":"https://api.github.com/users/ncannasse/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T21:36:03Z","updated_at":"2016-06-09T21:36:03Z","body":"The problem might be that you're reusing the same compilation context because the compilation parameters are the same, but they end up giving different results depending if the class is ignored or not. Adding a specific define for each compilation step should do the work."}}
{"actor":{"display_login":"ncannasse"}}