How can I customize the uninstallation process of Eclipse features?
Eclipse provides a mechanism to customize the installation pr开发者_JAVA技巧ocess of features. What is the counterpart mechanism for customizing the uninstallation of features. For example, how can I delete a folder in ".metadata/.plugins" folder when the user uninstalls a feature?
Since Eclipse 3.4, the mechanism to customize an install/uninstall are called Touchpoints. See http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/p2_actions_touchpoints.html for some more information.
But I don't think you can remove something from a workspace on uninstall ... even within one uninstall operation, you're only in that one workspace (and I use the director to install/uninstall, so I'm not near my development workspace at all).
精彩评论