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
> <javascript:_e(%7B%7D,'cvml','clojuredev-users%2bunsubscr...@googlegroups.com');>
> .
> To post to this group, send email to clojuredev-us...@googlegroups.com
> <javascript:_e(%7B%7D,'cvml','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.
>


-- 
Laurent Petit

-- 
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.

Reply via email to