{"action":"created","issue":{"url":"https://api.github.com/repos/remkop/picocli/issues/464","repository_url":"https://api.github.com/repos/remkop/picocli","labels_url":"https://api.github.com/repos/remkop/picocli/issues/464/labels{/name}","comments_url":"https://api.github.com/repos/remkop/picocli/issues/464/comments","events_url":"https://api.github.com/repos/remkop/picocli/issues/464/events","html_url":"https://github.com/remkop/picocli/issues/464","id":356725922,"node_id":"MDU6SXNzdWUzNTY3MjU5MjI=","number":464,"title":"Issues using Picocli as source file directly in project","user":{"login":"NicolasMassart","id":4677568,"node_id":"MDQ6VXNlcjQ2Nzc1Njg=","avatar_url":"https://avatars1.githubusercontent.com/u/4677568?v=4","gravatar_id":"","url":"https://api.github.com/users/NicolasMassart","html_url":"https://github.com/NicolasMassart","followers_url":"https://api.github.com/users/NicolasMassart/followers","following_url":"https://api.github.com/users/NicolasMassart/following{/other_user}","gists_url":"https://api.github.com/users/NicolasMassart/gists{/gist_id}","starred_url":"https://api.github.com/users/NicolasMassart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicolasMassart/subscriptions","organizations_url":"https://api.github.com/users/NicolasMassart/orgs","repos_url":"https://api.github.com/users/NicolasMassart/repos","events_url":"https://api.github.com/users/NicolasMassart/events{/privacy}","received_events_url":"https://api.github.com/users/NicolasMassart/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-04T09:27:38Z","updated_at":"2018-09-04T09:38:23Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I tried to copy Picocli directly in my project (for testing of a modification) but I had to include more than the CommandLine.java file : \r\n- The CommandLine makes references to AutoComplete in comments like `{@link AutoComplete}` which produces errors on my IDE and CI.\r\n- Picocli breaks rules on my Gradle build checks like the use of raw types `[rawtypes] found raw type` or redundant casts `[cast] redundant cast to T` and warnings are treated as errors in our checks...\r\n- I have a strange \r\n```\r\nerror: cannot find symbol\r\n                        ? Range.valueOf(\"\" + ((MethodParam) member.accessible).position)\r\n                                               ^\r\n  symbol:   class MethodParam\r\n  location: class Range\r\n```\r\n- My coding conventions are set to Google code style, and it reformats the code of the Picocli in a way that I can't even think of merging my modifications back to Picocli original project.\r\n- we have to create a picocli package or change packages in CommandLine file -> changing all imports.\r\n\r\nSo I did my modifications in the Picocli project (my clone) and built the JAR to include in my other project.\r\nI then asked myself, why as Picocli is intended to be used directly as a single source file ?\r\nWhat have I missed ?\r\nThanks."},"comment":{"url":"https://api.github.com/repos/remkop/picocli/issues/comments/418305134","html_url":"https://github.com/remkop/picocli/issues/464#issuecomment-418305134","issue_url":"https://api.github.com/repos/remkop/picocli/issues/464","id":418305134,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODMwNTEzNA==","user":{"login":"remkop","id":5917763,"node_id":"MDQ6VXNlcjU5MTc3NjM=","avatar_url":"https://avatars2.githubusercontent.com/u/5917763?v=4","gravatar_id":"","url":"https://api.github.com/users/remkop","html_url":"https://github.com/remkop","followers_url":"https://api.github.com/users/remkop/followers","following_url":"https://api.github.com/users/remkop/following{/other_user}","gists_url":"https://api.github.com/users/remkop/gists{/gist_id}","starred_url":"https://api.github.com/users/remkop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remkop/subscriptions","organizations_url":"https://api.github.com/users/remkop/orgs","repos_url":"https://api.github.com/users/remkop/repos","events_url":"https://api.github.com/users/remkop/events{/privacy}","received_events_url":"https://api.github.com/users/remkop/received_events","type":"User","site_admin":false},"created_at":"2018-09-04T09:38:23Z","updated_at":"2018-09-04T09:38:23Z","author_association":"OWNER","body":"Also, what Gradle config do you have to treat raw types and redundant cast warnings as errors?"}}
{"actor":{"display_login":"remkop"}}