Re: Aw: Calling clojure from java.

2011-07-26 Thread mmwaikar
Thanks Meikel, I tried the below stuff - package com.codionics.flyway; import clojure.lang.RT; import clojure.lang.Var; public class wrapper { static final Var symbol = RT.var("clojure.core", "symbol"); static final Var require = RT.var("clojrue.core", "require"); static final Var k

Aw: Calling clojure from java.

2011-07-25 Thread Meikel Brandmeyer
Hi, you should go through the normal Clojure Vars to access the functions. To actually call the functions you use invoke. Note: table is a macro, so you can't call it directly. You have to use the table* function and do any sugar provided by the table macro yourself. Here is an example how this