Re: Call custom Clojure function with dependencies from Java

2017-12-30 Thread Gary Verhaegen
On 29 December 2017 at 18:19, Pablo J. Villacorta wrote: > Thanks! You are right, I have tried another minimal statement and does not > throw any exception... looks like the statement on that repo is not correct > either (I don't know what's wrong with it), but don't know

Re: Call custom Clojure function with dependencies from Java

2017-12-29 Thread Pablo J. Villacorta
Thanks! You are right, I have tried another minimal statement and does not throw any exception... looks like the statement on that repo is not correct either (I don't know what's wrong with it), but don't know how to output proper error messages. According to the repo,

Re: Call custom Clojure function with dependencies from Java

2017-12-26 Thread Gary Verhaegen
On 26 December 2017 at 14:54, Pablo J. Villacorta wrote: > Thank you so much guys. > > Yes, it is an error launched by the library, but with a statement that > should be valid since I copied it from the github page of the project. It > seems that the "@cec1ce2" means

Re: Call custom Clojure function with dependencies from Java

2017-12-26 Thread Pablo J. Villacorta
Thank you so much guys. Yes, it is an error launched by the library, but with a statement that should be valid since I copied it from the github page of the project. It seems that the "@cec1ce2" means something but I don't know... it is exactly this input statement:

Re: Call custom Clojure function with dependencies from Java

2017-12-24 Thread Gary Verhaegen
schema.utils.NamedError does not look like a loading error; is there any chance that could be an error thrown by the library? Are you positive "some string" is a valid argument to validate-statement-data? A cursory look at the README of xapi-schema seems to indicate that function will throw an

Re: Call custom Clojure function with dependencies from Java

2017-12-24 Thread Justin Smith
If you require a namespace that requires another namespace, this will all be resolved and loaded automatically as long as all the namespace files can be found on the classpath. I suspect that what you showed here is not the full error output, it seems to be missing the information we would need

Call custom Clojure function with dependencies from Java

2017-12-24 Thread Pablo J. Villacorta
Hi all, I am totally new to Clojure. From Java I am trying to call a Clojure function which belongs to a wider project and has dependencies. I have compiled the Clojure project to an uber jar running lein uberjar, the imported the jar into my Java project, and then did IFn require =