I want to instantiate a record and call a fn from java source code...
I've got this in my .java file:
//prepare java-clojure interop
private static IFn requireFn = RT.var(clojure.core, require).fn();
static {requireFn.invoke(Symbol.intern(Clondie24.games.chess));}
//the namespace
trying at the repl:
(class (Player. nil 1))
=Clondie24.games.chess.Player
if the fully-qualified name won't work I don't know what will!
weird-stuff...
Jim
On 18/09/12 19:04, Jim - FooBar(); wrote:
I want to instantiate a record and call a fn from java source code...
I've got this in
On Tue, Sep 18, 2012 at 11:04 AM, Jim - FooBar(); jimpil1...@gmail.comwrote:
However i get again: ClassNotFoundException Clondie24.games.chess.Player
That suggests the Clojure code isn't AOT compiled and/or isn't on your
class path?
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View --