Re: no :main namespace specified in project.clj

2011-12-07 Thread Stuart Sierra
`lein run` expects the project.clj file to specify a namespace that 
contains the main function used to start the program.

It usually looks like this:
https://github.com/technomancy/leiningen/blob/07a755c8afe936ec904ea455659dadf8aae1ae88/sample.project.clj#L95

See https://github.com/technomancy/leiningen/blob/master/doc/TUTORIAL.md
under What to do with it for more information.

-S

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

no :main namespace specified in project.clj

2011-12-06 Thread jayvandal
I tried to run sqlitetest project in lein.I get this error

no :main namespace specified in project.clj
Why would i get an error in  an example?
I first run lein deps.
Then i run lein run
then comes error??

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