Re: building new contrib against a specific clojure jar

2010-09-23 Thread Sean Corfield
On Thu, Sep 23, 2010 at 1:40 AM, Andy Fingerhut wrote: > OK, one more quick hack I've found -- again, a hack, not a long term > solution.  If you want to create a Leiningen project that uses the latest > clojure and contrib, read on.  I couldn't figure out what to use in > project.clj unless I ren

Re: building new contrib against a specific clojure jar

2010-09-23 Thread Andy Fingerhut
OK, one more quick hack I've found -- again, a hack, not a long term solution. If you want to create a Leiningen project that uses the latest clojure and contrib, read on. I couldn't figure out what to use in project.clj unless I renamed this file first. % mv ~/.m2/repository/org/clojure/

Re: building new contrib against a specific clojure jar

2010-09-23 Thread Andy Fingerhut
OK, it appears one more line of change allows clojure-contrib latest as of today to build with clojure 1.3.0-master-SNAPSHOT. See inline below for slightly modified instructions that worked for me on both OS X and Ubuntu Linux. On Sep 22, 2010, at 6:16 PM, Andy Fingerhut wrote: So I'm try

Re: building new contrib against a specific clojure jar

2010-09-22 Thread Andy Fingerhut
So I'm trying to start from a Mac OS X 10.5.8 system with java and mvn installed, but not Clojure, and with no Maven repo (i.e. ~/.m2 does not exist yet), and trying to build the latest Clojure and contrib from the git repos using something as close to the recommended instructions that come

Re: building new contrib against a specific clojure jar

2010-09-22 Thread Sean Corfield
On Wed, Sep 22, 2010 at 2:01 PM, Stuart Sierra wrote: > The Clojure build doesn't fully support Maven.  You need to run this: > >    ant -lib /path/to/maven-ant-tasks.jar ci-build OK, good to know. Manually pushing the JAR into the local repo worked and I was then able to build Clojure contrib ma

Re: building new contrib against a specific clojure jar

2010-09-22 Thread Stuart Sierra
On Sep 22, 3:45 pm, Sean Corfield wrote: > Having pulled Clojure master and done: ant, mvn install I saw that the > jar in the repository was very small - pretty much empty in fact. The Clojure build doesn't fully support Maven. You need to run this: ant -lib /path/to/maven-ant-tasks.jar ci

Re: building new contrib against a specific clojure jar

2010-09-22 Thread Stuart Sierra
On Sep 22, 3:36 pm, Sean Corfield wrote: > That seems to imply there should be a src folder? Am I supposed to > copy Clojure into the same folder as contrib in order to do a build? No, that's a default configuration inherited by all the sub-modules. -S -- You received this message because you

Re: building new contrib against a specific clojure jar

2010-09-22 Thread Sean Corfield
Found the problem! Having pulled Clojure master and done: ant, mvn install I saw that the jar in the repository was very small - pretty much empty in fact. I manually copied the clojure-1.3.0-master-SNAPSHOT.jar to the repo and was able to mvn compile contrib just fine. On Wed, Sep 22, 2010 at 12

Re: building new contrib against a specific clojure jar

2010-09-22 Thread Sean Corfield
On Tue, Sep 21, 2010 at 9:58 PM, Sean Corfield wrote: > * If I build contrib master against Clojure 1.2.0 (which works), how > do I specify the dependencies in lein? This got answered (by Justin) in another thread so now I'm down to just this question: > * How do I successfully build contrib mas

Re: building new contrib against a specific clojure jar

2010-09-21 Thread Sean Corfield
Inspired by Rich asking folks to try 1.3 / master at the Bay Area meetup last night... On Thu, Sep 2, 2010 at 2:24 PM, Stuart Sierra wrote: > You'll need to adjust the version numbers for the Clojure > dependencies.  These are configured in clojure-contrib/modules/parent/ > pom.xml at the line: >

Re: building new contrib against a specific clojure jar

2010-09-03 Thread Stuart Sierra
On Sep 2, 5:35 pm, braver wrote: > Can it be done on the command line, with -Dclojure.version=... ? Yes! And a correction: Clojure snapshots are labeled 1.3.0-master-SNAPSHOT -S -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group

Re: building new contrib against a specific clojure jar

2010-09-02 Thread braver
On Sep 2, 5:24 pm, Stuart Sierra wrote: > You'll need to adjust the version numbers for the Clojure > dependencies.  These are configured in clojure-contrib/modules/parent/ > pom.xml at the line: > >   >     1.2.0 > > Change that to 1.3.0-SNAPSHOT for the latest snapshot (including the > ones you

Re: building new contrib against a specific clojure jar

2010-09-02 Thread Stuart Sierra
You'll need to adjust the version numbers for the Clojure dependencies. These are configured in clojure-contrib/modules/parent/ pom.xml at the line: 1.2.0 Change that to 1.3.0-SNAPSHOT for the latest snapshot (including the ones you build locally) or set it to a specific snapshot version

building new contrib against a specific clojure jar

2010-09-02 Thread braver
I usually git pull clojure, ant, mvn install, then git pull and build clojure-contrib against it. There used to be a -Dclojure.jar=... option mentioned in README.txt for the contrib. The new modular version, however, doesn't mention it, just saying, use these contrib versions for those clojure on