jaceklaskowski / librarian-clojure

Book manager in Clojure
http://librarian-clojure.herokuapp.com/
22 stars 4 forks source link

Fix Reflection warnings while 'git push heroku' #27

Closed jaceklaskowski closed 11 years ago

jaceklaskowski commented 11 years ago
jacek:~/oss/librarian-clojure
$ git push heroku
Counting objects: 19, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (9/9), done.
Writing objects: 100% (10/10), 10.26 KiB, done.
Total 10 (delta 5), reused 0 (delta 0)

-----> Heroku receiving push
-----> Clojure (Leiningen 2) app detected
-----> Using cached Leiningen 2.0.0-preview10
       Writing: lein script
-----> Building with Leiningen
       Running: lein with-profile production compile :all
       Could not find metadata lein-midje:lein-midje:2.0.0-SNAPSHOT/maven-metadata.xml in sonatype-snapshots (http://oss.sonatype.org/content/repositories/snapshots/)
       Could not find metadata lein-midje:lein-midje:2.0.0-SNAPSHOT/maven-metadata.xml in central (http://repo1.maven.org/maven2)
       Retrieving lein-midje/lein-midje/2.0.0-SNAPSHOT/maven-metadata.xml (1k)
           from https://clojars.org/repo/
       Could not find metadata lein-midje:lein-midje:2.0.0-SNAPSHOT/maven-metadata.xml in stuart (http://stuartsierra.com/maven2)
       Could not find metadata lein-midje:lein-midje:2.0.0-SNAPSHOT/maven-metadata.xml in stuart-snapshots (http://stuartsierra.com/m2snapshots)
       Performing task 'compile' with profile(s): 'production'
       Compiling librarian-clojure.run
       Reflection warning, clout/core.clj:24 - call to group can't be resolved.
       Reflection warning, clout/core.clj:24 - call to group can't be resolved.
       Reflection warning, clout/core.clj:23 - reference to field groupCount can't be resolved.
       Reflection warning, clout/core.clj:97 - call to substring can't be resolved.
       Reflection warning, clout/core.clj:126 - call to group can't be resolved.
       Reflection warning, clout/core.clj:134 - reference to field group can't be resolved.
       Reflection warning, clojure/core/incubator.clj:84 - reference to field getClass can't be resolved.
       Reflection warning, clojure/core/incubator.clj:84 - reference to field isArray can't be resolved.
       Reflection warning, ring/util/response.clj:95 - reference to field getFile can't be resolved.
       Reflection warning, ring/util/response.clj:95 - call to replace can't be resolved.
       Reflection warning, ring/util/response.clj:99 - call to substring can't be resolved.
       Reflection warning, ring/util/response.clj:116 - reference to field isDirectory can't be resolved.
       Reflection warning, ring/util/codec.clj:17 - call to getBytes can't be resolved.
       Reflection warning, ring/util/codec.clj:24 - reference to field byteValue can't be resolved.
       Reflection warning, ring/util/codec.clj:35 - call to java.lang.String ctor can't be resolved.
       Reflection warning, ring/util/codec.clj:105 - call to contains can't be resolved.
       Reflection warning, compojure/route.clj:11 - call to endsWith can't be resolved.
       Reflection warning, somnium/congomongo.clj:524 - call to createFile can't be resolved.
       Reflection warning, somnium/congomongo.clj:568 - call to findOne can't be resolved.
       Reflection warning, somnium/congomongo.clj:570 - call to writeTo can't be resolved.
       Reflection warning, somnium/congomongo.clj:576 - call to findOne can't be resolved.
       Reflection warning, librarian_clojure/db.clj:49 - call to java.lang.Integer ctor can't be resolved.
       Reflection warning, librarian_clojure/db.clj:51 - call to org.bson.types.ObjectId ctor can't be resolved.
       Reflection warning, librarian_clojure/books.clj:20 - call to java.lang.Integer ctor can't be resolved.
       Reflection warning, librarian_clojure/books.clj:25 - call to java.lang.Integer ctor can't be resolved.
       Reflection warning, clj_time/core.clj:99 - call to org.joda.time.DateMidnight ctor can't be resolved.
       Reflection warning, clj_time/core.clj:188 - call to withZone can't be resolved.
       Reflection warning, clj_time/core.clj:195 - call to withZoneRetainFields can't be resolved.
       Reflection warning, clj_time/core.clj:275 - call to plus can't be resolved.
       Reflection warning, clj_time/core.clj:283 - call to minus can't be resolved.
       Reflection warning, clj_time/format.clj:47 - reference to field getPrinter can't be resolved.
       Reflection warning, clj_time/format.clj:48 - reference to field getParser can't be resolved.
       Reflection warning, clj_time/format.clj:50 - call to append can't be resolved.
       Reflection warning, clj_time/format.clj:51 - reference to field toFormatter can't be resolved.
       Reflection warning, ring/adapter/jetty.clj:29 - call to setKeyStore can't be resolved.
       Reflection warning, ring/adapter/jetty.clj:32 - call to setTrustStore can't be resolved.
       Reflection warning, ring/adapter/jetty.clj:34 - call to setTrustPassword can't be resolved.
       Reflection warning, ring/adapter/jetty.clj:82 - call to org.eclipse.jetty.util.thread.QueuedThreadPool ctor can't be resolved.
       Reflection warning, librarian_clojure/run.clj:9 - call to java.lang.Integer ctor can't be resolved.
       Compiling librarian-clojure.db
       Compiling librarian-clojure.page
       Compiling librarian-clojure.security
       Compiling librarian-clojure.run
       Compiling librarian-clojure.core
       Compiling librarian-clojure.repl
       Warning: *server* not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicate ^:dynamic *server* or change the name. (librarian_clojure/repl.clj:21)
       Compiling librarian-clojure.routes
       Reflection warning, librarian_clojure/repl.clj:26 - reference to field stop can't be resolved.
       Compiling librarian-clojure.books
       Compiling sandbar.stateful-session
-----> Discovering process types
       Procfile declares types -> web
-----> Compiled slug size: 18.1MB
-----> Launching... done, v35
       http://librarian-clojure.herokuapp.com deployed to Heroku

To git@heroku.com:librarian-clojure.git
   1662111..2bd4145  master -> master
jaceklaskowski commented 11 years ago

Fixed in #29