LightTable not able to detect classpath of lein project #1997
Comments
Light Table is just using Leiningen. Are you able to run your project directly with Leiningen? Also, see the section about bugs in the contributing guidelines:
Steps would be helpful. Your OS, OS version, LT version, and plugin versions (particularly the Clojure plugin) would be helpful too. It would also also be helpful to share a minimal example version of your project for which you can reproduce this. All the above having been written, you should probably first try building the latest source version (of the master branch) and then upgrading the Clojure plugin. Well, first try running your project directly with Leiningen. But then try the latest source version. |
Basically I created a lein project and imported the root project folder and started liverepl where I pointed the src/guestbook/models/db.clj file using Also be noted that I'm able to resolve the classpath using lein repl under the same directory i.e., c:\samples\guestbook\lein repl, [use 'guestbook.models.db] under lein classpath i can see the path is available, but guestbook model is not getting resolved via lighttable. One question are there any configuration I need to make to set the lein classpath in lighttable? What would be the default lein classpath in case of LightTable, What I noticed was wherever I run len repl it takes current working directory and adds lein classpath. |
@buzzshiva I think there are some severe limitations with the instarepl when handling clojure projects (not sure if it has been recently introduced or not). This issue is related: LightTable/Clojure#55 If you skip using instarepl and rather use eval form or eval editor contents expllicitly should work as you would expect. |
This issue has moved to LightTable/ClojureInstarepl#14 as the instarepl is now its own plugin |
LightTable not able to detect classpath of lein project, Can someone let me know how to set classpath in lightTable for clojure projects using lein.
java.io.FileNotFoundException: Could not locate guestbook/models
The text was updated successfully, but these errors were encountered: