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:36 PM, Sean Corfield <seancorfi...@gmail.com> wrote:
> On Tue, Sep 21, 2010 at 9:58 PM, Sean Corfield <seancorfi...@gmail.com> 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 master against Clojure
>> 1.3.0-master-SNAPSHOT?
>
> Here's the top of my pom.xml:
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <project xmlns="http://maven.apache.org/POM/4.0.0";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd";>
>  <modelVersion>4.0.0</modelVersion>
>  <properties>
>    <clojure.version>1.3.0-master-SNAPSHOT</clojure.version>
>    <!-- <clojure.version>1.2.0</clojure.version> -->
>    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>  </properties>
>  <groupId>org.clojure.contrib</groupId>
>  <artifactId>parent</artifactId>
>  <version>1.3.1-SNAPSHOT</version>
>  <packaging>pom</packaging>
>  <name>Clojure Contrib parent module</name>
>  <dependencies>
>    <dependency>
>      <groupId>org.clojure</groupId>
>      <artifactId>clojure</artifactId>
>      <version>${clojure.version}</version>
>    </dependency>
>  </dependencies>
>
> I notice below that it has:
>
>  <build>
>    <resources>
>      <resource>
>        <directory>src/main/clojure</directory>
>      </resource>
>      <resource>
>        <directory>src/examples/clojure</directory>
>      </resource>
>    </resources>
>    <testResources>
>      <testResource>
>        <directory>src/test/clojure</directory>
>      </testResource>
>    </testResources>
>
> 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?
> --
> Sean A Corfield -- (904) 302-SEAN
> Railo Technologies, Inc. -- http://getrailo.com/
> An Architect's View -- http://corfield.org/
>
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
>



-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to