Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumsmodifying facet constraints programmatically
https://www.eclipse.org/forums/index.php/mv/msg/180357/572157/#msg_572157
I had a question regarding WTP facets that I was hoping someone might be able to help me with.
I work on a project that adds a custom facet to a dynamic web project, along with a certain number of required prerequisites. Some time after the project is created, I need to be able to remove some of those required facets programmatically as part of project maintenance. I am running into a problem, however, because understandably "One or more constraints have not been satisfied." So my question is: is there any way to programmatically modify the project's constraints so that I can remove required facets (or add conflicting ones)?
I really appreciate any help or direction you can offer in this regard.