Re: Suggest allowing java property to specify *compile-path*

2008-11-21 Thread Chouser
On Fri, Nov 21, 2008 at 10:46 AM, Stuart Sierra <[EMAIL PROTECTED]> wrote: > > So there's a decision to be made: should Clojure behave more like a > scripting language (invoke by file) or more like Java (invoke by > class)? There are pros and cons either way. Theoretically, it could > support bo

Re: Suggest allowing java property to specify *compile-path*

2008-11-21 Thread Stuart Sierra
On Nov 21, 3:56 am, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote: > I've uploaded a patch that works like Stuart's file compiler, but it   > takes lib names as arguments and compiles them. Shucks, looks like all that was missing (from my 2nd try) was Symbol.intern! Oh well. This looks good to

Re: Suggest allowing java property to specify *compile-path*

2008-11-21 Thread Stephen C. Gilardi
On Nov 20, 2008, at 2:04 PM, Rich Hickey wrote: > I'm in favor. I'd like to get a single story together incorporating > Stuart's build.xml, his file compiler: > > http://groups.google.com/group/clojure/msg/4f0aa3be9a2dc79d > > and this path suggestion. I've uploaded a patch that works like St

Re: Suggest allowing java property to specify *compile-path*

2008-11-20 Thread Stephen C. Gilardi
On Nov 20, 2008, at 4:33 PM, Stuart Sierra wrote: > Yes! All we need is a file compiler that works. :) There's something > missing, in both my attempts, which causes the root class file for the > namespace not to be generated. Rich, any idea what's missing? It looks to me like compiling libs

Re: Suggest allowing java property to specify *compile-path*

2008-11-20 Thread Stuart Sierra
On Nov 20, 2:04 pm, Rich Hickey <[EMAIL PROTECTED]> wrote: > I'm in favor. I'd like to get a single story together incorporating > Stuart's build.xml, his file compiler: > > http://groups.google.com/group/clojure/msg/4f0aa3be9a2dc79d > > and this path suggestion. Yes! All we need is a file compi

Re: Suggest allowing java property to specify *compile-path*

2008-11-20 Thread Rich Hickey
On Nov 20, 11:28 am, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote: > Currently the compiler writes classes to the hierarchy under the value > of *compile-path* whose root binding is "classes". > > As we see in Stuart's build.xml patch, it can convenient to be able to > specify such a path as p

Suggest allowing java property to specify *compile-path*

2008-11-20 Thread Stephen C. Gilardi
Currently the compiler writes classes to the hierarchy under the value of *compile-path* whose root binding is "classes". As we see in Stuart's build.xml patch, it can convenient to be able to specify such a path as part of the JVM's environment. To support that, I suggest the following: