I need to write a Clojure script to create a simple app by using Vaadin.
In Java I cam use some thing like this.
“import com.vaadin.Application;”
But I don’t know how to do it in Clojure.
I need to know how to import it and the place I should keep that .jar.
I need to write a Clojure script to create a simple app by using
Share
There is a build tool for clojure called leiningen.
For example:
Also read this article on how to use java classes in clojure: http://java.ociweb.com/mark/clojure/article.html#JavaInterop
Note that clojure does not provide a way to import every class in a Java package without specifying each class explicitly: How do I import the entire package but exclude some in Clojure?