{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"closed","user":{"avatar_url":"https://secure.gravatar.com/avatar/39f90a6c0ffe4995fb9dff4fb6b6bad6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"39f90a6c0ffe4995fb9dff4fb6b6bad6","url":"https://api.github.com/users/kumarshantanu","login":"kumarshantanu","id":109792},"milestone":null,"assignee":null,"labels":[],"updated_at":"2011-11-10T21:42:48Z","comments":3,"closed_at":"2011-11-10T21:42:48Z","url":"https://api.github.com/repos/technomancy/leiningen/issues/249","body":"When I have Java source files in my project and I specify a Java class (filename Foo.java) to be the :main class, it is not detected. The exception I get is:\r\n\r\n    Exception in thread \"main\" java.io.FileNotFoundException: Could not locate Foo__init.class or Foo.clj on classpath:  (NO_SOURCE_FILE:1)\r\n\r\n\\<exception-trace snipped\\>\r\n\r\nI believe :main should not only look for a .clj or an AOTed .clj file, but also a .class file that is compiled from a Java source file. This will enable me to use Leiningen as a build tool for Java.","html_url":"https://github.com/technomancy/leiningen/issues/249","title":":main does not consider Java .class files","number":249,"id":1346181,"created_at":"2011-08-04T18:05:45Z"},"action":"closed"}