On 5 Jul, 2011, at 20:38 , Laurent PETIT wrote: > a) Select your project's node in the Package Explorer > b) Trigger its contextual menu, select "Run as", select "Clojure Application" > I *insist* (*) : you must trigger the Run from the project's node. > Only with the project's node will the incremental compilation be > activated for the started process' JVM.
Ahhhhh...... > Then you should see: All I see in Eclipse is the REPL view. No Java console view, no "background" job, unless I don't know where to look. After a while, I also get a namespace browser, and shortly thereafter the classes show up in "classes". But this takes around five minutes, perhaps I was simply not patient enough. Or perhaps I started the REPL from something else than the project node. > Currently, there's one drawback : CCW does not refrain AOT compilation > from "compiling too much things", nor does it remove AOT compilation > artifacts that should generally not be desired (e.g. anything in > packages not being related to the project's own namespaces). I simply don't put them into the fat jar. Not as convenient as it should be (in particular since I need to do it again every time I make a fat jar), but at least I get the result I want. > (*) : In contrast, if you trigger a run of "Clojure Application" from > the contextual menu of a specific clojure lib file, the process will > not be started in "project mode", but in "file mode". That difference is not easy to see from the menu text. Apparently it is important nevertheless. Some quick tests work as they should, so it seems my build is correct. Thanks a lot for your help! Konrad. -- 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