-
-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
run-compiler seems to ignore "java-sources" #68
Comments
This is strange, I will take a look at it. Thanks for letting me know. |
So its having a problem resolving the ring handler hface.ui.routes/app. |
Nevermind that last comment :) |
Well, I have spent a bunch of time on this. And I am going to need someone who understands leiningen and the classpath better. It seems cljsbuild creates a subproject with a different environment. When I add the project :compile-path back into this subproject it finds your compiled java class but then fails for some other reason. It seems like there is a conflict in the dep trees of the environments. We have an environment setup for building cljs and we are trying to inject a route handler into that relies on the full project Java env. The simplest solution for now is to use your own server for development. https://github.com/bhauman/lein-figwheel#using-your-own-server |
Also thanks for brining this to my attention. It gave me an excuse to put more time into understanding these things. |
sure, thanks for looking into it! "Note that you will still need to run the figwheel server in addition to your development app server if you wish to continue utilizing figwheel" does that mean if I don't run |
you will need to run lien figwheel as well :) On Thu, Jan 15, 2015 at 4:31 PM, Anatoly notifications@github.com wrote:
|
There is a single Java file used (it has observable state and transient things that are not easily translated to Clojure), that lives under
src/java
.The normal flow: lein, compile, repl, cljsbuild, uberjar, ring server, etc.. works fine. But figwheel does not seem to find it (even if the namespace that uses it is AOTed).
Here is an example:
checking out
normal things work (including repl, uberjar and friends)
figwheel does not seem to be able to compile sources
hface.stats
is the namespace that uses that Java class (InstanceStatsTask)The Java file is in target/classes, all the standard pathing, nothing fancy. Almost feels like figwheel just needs to care for
:java-source-paths ["src/java"]
The text was updated successfully, but these errors were encountered: