google-cloud-eclipse icon indicating copy to clipboard operation
google-cloud-eclipse copied to clipboard

Fix Java facet and Dynamic Web Module facet for newly created projects?

Open chanseokoh opened this issue 9 years ago • 3 comments

I noticed that standard WTP web projects created by the Dynamic Web Project wizard don't allow uninstalling the Java facet and the Dynamic Web Module facet:

selection_010

selection_011

Maybe we could do the same thing. Doing so could invalidate some problems such as #1160.

chanseokoh avatar Jan 06 '17 03:01 chanseokoh

I'm hesitant about preventing an end user from removing a facet. I'm not sure WTP is actually doing the right thing here. However perhaps removing one should remove the others? or you should have to remove the app engine facet before you can remove the other two?

elharo avatar Jan 07 '17 13:01 elharo

You should have to remove the app engine facet before you can remove the other two?

Yes, WTP ensures dependency requirements. (And you can remove all of them together.)

chanseokoh avatar Jan 08 '17 02:01 chanseokoh

One thing I forgot to say is that our App Engine projects (as well as the general WTP web projects) can't uninstall the JavaScript facet. (Users will see the same tool tip above.) This Java Script facet is auto-installed when the Dynamic Web Module facet is installed, and the auto-installation "fixes" the Java Script facet.

chanseokoh avatar Jan 08 '17 02:01 chanseokoh