Re: Jython Interoperability problem

2010-11-21 Thread Dilvan
Thanks, it works for me. On Nov 21, 1:11 am, Alex Osborne wrote: > Dilvan writes: > > Do you know how can I "bootstrap" Clojure before using any Clojure > > specific data structure (from Java or Jython)? > > It seems to be fine if you put it on the Java system classpath instead > of python.pa

Re: Jython Interoperability problem

2010-11-20 Thread Alex Osborne
Dilvan writes: > Do you know how can I "bootstrap" Clojure before using any Clojure > specific data structure (from Java or Jython)? It seems to be fine if you put it on the Java system classpath instead of python.path: $ jython -J-cp clojure-1.2.0.jar Jython 2.5.1 (Release_2_5_1:6813, Sep 26 2

Re: Jython Interoperability problem

2010-11-09 Thread Dilvan
On Nov 1, 9:24 pm, Mikhail Kryshen wrote: > Clojure's data structures modified for use outside of > Clojure:http://github.com/krukow/clj-ds > > Persistent analogue of the Java Collections > >Framework:http://code.google.com/p/pcollections/ These libraries only cover persistent collections (l

Re: Jython Interoperability problem

2010-11-09 Thread Rasmus Svensson
It seems like this is a class loader issue... The guys working on clojure-ant-tasks seems to have hit the same problem: https://github.com/jmcconnell/clojure-ant-tasks/issues#issue/5/comment/223478 I also found these two issues: http://dev.clojure.org/jira/browse/CLJ-260 http://dev.clojure.org/

Re: Jython Interoperability problem

2010-11-09 Thread Rasmus Svensson
2010/10/29 Dilvan : >   Any clues? I don't know much about how Jython works, but from the stack trace it seems like Clojure cannot load its source files from the classpath. Are there other ways to add jars to the classpath in Jython? // raek -- You received this message because you are subscrib

Re: Jython Interoperability problem

2010-11-08 Thread Dilvan
Hi, Thanks a lot for your reply. I thought Java interoperability was one of the key points for Clojure "a language for the JVM", having a pure Clojure version that limits interoperability in the JVM isn't quite in this spirit. The first project (clj-ds) seems quite what I need now, but I

Re: Jython Interoperability problem

2010-11-01 Thread Mikhail Kryshen
Consider using some implementation of persistent data structures that does not depend on Clojure. Clojure's data structures modified for use outside of Clojure: http://github.com/krukow/clj-ds Persistent analogue of the Java Collections Framework: http://code.google.com/p/pcollections/ On Fri, 2

Jython Interoperability problem

2010-10-29 Thread Dilvan
Hi, It was possible in clojure 1.0.0 to include clojure Persistent collections in Jython: jython -Dpython.path=/clojure_1.0.0/clojure-1.0.0.jar >>>from clojure.lang import PersistentList >>>b= PersistentList.create([7, 8, 2]) >>>b (7 8 2) But with clojure 1.1.0 or 1.2.0 I get: jython -