On Fri, Mar 5, 2010 at 2:45 PM, 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 > > :) >
:-) A variation on a theme. I have TortoiseSVN running so if I notice deletes in the svn up I go in and delete (or move) all the projects that no longer have icons associated with them (and remove form Eclipse at the same time). Then: mvn clean install mvn -Peclipse eclipse refresh eclipse file open tuscany.target / set target platform sometimes clean all projects is required for good measure rinse and repeat in various combinations until all the red goes away Then it's time for lunch. Be glad to hear if there's an easier way. Simon -- Apache Tuscany committer: tuscany.apache.org Co-author of a book about Tuscany and SCA: tuscanyinaction.com
