Re: java.ext.dirs problem

2009-06-28 Thread Laurent PETIT
2009/6/28 Christophe Grand : > Hi all, > > On Sun, Jun 28, 2009 at 1:37 AM, Laurent PETIT > wrote: >> >> >> That's certainly why you're having problems when you mess up the >> >> dependencies in places where there is a hierarchy of classloaders >> >> involved : clojure-contrib was loaded with the

Re: java.ext.dirs problem

2009-06-28 Thread Christophe Grand
Hi all, On Sun, Jun 28, 2009 at 1:37 AM, Laurent PETIT wrote: > >> That's certainly why you're having problems when you mess up the > >> dependencies in places where there is a hierarchy of classloaders > >> involved : clojure-contrib was loaded with the "main classloader" > >> along with java co

Re: java.ext.dirs problem

2009-06-27 Thread Alex Combas
Hello, Undoubtedly it is not the best solution, but all I do is export a variable called CLASSPATH pointing to whichever directories I want to require or load. # append to your .bashrc script # Start CLASSPATH=/home/user/aaa:/home/user/bbb:$CLASSPATH export CLASSPATH # End The only gotcha so far

Re: java.ext.dirs problem

2009-06-27 Thread Laurent PETIT
Hi, 2009/6/28 Chouser : > > On Sat, Jun 27, 2009 at 2:34 AM, Laurent PETIT wrote: >> >> While I'm far from a java classpath-related issues problem, I think I >> know enough to say that placing your libs in the java.ext.dirs >> classpath is a trick that could lead to problems. > > I've been using

Re: java.ext.dirs problem

2009-06-27 Thread Chouser
On Sat, Jun 27, 2009 at 2:34 AM, Laurent PETIT wrote: > > While I'm far from a java classpath-related issues problem, I think I > know enough to say that placing your libs in the java.ext.dirs > classpath is a trick that could lead to problems. I've been using it mainly because Rich has recommend

Re: java.ext.dirs problem

2009-06-27 Thread mccraigmccraig
to help with the temptation i wrote a little ruby script which configures java classpaths and invokes clojure [only tried on macos... probably fine on linux, and should be portable to windows] http://github.com/mccraigmccraig/clojure-load.rb if you put all your clojure project repos, includi

Re: java.ext.dirs problem

2009-06-26 Thread Laurent PETIT
While I'm far from a java classpath-related issues problem, I think I know enough to say that placing your libs in the java.ext.dirs classpath is a trick that could lead to problems. It's primary and sole intent is to hold extensions to the java API that then would be loaded with the core java AP

java.ext.dirs problem

2009-06-26 Thread Chouser
When I starting Clojure, I generally point -Djava.ext.dirs at a "classpaths" directory. That's where I dump jars, symlinks to jars, and symlinks to the 'src' and 'classes' directories of the various projects I have installed. I know that some people have had trouble with java.ext.dirs and instead