What would this mean in practice for using the new drag/drop functionality to open Clojure projects, regardless of origin or history? Would some require an additional manual step to behave as proper Leiningen projects?
This new functionality has been making life *much* better for me and for my students in the short time that it has existed, and it'd be a shame to lose some of the new functionality. I don't even know if/when there is a .classpath or .project or any of other hidden files in the projects I've been opening and sharing, and I'd love to never have to worry about that again. Being able to drag anything with a project.clj to CCW and having it open and run correctly is just wonderful, and I think it greatly improves the usability of CCW, especially for newcomers to the ecosystem. Maybe if some of that would no longer work automatically after the change that you are contemplating then the system could be made to ask whether to do the full conversion (what it does now in 0.28.1) or not in a dialog, rather than just doing or not doing it automatically and requiring a manual step later in some cases? -Lee On Oct 4, 2014, at 2:10 AM, Laurent PETIT <laurent.pe...@gmail.com> wrote: > Points taken. > After rethinking about this, thanks to your feedback, it seems indeed really > wrong to silently automatically override existing Java build paths. > > I think I will confine the automatic leiningen conversion only for projects > which do not yet appear to be Java/just projects - those without a .classpath > file yet. > > What do you think? > > Le samedi 4 octobre 2014, Howard Green <hhgr...@ieee.org> a écrit : > So, I did the upgrade from 0.27.0 to 0.28.1 several hours ago... and > immediately made the startling discovery that every project in my workspace > with a project.clj file had been auto-converted to a Leiningen project! > > Under ideal circumstances, this would not have bothered me, as I like the > Lein support a lot; but a number of my long-running projects had substantial > discrepancies between the Eclipse build information and what was in > project.clj. Fortunately, my backup is pretty good... :-) > > I assume the problem arose here because the (innocuous) "Automatic detection > of Clojure project" option turned into the (dangerous) "Automatic detection > of Clojure / Leiningen projects"... and I did indeed have the former option > checked. It might be nice to forcibly un-check the option as part of an > upgrade, as a way of preventing unforeseen consequences. > > Anyway, no real harm done. However, I think I'd suggest that during > conversion process it would be a good idea to retain the old .classpath file, > so there's an easy way to fully reverse the effects of a conversion, or maybe > abort the conversion if the Eclipse and Lein content didn't agree. > > --- Howard > > > On Sunday, September 28, 2014 12:50:58 PM UTC-7, laurent.petit wrote: > Counterclockwise, the Eclipse Clojure development tool. > > Counterclockwise 0.28.1 has been released. > > Improvement over 0.28.0 based on user feedback. Thanks to all who helped > improve Counterclockwise by their constructive comments! > > - Drag & Drop from Github / Bitbucket / Google Code URLs works in Linux > - Better User feedback for Drag & Drop folder actions > - Added a check for missing `.classpath` file for Leiningen projects. > Automatically reconstruct the java build path if it is missing. > > > ChangeLog > ========= > > http://doc.ccw-ide.org/ChangeLog.html#_changes_between_counterclockwise_0_28_0_and_0_28_1 > > Installation instructions > ================== > > http://doc.ccw-ide.org/documentation.html#_install_counterclockwise > > Cheers, > > -- > Laurent Petit > > -- > You received this message because you are subscribed to the Google Groups > "counterclockwise-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojuredev-users+unsubscr...@googlegroups.com. > To post to this group, send email to clojuredev-us...@googlegroups.com. > Visit this group at http://groups.google.com/group/clojuredev-users. > For more options, visit https://groups.google.com/d/optout. > -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.