Noir and Lein under Eclipse

I am trying to use CCW + lein for clojure devl. I created a small Noir application that has a page for / when I run the command line, I can see the output on localhost

But how to work in CCW + Lein under eclipse, I click Run and then open the browser, it doesnโ€™t work ..? What is the problem? How to debug a web application in Eclipse. those. test whether the server is running, any other web debugging? thanks sunil

+4
source share
1 answer

You can run the application from the Eclipse REPL. Open the contextual dialog box (right click), go to Clojure and click "Upload File" in REPL. Then write (-main) (or manually (server-start ...) in the REPL.

I mainly use Emacs to develop Clojure, so probably the best way to achieve this.

+3
source

All Articles