On Fri, Mar 5, 2010 at 6:45 AM, kelvin goodson <[email protected]> wrote:
> you may think this a little sad, but I wanted to share my pleasure in
> adding a small simple step to my development process that helps me
> deal with the situation where projects have been removed from svn, but
> remain in my eclipse workspace, usually signalled by the eclipse
> workspace looking like a christmas tree, for all the red icons.
>
> 1) delete all projects from eclipse (but not from the file system)
> 2) mvn eclipse:clean
> 3) import existing projects into eclipse (only the ones not now
> handled by the pom will remain)
> 4) delete all projects from the eclipse workspace and from disk -
> (caveat emptor) or go find them on the file system and move them
> elsewhere if you're not feeling brave
> 5) mvn eclipse:eclipse
> 6) import existing projects into workspace
>
> :)
>

Git has a good option to help with this

alias gitclean='git clean -d -f -x'

This removes all files not in the local repo, and bring your local
repo the same as a clean checkout.
Unfortunately I don't know about something similar in svn.

-- 
Luciano Resende
http://people.apache.org/~lresende
http://twitter.com/lresende1975
http://lresende.blogspot.com/

Reply via email to