{"action":"created","issue":{"url":"https://api.github.com/repos/magnars/prone/issues/21","labels_url":"https://api.github.com/repos/magnars/prone/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/magnars/prone/issues/21/comments","events_url":"https://api.github.com/repos/magnars/prone/issues/21/events","html_url":"https://github.com/magnars/prone/issues/21","id":55875191,"number":21,"title":"prone ships with generated cljs+other sources","user":{"login":"thheller","id":144930,"avatar_url":"https://avatars.githubusercontent.com/u/144930?v=3","gravatar_id":"","url":"https://api.github.com/users/thheller","html_url":"https://github.com/thheller","followers_url":"https://api.github.com/users/thheller/followers","following_url":"https://api.github.com/users/thheller/following{/other_user}","gists_url":"https://api.github.com/users/thheller/gists{/gist_id}","starred_url":"https://api.github.com/users/thheller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thheller/subscriptions","organizations_url":"https://api.github.com/users/thheller/orgs","repos_url":"https://api.github.com/users/thheller/repos","events_url":"https://api.github.com/users/thheller/events{/privacy}","received_events_url":"https://api.github.com/users/thheller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-29T09:22:57Z","updated_at":"2015-01-29T11:51:25Z","closed_at":null,"body":"The ```[prone 0.8.0]``` .jar contains a whole lot of .cljs and .js files that are not required for its operation and confuse the cljs compiler when prone is used as a dependency.\r\n\r\nSmall excerpt:\r\n\r\n```\r\n    0 Fri Oct 17 20:49:20 CEST 2014 prone/generated/\r\n     0 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/\r\n     0 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/cljs/\r\n     0 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/cljs/core/\r\n     0 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/cljs/core/async/\r\n     0 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/cljs/core/async/impl/\r\n  3502 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/cljs/core/async/impl/buffers.cljs\r\n  9775 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/cljs/core/async/impl/buffers.js\r\n  7151 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/cljs/core/async/impl/channels.cljs\r\n 17470 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/cljs/core/async/impl/channels.js\r\n  1214 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/cljs/core/async/impl/dispatch.cljs\r\n  2537 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/cljs/core/async/impl/dispatch.js\r\n  4958 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/cljs/core/async/impl/ioc_helpers.cljs\r\n 26286 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/cljs/core/async/impl/ioc_helpers.js\r\n  1434 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/cljs/core/async/impl/protocols.cljs\r\n  8879 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/cljs/core/async/impl/protocols.js\r\n  5471 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/cljs/core/async/impl/timers.cljs\r\n 11596 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/cljs/core/async/impl/timers.js\r\n 29134 Fri Oct 17 20:49:30 CEST 2014 prone/generated/out/cljs/core/async.cljs\r\n246316 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/cljs/core/async.js\r\n220793 Fri Oct 17 20:49:26 CEST 2014 prone/generated/out/cljs/core.cljs\r\n699075 Fri Oct 17 20:49:30 CEST 2014 prone/generated/out/cljs/core.js\r\n 18071 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/cljs/reader.cljs\r\n 37022 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/cljs/reader.js\r\n   179 Fri Oct 17 20:49:26 CEST 2014 prone/generated/out/cljs/user.js\r\n     0 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/clojure/\r\n     0 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/clojure/browser/\r\n  2950 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/clojure/browser/event.cljs\r\n  5915 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/clojure/browser/event.js\r\n  5382 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/clojure/browser/net.cljs\r\n 19084 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/clojure/browser/net.js\r\n  4204 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/clojure/browser/repl.cljs\r\n  6817 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/clojure/browser/repl.js\r\n  5140 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/clojure/string.cljs\r\n  7850 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/clojure/string.js\r\n  3311 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/clojure/walk.cljs\r\n  3906 Fri Oct 17 20:49:32 CEST 2014 prone/generated/out/clojure/walk.js\r\n```\r\n\r\nThe ```resources``` folder is included in the jar and all tools (```lein cljsbuild```, ```build-js-sources.sh```) are configured to put their output there. Those file should not be in a release jar though.\r\n\r\nShould be enough to have\r\n\r\n```\r\n2176452 Fri Oct 17 21:00:08 CEST 2014 prone/generated/prone.js\r\n2046841 Thu Aug 28 16:21:34 CEST 2014 prone/generated/prone.js.map\r\n```"},"comment":{"url":"https://api.github.com/repos/magnars/prone/issues/comments/72012240","html_url":"https://github.com/magnars/prone/issues/21#issuecomment-72012240","issue_url":"https://api.github.com/repos/magnars/prone/issues/21","id":72012240,"user":{"login":"andrewmcveigh","id":190363,"avatar_url":"https://avatars.githubusercontent.com/u/190363?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewmcveigh","html_url":"https://github.com/andrewmcveigh","followers_url":"https://api.github.com/users/andrewmcveigh/followers","following_url":"https://api.github.com/users/andrewmcveigh/following{/other_user}","gists_url":"https://api.github.com/users/andrewmcveigh/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewmcveigh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewmcveigh/subscriptions","organizations_url":"https://api.github.com/users/andrewmcveigh/orgs","repos_url":"https://api.github.com/users/andrewmcveigh/repos","events_url":"https://api.github.com/users/andrewmcveigh/events{/privacy}","received_events_url":"https://api.github.com/users/andrewmcveigh/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T11:51:25Z","updated_at":"2015-01-29T11:51:25Z","body":"Or, if I see correctly why you're compiling to `generated/out`, you could generate to `./dev-resources/generated/out`, and add `:resource-paths [\"dev-resources\" \"resources\"]` to the `:dev` profile."}}