{"action":"created","issue":{"url":"https://api.github.com/repos/tomfaulhaber/autodoc/issues/21","repository_url":"https://api.github.com/repos/tomfaulhaber/autodoc","labels_url":"https://api.github.com/repos/tomfaulhaber/autodoc/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/tomfaulhaber/autodoc/issues/21/comments","events_url":"https://api.github.com/repos/tomfaulhaber/autodoc/issues/21/events","html_url":"https://github.com/tomfaulhaber/autodoc/issues/21","id":110888452,"number":21,"title":"When running autodoc against ClojureScript's source code, empty output is produced","user":{"login":"bensu","id":5066487,"avatar_url":"https://avatars.githubusercontent.com/u/5066487?v=3","gravatar_id":"","url":"https://api.github.com/users/bensu","html_url":"https://github.com/bensu","followers_url":"https://api.github.com/users/bensu/followers","following_url":"https://api.github.com/users/bensu/following{/other_user}","gists_url":"https://api.github.com/users/bensu/gists{/gist_id}","starred_url":"https://api.github.com/users/bensu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bensu/subscriptions","organizations_url":"https://api.github.com/users/bensu/orgs","repos_url":"https://api.github.com/users/bensu/repos","events_url":"https://api.github.com/users/bensu/events{/privacy}","received_events_url":"https://api.github.com/users/bensu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2015-10-11T23:21:01Z","updated_at":"2016-07-01T05:27:09Z","closed_at":null,"body":"Hi!\r\n\r\nI tried to run autodoc against Clojurescript like this:\r\n\r\n```sh\r\ncs clojurescript\r\njava -jar autodoc-0.9.0-standalone.jar --source-path=src\r\n```\r\nwhere ` autodoc-0.9.0-standalone.jar` was generated by checking out 09ea736 and running `lein uberjar`. I'm getting warnings about the source paths not being in the class path:\r\n\r\n```\r\n./src/main/cljs/cljs/js.clj: failed (ex = java.io.FileNotFoundException: Could not locate cljs/env__init.class or cljs/env.clj on classpath: )\r\n```\r\nI uploaded the results [here](http://bensu.github.io/clojurescript-docs/). What is weird is that even if it warns it failed to find the file, the docs are produced with the correct namespace Overview but without any vars.\r\n\r\nIf I then zoom in and make sure everything is in the classpath:\r\n\r\n```\r\ncd clojurescript/src/main/clojure\r\njava -jar ~/OpenSource/autodoc/target/autodoc-0.9.0-standalone.jar\r\n```\r\n\r\nautodoc throws no warnings but produces the same type of output (ns overview found but no vars) for the namespaces under `src/main/clojure`.\r\n\r\nAny idea on what could be causing autodoc to miss the vars?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/tomfaulhaber/autodoc/issues/comments/229856883","html_url":"https://github.com/tomfaulhaber/autodoc/issues/21#issuecomment-229856883","issue_url":"https://api.github.com/repos/tomfaulhaber/autodoc/issues/21","id":229856883,"user":{"login":"bensu","id":5066487,"avatar_url":"https://avatars.githubusercontent.com/u/5066487?v=3","gravatar_id":"","url":"https://api.github.com/users/bensu","html_url":"https://github.com/bensu","followers_url":"https://api.github.com/users/bensu/followers","following_url":"https://api.github.com/users/bensu/following{/other_user}","gists_url":"https://api.github.com/users/bensu/gists{/gist_id}","starred_url":"https://api.github.com/users/bensu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bensu/subscriptions","organizations_url":"https://api.github.com/users/bensu/orgs","repos_url":"https://api.github.com/users/bensu/repos","events_url":"https://api.github.com/users/bensu/events{/privacy}","received_events_url":"https://api.github.com/users/bensu/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T05:27:09Z","updated_at":"2016-07-01T05:27:09Z","body":"Hi Tom,\r\n\r\nIt was nice to meet you today! \r\n\r\nI tried to run`autodoc-1.1.0-standalone.jar` (built from 0f59e30) on ClojureScript's source code:\r\n\r\n```\r\njava -jar ~/OpenSource/autodoc/target/autodoc-1.1.0-standalone.jar  --source-path=src\r\n\r\nException in thread \"main\" java.lang.RuntimeException: EOF while reading\r\n\tat clojure.lang.Util.runtimeException(Util.java:221)\r\n\tat clojure.lang.LispReader.read(LispReader.java:246)\r\n\tat clojure.lang.LispReader.read(LispReader.java:196)\r\n\tat clojure.lang.LispReader.read(LispReader.java:190)\r\n\tat clojure.core$read.invoke(core.clj:3640)\r\n\tat clojure.core$read.invoke(core.clj:3638)\r\n\tat clojure.core$read.invoke(core.clj:3636)\r\n\tat clojure.core$read.invoke(core.clj:3634)\r\n\tat autodoc.collect_info_wrapper$do_collect$fn__1543.invoke(collect_info_wrapper.clj:87)\r\n\tat autodoc.collect_info_wrapper$do_collect.invoke(collect_info_wrapper.clj:86)\r\n\tat autodoc.autodoc$build_html.doInvoke(autodoc.clj:26)\r\n\tat clojure.lang.RestFn.invoke(RestFn.java:397)\r\n\tat clojure.lang.Var.invoke(Var.java:375)\r\n\tat clojure.lang.AFn.applyToHelper(AFn.java:152)\r\n\tat clojure.lang.Var.applyTo(Var.java:700)\r\n\tat clojure.core$apply.invoke(core.clj:630)\r\n\tat autodoc.autodoc$autodoc.doInvoke(autodoc.clj:102)\r\n\tat clojure.lang.RestFn.invoke(RestFn.java:425)\r\n\tat autodoc.autodoc$autodoc.invoke(autodoc.clj:76)\r\n\tat clojure.lang.AFn.applyToHelper(AFn.java:154)\r\n\tat clojure.lang.RestFn.applyTo(RestFn.java:132)\r\n\tat clojure.core$apply.invoke(core.clj:632)\r\n\tat autodoc.autodoc$_main.doInvoke(autodoc.clj:115)\r\n\tat clojure.lang.RestFn.applyTo(RestFn.java:137)\r\n\tat autodoc.autodoc.main(Unknown Source)\r\n```\r\n\r\nI'm having a hard time deciphering the error, but it might be related to the `/tmp/collect-123123.clj` file being empty. Am I missing something in the setup?"}}
{"actor":{"display_login":"bensu"}}