{"action":"created","issue":{"url":"https://api.github.com/repos/pantsbuild/jarjar/issues/23","repository_url":"https://api.github.com/repos/pantsbuild/jarjar","labels_url":"https://api.github.com/repos/pantsbuild/jarjar/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/pantsbuild/jarjar/issues/23/comments","events_url":"https://api.github.com/repos/pantsbuild/jarjar/issues/23/events","html_url":"https://github.com/pantsbuild/jarjar/issues/23","id":181621983,"number":23,"title":"Zap handling of ClassName contains '$'","user":{"login":"cmeng-git","id":7959606,"avatar_url":"https://avatars.githubusercontent.com/u/7959606?v=3","gravatar_id":"","url":"https://api.github.com/users/cmeng-git","html_url":"https://github.com/cmeng-git","followers_url":"https://api.github.com/users/cmeng-git/followers","following_url":"https://api.github.com/users/cmeng-git/following{/other_user}","gists_url":"https://api.github.com/users/cmeng-git/gists{/gist_id}","starred_url":"https://api.github.com/users/cmeng-git/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmeng-git/subscriptions","organizations_url":"https://api.github.com/users/cmeng-git/orgs","repos_url":"https://api.github.com/users/cmeng-git/repos","events_url":"https://api.github.com/users/cmeng-git/events{/privacy}","received_events_url":"https://api.github.com/users/cmeng-git/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-07T09:24:44Z","updated_at":"2016-10-08T02:22:02Z","closed_at":"2016-10-07T15:56:34Z","body":"How to zap a jar package with classname containing '$' as shown below\r\norg.example.XMPPTCPConnection$1.class \r\norg.example.XMPPTCPConnection$2.class\r\norg.example.XMPPTCPConnection$3.class \r\norg.example.XMPPTCPConnection$PacketReader$1.class\r\n\r\nBut need to keep org.example.XMPPTCPConnectionConfiguration.class\r\n\r\nzap  pattern: \"org.example.XMPPTCPConnection$\\*\\*\" does not work\r\nzap  pattern: \"org.example.XMPPTCPConnection\\*\\*\" removes all  including org.example.XMPPTCPConnectionConfiguration.class\r\n\r\nAppreciate any help"},"comment":{"url":"https://api.github.com/repos/pantsbuild/jarjar/issues/comments/252396790","html_url":"https://github.com/pantsbuild/jarjar/issues/23#issuecomment-252396790","issue_url":"https://api.github.com/repos/pantsbuild/jarjar/issues/23","id":252396790,"user":{"login":"cmeng-git","id":7959606,"avatar_url":"https://avatars.githubusercontent.com/u/7959606?v=3","gravatar_id":"","url":"https://api.github.com/users/cmeng-git","html_url":"https://github.com/cmeng-git","followers_url":"https://api.github.com/users/cmeng-git/followers","following_url":"https://api.github.com/users/cmeng-git/following{/other_user}","gists_url":"https://api.github.com/users/cmeng-git/gists{/gist_id}","starred_url":"https://api.github.com/users/cmeng-git/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmeng-git/subscriptions","organizations_url":"https://api.github.com/users/cmeng-git/orgs","repos_url":"https://api.github.com/users/cmeng-git/repos","events_url":"https://api.github.com/users/cmeng-git/events{/privacy}","received_events_url":"https://api.github.com/users/cmeng-git/received_events","type":"User","site_admin":false},"created_at":"2016-10-08T02:22:02Z","updated_at":"2016-10-08T02:22:02Z","body":"Many thanks.\r\n\r\nMethod #1 does not work, as it seems jarjar treats '$' as special and ignores it even I escape with \\.\r\nI did thought of method #2 but decided not to use it  as it makes build code messy.\r\n\r\nTo solve the problem, currently I just zap all the unwanted classes in the original jar package.\r\nI hope someone in the community knows a way to do it in a cleaner way.\r\n\r\nThanks again for the proposal\r\n"}}
{"actor":{"display_login":"cmeng-git"}}