You are right. The import syntax is wrong.
Did you put a ticket on assembla?

Thank you,
Dan

Roger Gilliar <ro...@gilliar.de> writes:

> Hi,
>
> the import syntax for the java libs in the correspondig clojure  
> contrib source is wrong. Just change them to the correct syntax and it  
> works.
> At least that worked for me.
>
> Regards
>    Roger
>
>
> Am 06.10.2009 um 11:14 schrieb dan.pomoh...@gmail.com:
>
>>
>> Hi,
>>
>> I have a maven project with java and clojure files. When I try to use
>> logging in clojure files the build fails with:
>>
>> [INFO] [clojure:compile {execution: default-cli}]
>> Compiling ro.dpom.markers to /home/dan/project/target/classes
>> Exception in thread "main" java.lang.ClassNotFoundException:  
>> org.apache.commons.logging (logging.clj:97)
>>
>> But in pom.xml I have:
>>
>>    <dependency>
>>      <groupId>commons-logging</groupId>
>>      <artifactId>commons-logging</artifactId>
>>      <version>1.1.1</version>
>>    </dependency>
>>    <dependency>
>>        <groupId>log4j</groupId>
>>        <artifactId>log4j</artifactId>
>>        <version>1.2.14</version>
>>    </dependency>
>>
>> And the java classes from the same project using:
>>
>> import org.apache.commons.logging.Log;
>> import org.apache.commons.logging.LogFactory;
>>
>> compile without problems.
>>
>> I use tapestry-snapshot for clojure-contrib version 1.0-SNAPSHOT and  
>> clojure-maven-plugin.
>>
>> Thank you,
>> Dan Pomohaci
>>
>> >
>
>
> 
-- 
Dan POMOHACI
__________________
Technical Manager
Mood Media Romania
Tel: + 40 21 222 94 21 
Fax: + 40 21 222 94 04
www.moodmedia.com

--~--~---------~--~----~------------~-------~--~----~
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