prezi / pride

Manages a pride of Gradle modules
Other
71 stars 13 forks source link

Do not throw IOException when a module cannot be removed #138

Closed coenwouters closed 9 years ago

coenwouters commented 9 years ago

On a Windows system the "pride remove " command can fail when a file or directory of the module is in use. This is possible when using software that monitors file system activity like a virus scanner or TortoiseSVN. The problem also occurs when command shell is open in one of the subfolders of the module. The IOException that was raised before resulted in a corrupted pride workspace.

Now, the IOException is handled and a message is logged to the user to manually remove the folder.

Solves #134

lptr commented 9 years ago

I've implemented this as 79c0a50e423b3bd06a08fa191a9157cc5e7170e3. Please comment on that commit.