On Mar 10, 8:24 pm, Kevin Downey redc...@gmail.com wrote:
I don't know how many arguments the method you are overriding with
onLogin takes, but the function you define should take one more
argument then the method you are overiding, the first argument being
an explicit reference to an
Hi,
I'm experimenting with http://mina.apache.org/ftpserver
I have written a small java class that gets used by the ftp server,
and am trying to transpose it to clojure, but unsuccessfully until
now
The class generated with clojure is detected and used by the server,
but the code of the
I can see one possible difference, depending on how you are loading
the code into the ftp server.
In your clojure example you are accessing the logger through a top-
level define. I believe this will run *during the file loading
process* as static code.
In your working java example, you aren't
HI Chris,
thanks for your response, and I'll update the code as you suggest.
However, I actually have problems even when the -onLogin function is
empty, returns nil, or returns FtpletResult/DEFAULT. It seems it
causes trouble once it's defined.
I'll post an update tomorrow
Raphaël
On Mar 10,
I don't know how many arguments the method you are overriding with
onLogin takes, but the function you define should take one more
argument then the method you are overiding, the first argument being
an explicit reference to an instance
On Tue, Mar 10, 2009 at 12:16 PM, rb raphi...@gmail.com