Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"rm -rf project" in Forge Console doesn't delete project #126

Closed
wants to merge 1 commit into from

Conversation

@koentsje
Copy link
Member

koentsje commented Dec 2, 2014

@maxandersen @fbricon @dgolovin Can any of you review this PR please?

@gastaldi
Copy link
Contributor

gastaldi commented Dec 3, 2014

The JIRA is JBIDE-18527

@@ -391,5 +399,19 @@ private IFile determinePomFile(Resource<?> resource) {
}
return result;
}

private void removeOrphanedProjects(IWorkspaceRoot workspaceRoot) {

This comment has been minimized.

Copy link
@fbricon

fbricon Dec 3, 2014

Member

I'm not overly thrilled by that. It's not forge's responsibility to cleanup all projects in eclipse

This comment has been minimized.

Copy link
@koentsje

koentsje Dec 4, 2014

Author Member

Unfortunately, there is currently no other API in Forge to determine which exact project was deleted. But IMO this solution is better then a user issuing a delete on a project and the project still being there afterwards albeit in a very ugly state. I am also not sure if there are scenarios where this piece of code can be harmful at all?

@koentsje koentsje closed this Mar 13, 2015
@koentsje koentsje deleted the koentsje:JBIDE-18527 branch Mar 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.