I'm just getting started with Clojure.  I had a small issue trying to
build the clojure-contrib project.  I'm on an old PPC Mac with only
Java 5.  The javalog.clj file requires Java 6.

There's an easy fix for javalog.clj.  GLOBAL_LOGGER_NAME is always
just "global", so you can use the literal value and have backwards
compatibility.

-    (getLogger
-     (. Logger GLOBAL_LOGGER_NAME))))
+    (getLogger "global")))

https://www.darkcornersoftware.com/confluence/display/open/Logger.global+Deprecated+in+Java+6

In searching through the discussion archives, I noticed that Rich
Hickey wants to stay with Java 5 for now.  I think this is a good
policy and makes for easy adoption.

http://groups.google.com/group/clojure/msg/de3812c16723e1a9?hl=en

Since javalog.clj is considered deprecated, you could simply remove
it.  Or take it out of the default build for clojure-contrib.  If you
want to get fancier, you could segregate Java 6 dependencies and make
a special ant target for people who don't mind depending on Java 6.
The point is to make it easy to build for people who have only Java 5,
which is the stated requirement for Clojure.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to