cemerick / austin

The ClojureScript browser-REPL rebuilt stronger, faster, easier.
510 stars 31 forks source link

tools.logging aot issue #69

Closed kul closed 9 years ago

kul commented 9 years ago

This is a weird issue! I am not sure everyone can reproduce but if i use autin in a project, tool.logging's impl records do not get compiled! causing a failure in even require or use. i.e. java.lang.NoClassDefFoundError: clojure/tools/logging/impl/LoggerFactory. Now just comment the plugins line and everything works.

(defproject bug "0.1.0-SNAPSHOT"
  :description "FIXME: write description"
  :url "http://example.com/FIXME"
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}
  :dependencies [[org.clojure/clojure "1.5.1"]
                 [org.clojure/tools.logging "0.3.1"]]
  :plugins [[com.cemerick/austin "0.1.5"]]
  :aot [bug.core])
(ns bug.core
  (:require [clojure.tools.logging :as log]))

(defn -main []
  (log/info "foo"))
Bronsa commented 9 years ago

Might be related to https://github.com/cemerick/austin/issues/23

cemerick commented 9 years ago

Yup, same issue. @kul, please track #23, and its upstream cause.