Re: clojure.contrib.logging and Google App Engine

2010-04-26 Thread gary ng
On Mon, Apr 26, 2010 at 6:26 PM, gary ng wrote: > > > On Sun, Apr 25, 2010 at 4:47 PM, ataggart wrote: > >> Yeah, the fix-patch was submitted prior to the final release of 1.1.0, >> but alas none of those with the power to actually commit the patch got >> around to it until it was too late. >> >

Re: clojure.contrib.logging and Google App Engine

2010-04-26 Thread gary ng
On Sun, Apr 25, 2010 at 4:47 PM, ataggart wrote: > Yeah, the fix-patch was submitted prior to the final release of 1.1.0, > but alas none of those with the power to actually commit the patch got > around to it until it was too late. > > I have built the 1.2.0-snapshot which seems to be even worse

Re: clojure.contrib.logging and Google App Engine

2010-04-25 Thread ataggart
Yeah, the fix-patch was submitted prior to the final release of 1.1.0, but alas none of those with the power to actually commit the patch got around to it until it was too late. On Apr 25, 3:40 pm, gary ng wrote: > On Sun, Apr 25, 2010 at 3:34 PM, ataggart wrote: > > Was the problem you're havin

Re: clojure.contrib.logging and Google App Engine

2010-04-25 Thread gary ng
On Sun, Apr 25, 2010 at 3:34 PM, ataggart wrote: > Was the problem you're having occurring with the latest version of > cc.logging (the one that uses eval)? > > The logging macros do not emit calls to the logging implementation, > but rather to c.c.logging functions that are implemented at runtim

Re: clojure.contrib.logging and Google App Engine

2010-04-25 Thread ataggart
Was the problem you're having occurring with the latest version of cc.logging (the one that uses eval)? The logging macros do not emit calls to the logging implementation, but rather to c.c.logging functions that are implemented at runtime via eval. As such, the latest code should always pick an

Re: clojure.contrib.logging and Google App Engine

2010-04-25 Thread gary ng
On Sun, Apr 25, 2010 at 1:17 PM, Allen Johnson wrote: > > What seems to be happening is that when I build my 'gen-class' package, > the > > class is nailed down even though logging.clj itself is not gen-classed. > > I'm not familiar with GAE but as a workaround can you include the > commons-loggin

Re: clojure.contrib.logging and Google App Engine

2010-04-25 Thread Allen Johnson
Sorry about the duplicated paragraph. My laptop touch pad is a pain. On Sun, Apr 25, 2010 at 4:17 PM, Allen Johnson wrote: >> What seems to be happening is that when I build my 'gen-class' package, the >> class is nailed down even though logging.clj itself is not gen-classed. > > I'm not familiar

Re: clojure.contrib.logging and Google App Engine

2010-04-25 Thread Allen Johnson
> What seems to be happening is that when I build my 'gen-class' package, the > class is nailed down even though logging.clj itself is not gen-classed. I'm not familiar with GAE but as a workaround can you include the commons-logging.jar in your war file? Then configure commons-logging to delegate

Re: clojure.contrib.logging and Google App Engine

2010-04-25 Thread gary ng
On Sun, Apr 25, 2010 at 11:08 AM, gary ng wrote: > Hi, > > I am trying to use clojure to write servlets for GAE and is encountering > problem with clojure.contrib.logging. When trying to use the logging > function, I get the following exception: > > java.lang.ClassNotFoundException: org.apache.co

clojure.contrib.logging and Google App Engine

2010-04-25 Thread gary ng
Hi, I am trying to use clojure to write servlets for GAE and is encountering problem with clojure.contrib.logging. When trying to use the logging function, I get the following exception: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory at java.net.URLClassLoader$1.run(URLC