Could not locate clojure/contrib/duck_streams__init.class or clojure/contrib/duck_streams.clj

2012-04-26 Thread Chirag Ghiyad
hi,

I have created one lein project,
than updating its project.clj with dev-dependency of eclips

I ran lein deps

it downloaded all dependencies

but into my.m2/repository directory there is no clojure directory.
and this causes me

leiningen.eclipse  Problem loading: java.io.FileNotFoundException:
Could not locate clojure/contrib/duck_streams__init.class or clojure/
contrib/duck_streams.clj on classpath:  (eclipse.clj:1)

error when i ran lein help which abandons me to develop with eclipse
because i cant run my lein eclipse command.

Any solution for this???
Thanks in advance.

my project.clj is given below

(defproject for_test 1.0.0-SNAPSHOT
  :description FIXME: write description
  :dependencies [[org.clojure/clojure 1.2.1]]
  :dev-dependencies [[lein-eclipse 1.0.0]]
)

Thnks 'n Regards,
chirag ghiyad

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


Re: Could not locate clojure/contrib/duck_streams__init.class or clojure/contrib/duck_streams.clj

2012-04-26 Thread Alex Ott
lein-eclipse was released 2 years ago... I think, that now it's better
to work via pom.xml - generate it with 'lein pom' and import into
eclipse

On Wed, Apr 25, 2012 at 2:55 PM, Chirag Ghiyad chirag.ghi...@searce.com wrote:
 hi,

 I have created one lein project,
 than updating its project.clj with dev-dependency of eclips

 I ran lein deps

 it downloaded all dependencies

 but into my.m2/repository directory there is no clojure directory.
 and this causes me

 leiningen.eclipse  Problem loading: java.io.FileNotFoundException:
 Could not locate clojure/contrib/duck_streams__init.class or clojure/
 contrib/duck_streams.clj on classpath:  (eclipse.clj:1)

 error when i ran lein help which abandons me to develop with eclipse
 because i cant run my lein eclipse command.

 Any solution for this???
 Thanks in advance.

 my project.clj is given below

 (defproject for_test 1.0.0-SNAPSHOT
  :description FIXME: write description
  :dependencies [[org.clojure/clojure 1.2.1]]
  :dev-dependencies [[lein-eclipse 1.0.0]]
 )

 Thnks 'n Regards,
 chirag ghiyad

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



-- 
With best wishes,                    Alex Ott
http://alexott.net/
Tiwtter: alexott_en (English), alexott (Russian)
Skype: alex.ott

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


Re: Could not locate clojure/contrib/duck_streams__init.class or clojure/contrib/duck_streams.clj

2012-04-26 Thread Dave Sann
lein-eclipse works great for me.

The problem is that duck-streams is part of the old consolidated clojure 
contrib. Which you can still get - but haven't referenced as a dependency.

try adding

[org.clojure/clojure-contrib 1.2.0]


to your dependencies.

But be aware that this is all deprecated.

D




On Friday, 27 April 2012 04:07:07 UTC+10, Alex Ott wrote:

 lein-eclipse was released 2 years ago... I think, that now it's better 
 to work via pom.xml - generate it with 'lein pom' and import into 
 eclipse 

 On Wed, Apr 25, 2012 at 2:55 PM, Chirag Ghiyad chirag.ghi...@searce.com 
 wrote: 
  hi, 
  
  I have created one lein project, 
  than updating its project.clj with dev-dependency of eclips 
  
  I ran lein deps 
  
  it downloaded all dependencies 
  
  but into my.m2/repository directory there is no clojure directory. 
  and this causes me 
  
  leiningen.eclipse  Problem loading: java.io.FileNotFoundException: 
  Could not locate clojure/contrib/duck_streams__init.class or clojure/ 
  contrib/duck_streams.clj on classpath:  (eclipse.clj:1) 
  
  error when i ran lein help which abandons me to develop with eclipse 
  because i cant run my lein eclipse command. 
  
  Any solution for this??? 
  Thanks in advance. 
  
  my project.clj is given below 
  
  (defproject for_test 1.0.0-SNAPSHOT 
   :description FIXME: write description 
   :dependencies [[org.clojure/clojure 1.2.1]] 
   :dev-dependencies [[lein-eclipse 1.0.0]] 
  ) 
  
  Thnks 'n Regards, 
  chirag ghiyad 
  
  -- 
  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 



 -- 
 With best wishes,Alex Ott 
 http://alexott.net/ 
 Tiwtter: alexott_en (English), alexott (Russian) 
 Skype: alex.ott 


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