lein conjure new not work at all

9 views
Skip to first unread message

wenjure

unread,
Jul 22, 2010, 4:03:49 AM7/22/10
to Conjure
I'm starting the tutorial of conjure. lein new hello_word, upgrade the
project.clj, then run lein deps which downloads some of jars into lib
dir.
but when do the lein conjure new to convert the normal lein project
hello_world to a conjure project, it failed for conjure is not a task.
yes, I want you help, thanks!

Matthew Courtney

unread,
Jul 22, 2010, 8:55:40 AM7/22/10
to clojure...@googlegroups.com
It sounds like lein-conjure was not added to your :dev-dependencies in
your project.clj.

What version of Leiningen are you using, and can you post your project.clj?

-Matt Courtney

wenjure

unread,
Jul 22, 2010, 11:32:58 AM7/22/10
to Conjure
Thanks you reply!
Below is the project.clj:

(defproject hello_world "1.0.0-SNAPSHOT"
:description "FIXME: write"
:dependencies [[org.clojure/clojure "1.1.0"]
[conjure-core "0.7.0"]
[org.clojure/clojure-contrib "1.1.0"]]
:dev-dependencies [[lein-conjure "0.7.0"]])
Is there any mistakes?

Here is the files under the hello_world/lib:

H:\study\clojure\hello_world\lib
2010/07/22 23:31 <DIR> .
2010/07/22 23:31 <DIR> ..
2010/07/22 15:11 10,250 clj-record-1.0.1.jar
2010/07/22 15:11 5,189 clj-stacktrace-0.1.0.jar
2010/07/22 15:11 1,847,041 clojure-1.1.0.jar
2010/07/22 15:11 3,292,224 clojure-contrib-1.1.0.jar
2010/07/22 15:11 3,426 clout-0.2.0.jar
2010/07/22 15:11 58,160 commons-codec-1.4.jar
2010/07/22 15:11 57,779 commons-fileupload-1.2.1.jar
2010/07/22 15:11 109,043 commons-io-1.4.jar
2010/07/22 15:11 279,193 commons-lang-2.5.jar
2010/07/22 15:11 72,699 conjure-core-0.7.0.jar
2010/07/22 15:35 101,258 conjure-script-0.7.0.jar
2010/07/22 15:11 1,200,940 h2-1.2.137.jar
2010/07/22 15:11 6,308 hiccup-0.2.6.jar
2010/07/22 15:11 516,429 jetty-6.1.14.jar
2010/07/22 15:11 163,121 jetty-util-6.1.14.jar
2010/07/22 15:35 72,436 lein-conjure-0.7.0.jar
2010/07/22 15:11 481,535 log4j-1.2.16.jar
2010/07/22 15:11 13,484 ring-core-0.2.5.jar
2010/07/22 15:11 5,961 ring-devel-0.2.5.jar
2010/07/22 15:11 38,031 ring-jetty-adapter-0.2.5.jar
2010/07/22 15:11 26,822 ring-servlet-0.2.5.jar
2010/07/22 15:11 51,574 scriptjure-0.1.3.jar
2010/07/22 15:11 132,368 servlet-api-2.5-6.1.14.jar
2010/07/22 15:11 105,112 servlet-api-2.5.jar

wenjure

unread,
Jul 22, 2010, 11:36:49 AM7/22/10
to Conjure
I use leiningen 1.1.0, but the lein version display nil, why?

wenjure

unread,
Jul 22, 2010, 11:40:35 AM7/22/10
to Conjure
I sure the project.clj is exactly same as tutorial's, it's ok!

Matthew Courtney

unread,
Jul 22, 2010, 1:45:19 PM7/22/10
to clojure...@googlegroups.com
I don't see anything obvious. All of the jars seem to be in the right place.

Can you send me the command you're using, the directory you're running
it from and the error it displays?

-Matt Courtney

wenjure

unread,
Jul 22, 2010, 9:12:17 PM7/22/10
to Conjure
Very thanks your replies!
The problem is resolved myself.
Because I have modified the lein.bat file with no any of .jars under
lib dir be added to the classpath, although all the jars conjure
needed is at the right place.

REGARDS
Reply all
Reply to author
Forward
0 new messages