Have you looked at this,
http://dev.clojure.org/display/doc/Getting+Started+with+Emacs ?

David

2011/11/21 Michael Jaaka <michael.ja...@googlemail.com>

> Hmmm... When trying to do
> http://riddell.us/ClojureSwankLeiningenWithEmacsOnLinux.html
>
> especially
>
> Add the following:
>
> (defproject test-project "0.1.0"
>  :description "Test Project"
>  :dependencies [[org.clojure/clojure "1.3.0"]
>                 [org.clojure/clojure-contrib "1.2.0"]]
>  :dev-dependencies [[swank-clojure "1.2.1"]])
> Save and exit the file.
>
> ~$ lein deps
>
> ~$ lein swank
>
>
> there is an exception about not finding print-doc
>
> Any help? Emacs/swank thing is a nightmare. I wanted to give it a
> chance again but I see that nothing has changed in that area. Sine
> Clojure 1.3, the clojure-contrib or what ever it is now makes only
> trouble. More over the tutorial above asks to clone clojure from
> github which already outdates this tutorial because in github the
> current version is 1.4, and lein generates project description for
> 1.2. Is there any chance it will be cleaned up? Maybe there should be
> ENV variable which defines base version of clojure to which lein,
> swank, ant, mvn, clojure, emacs, clojure-contrib would align?
>
> On Nov 21, 1:13 pm, Michael Jaaka <michael.ja...@googlemail.com>
> wrote:
> > Hi!
> >
> > When running ant command in cygwin on content cloned fromhttp://
> github.com/clojure/clojure.git
> >
> > I get 2 errors:
> >
> >    [java] Testing clojure.test-clojure.java.io
> >      [java]
> >      [java] ERROR in (test-streams-defaults)
> > (FileOutputStream.java:-2)
> >      [java] expected: (= content (do (spit (.toURI f)
> > content :encoding "UTF-8") (slurp (.toURI f) :encoding "UTF-8")))
> >      [java]   actual: java.io.FileNotFoundException: C:\Documents%20and
> > %20Settings\mjaaka\clojure.java.io5093958105426009259test-reader-
> > writer (System nie może odnaleźć określonej ścieżki)
> >      [java]  at java.io.FileOutputStream.open
> > (FileOutputStream.java:-2)
> >      [java]     java.io.FileOutputStream.<init> (FileOutputStream.java:
> > 194)
> >      [java]     clojure.java.io/fn (io.clj:224)
> >      [java]     clojure.java.io$fn__7808$G__7784__7815.invoke (io.clj:
> > 63)
> >      [java]     clojure.java.io/fn (io.clj:236)
> >      [java]     clojure.java.io$fn__7808$G__7784__7815.invoke (io.clj:
> > 63)
> >      [java]     clojure.java.io/fn (io.clj:243)
> >      [java]     clojure.java.io$fn__7808$G__7784__7815.invoke (io.clj:
> > 63)
> >      [java]     clojure.java.io/fn (io.clj:160)
> >      [java]     clojure.java.io$fn__7834$G__7788__7841.invoke (io.clj:
> > 63)
> >      [java]     clojure.java.io$writer.doInvoke (io.clj:113)
> >      [java]     clojure.lang.RestFn.applyTo (RestFn.java:139)
> >      [java]     clojure.core$apply.invoke (core.clj:602)
> >      [java]     clojure.core$spit.doInvoke (core.clj:6041)
> >      [java]     clojure.lang.RestFn.invoke (RestFn.java:464)
> >      [java]     clojure.test_clojure.java.io$fn__7581$fn__7598.invoke
> > (io.clj:42)
> >      [java]     clojure.test_clojure.java.io/fn (io.clj:42)
> >      [java]     clojure.test$test_var$fn__6484.invoke (test.clj:693)
> >      [java]     clojure.test$test_var.invoke (test.clj:693)
> >      [java]     clojure.test$test_all_vars$fn__6488$fn__6495.invoke
> > (test.clj:709)
> >      [java]     clojure.test$default_fixture.invoke (test.clj:663)
> >      [java]     clojure.test$test_all_vars$fn__6488.invoke (test.clj:
> > 709)
> >      [java]     clojure.test$default_fixture.invoke (test.clj:663)
> >      [java]     clojure.test$test_all_vars.invoke (test.clj:705)
> >      [java]     clojure.test$test_ns.invoke (test.clj:728)
> >      [java]     clojure.core$map$fn__3811.invoke (core.clj:2431)
> >      [java]     clojure.lang.LazySeq.sval (LazySeq.java:42)
> >      [java]     clojure.lang.LazySeq.seq (LazySeq.java:60)
> >      [java]     clojure.lang.Cons.next (Cons.java:39)
> >      [java]     clojure.lang.RT.boundedLength (RT.java:1607)
> >      [java]     clojure.lang.RestFn.applyTo (RestFn.java:130)
> >      [java]     clojure.core$apply.invoke (core.clj:602)
> >      [java]     clojure.test$run_tests.doInvoke (test.clj:743)
> >      [java]     clojure.lang.RestFn.applyTo (RestFn.java:137)
> >      [java]     clojure.core$apply.invoke (core.clj:600)
> >      [java]     clojure.test_clojure$eval20599.invoke (run_tests.clj:
> > 59)
> >      [java]     clojure.lang.Compiler.eval (Compiler.java:6498)
> >      [java]     clojure.lang.Compiler.load (Compiler.java:6935)
> >      [java]     clojure.lang.Compiler.loadFile (Compiler.java:6896)
> >      [java]     clojure.main$load_script.invoke (main.clj:282)
> >      [java]     clojure.main$script_opt.invoke (main.clj:342)
> >      [java]     clojure.main$main.doInvoke (main.clj:426)
> >      [java]     clojure.lang.RestFn.invoke (RestFn.java:408)
> >      [java]     clojure.lang.Var.invoke (Var.java:401)
> >      [java]     clojure.lang.AFn.applyToHelper (AFn.java:161)
> >      [java]     clojure.lang.Var.applyTo (Var.java:518)
> >      [java]     clojure.main.main (main.java:37)
> >      [java]
> >      [java] ERROR in (test-input-stream) (FileInputStream.java:-2)
> >      [java] Uncaught exception, not in assertion.
> >      [java] expected: nil
> >      [java]   actual: java.io.FileNotFoundException: C:\Documents%20and
> > %20Settings\mjaaka\test-input-stream7006412293390645280txt (System nie
> > może odnaleźć określonej ścieżki)
> >      [java]  at java.io.FileInputStream.open (FileInputStream.java:-2)
> >      [java]     java.io.FileInputStream.<init> (FileInputStream.java:
> > 120)
> >      [java]     java.io.FileInputStream.<init> (FileInputStream.java:
> > 79)
> >      [java]     clojure.java.io/fn (io.clj:232)
> >      [java]     clojure.java.io$fn__7821$G__7786__7828.invoke (io.clj:
> > 63)
> >      [java]     clojure.java.io/fn (io.clj:242)
> >      [java]     clojure.java.io$fn__7821$G__7786__7828.invoke (io.clj:
> > 63)
> >      [java]     clojure.java.io$input_stream.doInvoke (io.clj:130)
> >      [java]     clojure.lang.RestFn.invoke (RestFn.java:410)
> >      [java]     clojure.test_clojure.java.io/fn (io.clj:169)
> >      [java]     clojure.test$test_var$fn__6484.invoke (test.clj:693)
> >      [java]     clojure.test$test_var.invoke (test.clj:693)
> >      [java]     clojure.test$test_all_vars$fn__6488$fn__6495.invoke
> > (test.clj:709)
> >      [java]     clojure.test$default_fixture.invoke (test.clj:663)
> >      [java]     clojure.test$test_all_vars$fn__6488.invoke (test.clj:
> > 709)
> >      [java]     clojure.test$default_fixture.invoke (test.clj:663)
> >      [java]     clojure.test$test_all_vars.invoke (test.clj:705)
> >      [java]     clojure.test$test_ns.invoke (test.clj:728)
> >      [java]     clojure.core$map$fn__3811.invoke (core.clj:2431)
> >      [java]     clojure.lang.LazySeq.sval (LazySeq.java:42)
> >      [java]     clojure.lang.LazySeq.seq (LazySeq.java:60)
> >      [java]     clojure.lang.Cons.next (Cons.java:39)
> >      [java]     clojure.lang.RT.boundedLength (RT.java:1607)
> >      [java]     clojure.lang.RestFn.applyTo (RestFn.java:130)
> >      [java]     clojure.core$apply.invoke (core.clj:602)
> >      [java]     clojure.test$run_tests.doInvoke (test.clj:743)
> >      [java]     clojure.lang.RestFn.applyTo (RestFn.java:137)
> >      [java]     clojure.core$apply.invoke (core.clj:600)
> >      [java]     clojure.test_clojure$eval20599.invoke (run_tests.clj:
> > 59)
> >      [java]     clojure.lang.Compiler.eval (Compiler.java:6498)
> >      [java]     clojure.lang.Compiler.load (Compiler.java:6935)
> >      [java]     clojure.lang.Compiler.loadFile (Compiler.java:6896)
> >      [java]     clojure.main$load_script.invoke (main.clj:282)
> >      [java]     clojure.main$script_opt.invoke (main.clj:342)
> >      [java]     clojure.main$main.doInvoke (main.clj:426)
> >      [java]     clojure.lang.RestFn.invoke (RestFn.java:408)
> >      [java]     clojure.lang.Var.invoke (Var.java:401)
> >      [java]     clojure.lang.AFn.applyToHelper (AFn.java:161)
> >      [java]     clojure.lang.Var.applyTo (Var.java:518)
> >      [java]     clojure.main.main (main.java:37)
> >      [java]
> >
> > The full listing is here:http://pastebin.com/SkafyYBF
> >
> > I wanted to run it from cygwin because I'm doinghttp://
> riddell.us/ClojureSwankLeiningenWithEmacsOnLinux.html
> > instructions.
> >
> > Java is 1.6.0_27-b07 on Windows XP
> >
> > When running ant command from windows command line all is fine, so it
> > is up to you if it should be fixed
>
> --
> 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
>

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