Re: clojure-contrib on build.clojure.org

2010-02-26 Thread Cosmin Stejerean
On Fri, Feb 26, 2010 at 12:34 PM, Wilson MacGyver wrote: > Hi, > > Does build.clojure.org have the release version of the > clojure-contrib? > > I only see the release version of clojure itself > at http://build.clojure.org/snapshots/org/clojure/clojure/1.1.0/ > > but for clojure-contrib I only se

Re: ClojureCLR status?

2010-02-26 Thread Cosmin Stejerean
On Fri, Feb 26, 2010 at 6:44 AM, dmiller wrote: > Two factors: > > (1) I'm working on deftype/protocols/reify and related things.  This > requires some non-trivial re-engineering of the compiler (based on non- > trivial reverse-engineering of all the changes made to Clojure JVM). > (2) I'm up to m

classpath problem while invoking Clojure from Java?

2010-02-26 Thread dabd
I have a NetBeans project where my REPL shows the following path in the classpath: # , and I can execute a script with clojure.lang.RT.loadResourceScript("foo/bar/baz.clj"), which is located in /home/my-proj/src/clj/foo/bar/baz.clj with no problems. On another project which is the same as the pre

Re: Rails-like database migrations for use with clojure.contrib.sql

2010-02-26 Thread Matt
I've had rails like migrations working in Conjure (0.4 coming soon) for a while. You may want to look at it for some help. To deal with the table schema problem, I had to create flavors for each database Conjure supports. I don't think there's much you can do to avoid flavors when you're trying to

Re: clojure-contrib on build.clojure.org

2010-02-26 Thread Heinz N. Gies
On Feb 26, 2010, at 19:34 , Wilson MacGyver wrote: > Hi, > > Does build.clojure.org have the release version of the > clojure-contrib? On a related note, it'd be great if there were something like a short note on what the names of the current clojure jars on mvn/lein are on clojure.org. Like a

clojure-contrib on build.clojure.org

2010-02-26 Thread Wilson MacGyver
Hi, Does build.clojure.org have the release version of the clojure-contrib? I only see the release version of clojure itself at http://build.clojure.org/snapshots/org/clojure/clojure/1.1.0/ but for clojure-contrib I only see snapshots at http://build.clojure.org/snapshots/org/clojure/clojure-con

Re: Prefixed or suffixed symbols?

2010-02-26 Thread Laurent PETIT
Hello, 2010/2/26 Terje Norderhaug > On Feb 25, 2010, at 7:59 PM, Sean Devlin wrote: > >> As to you question about editors, I know that it's possible to adapt >> emacs clojure-mode the change colors based on a regex. That's how it >> knows to color something "pink" for a fn in clojure.core, and

Re: Prefixed or suffixed symbols?

2010-02-26 Thread Terje Norderhaug
On Feb 25, 2010, at 7:59 PM, Sean Devlin wrote: As to you question about editors, I know that it's possible to adapt emacs clojure-mode the change colors based on a regex. That's how it knows to color something "pink" for a fn in clojure.core, and green for a fn in the standard library (e.g. clo

Re: 1.1.0-new-SNAPSHOT / java.lang.ExceptionInInitializerError / JRE 1.6.0 IBM Linux build pxi3260sr7-20091215_02 (SR7)

2010-02-26 Thread Jules
OK, So, I have had every variable between the automated (Hudson) build and the manual build out on the bench and fiddled with each one in turn... Of course, it turns out to be something to do with very last variable that i expected it to be. It seems to be something to do with the Hudson Matrix

Rails-like database migrations for use with clojure.contrib.sql

2010-02-26 Thread Rick Moynihan
I've made a stab at implementing rails-like database migrations for use with clojure.contrib.sql. The codes currently very crude, but I'd appreciate any comments on style/utility: http://gist.github.com/315787 Currently the hariest bit is in testing whether or not we need to construct the schema

Re: Vimclojure Performance on Windows

2010-02-26 Thread Vitaly Peressada
Thanks for quick response. I will use vimclojure google group in the future. Since I am the first to report the problem it is likely that it might be machine/vim setup specific. I will repeat on different machine then. On Feb 26, 1:22 am, Meikel Brandmeyer wrote: > Hi, > > On Feb 25, 4:46 pm, Vit

Re: ClojureCLR status?

2010-02-26 Thread dmiller
Two factors: (1) I'm working on deftype/protocols/reify and related things. This requires some non-trivial re-engineering of the compiler (based on non- trivial reverse-engineering of all the changes made to Clojure JVM). (2) I'm up to my nostrils on a little pro bono web site development I fooli

Re: 1.1.0-new-SNAPSHOT / java.lang.ExceptionInInitializerError / JRE 1.6.0 IBM Linux build pxi3260sr7-20091215_02 (SR7)

2010-02-26 Thread Jules
Thanks, Meikel I'll see if that helps. Strangely, although I can replicate the problem in Hudson every time, I am having trouble reproducing it as myself. I'm using the same JVM on the same machine with the same version of the code. I've just scrubbed the Hudson Maven repository and rebuilt - p

Re: 1.1.0-new-SNAPSHOT / java.lang.ExceptionInInitializerError / JRE 1.6.0 IBM Linux build pxi3260sr7-20091215_02 (SR7)

2010-02-26 Thread Meikel Brandmeyer
Hi, On Feb 26, 10:32 am, Jules wrote: > I just checked in a new piece of code - A trivial implementation of > junit.framework TestCase. > > http://github.com/JulesGosnell/dada/blob/master/src/test/clojure/org/... + >         at clojure.core$use__5630.doInvoke(core.clj:4155) >         at clojur

1.1.0-new-SNAPSHOT / java.lang.ExceptionInInitializerError / JRE 1.6.0 IBM Linux build pxi3260sr7-20091215_02 (SR7)

2010-02-26 Thread Jules
I have a Hudson Matrix build of some Clojure that I am writing. I just checked in a new piece of code - A trivial implementation of junit.framework TestCase. http://github.com/JulesGosnell/dada/blob/master/src/test/clojure/org/dada/CoreTestCase.clj I'm using Maven 2.2.1 and the clojure plugin to

Re: no source file

2010-02-26 Thread Matthias von Rohr
>From where or how did you start you REPL? I copied you source into c: \sqrs.clj and started a REPL: C:\>clojure Clojure 1.1.0 user=> (load-file "sqrs.clj") #'user/square-of-sum user=> (square-of-sum (range 10)) 2025 user=> Clojure can't find your file in the classpath. Matt -- You received th