Community
Participate
Working Groups
Build Identifier: 20090920-1017 In dynamic web application facets, refreshing project from Project Explorer closes an open Web Resources folder in Project Explorer. It doesn't matter where you click (within the same project or in other project). Not big of a deal but reduces usability, as the view has be continually reopened or then navigation has to be done via actual folders, effectively eliminating the point of the Web Resources folder. Reproducible: Always Steps to Reproduce: 1. Create a dynamic web project (with defaults, for example) 2. Open project and its Web Resources folder in Project Explorer 3. Select any item in Project Explorer 4. Click F5 or select right-click > refresh to refresh ==> Web Resources folder closes
Assigning to Kaloyan for the initial investigation.
I cannot reproduce this with Galileo SR1. I assume by saying "Web Resource folder" you mean "WebContent folder". Or, may be I am wrong? Do you use pure Eclipse WTP IDE, or you use an adopter's distribution?
Created attachment 154814 [details] Shows Web Resources shortcut in Project Explorer
No you are not mistaken, I am. I tested this on Java EE dist of Eclipse, 3.5 SR1... However, now that I installed a clean Java EE distribution, I see the Web Resources folder is not bundled with it. It seems this feature comes with m2eclipse-plugin instead (the part of it that's called 'Maven Integration for WTP'). See attached screenshot for how it looks. It seems this feature is automatically turned on for every dynamic web project, whether it is using m2eclipse-integration or not. I guess that's why I thought the feature came with WTP. Conclusions: not a bug in WTP, but a bug in m2eclipse instead. I will open a ticket about this in their issue tracker instead. Come to think of it, I think this feature _should_ be included in WTP instead. The reason would be the same: if user does not want to create the WebContent-folder directly on the root level but in a sub-folder instead (for example src/main/webapp as is the convention with Maven), it would be nice to have this Web Resources shortcut shown in Package Explorer to directly access that folder. (see attachment for screen capture of the feature).
catapl3xis, as you determined, the bug you reported is not a WTP bug- it is an m2eclipse one. But you also mentioned how you would like the same "Web Resources" functionality in WTP. So, to clarify - are you stating that this bug should become an enhancement request? Or can we just close it?
There is actually a long standing enhancement bug 154251 about Maven2 integration in WTP. I suggest to continue any discussion about Maven and WTP there.
@ Kaloyan: thanks for the link, however, I find that chain of discussion very generic considered to this report. Do you think I should report this issue there? @ Carl: Yes, I think this feature is key functionality for any WTP developer and not only for those using m2eclipse. Therefore I suggest this feature to be moved directly into WTP. So yes, I am stating that this bug report should be turned into an enhancement request.
catapl3xis, for the sake of clarity I would recommend to keep the current bug as a closed bug and not turn it into enhancement. Could you check if bug 205408 is what you are asking for enhancement? If not, please submit new enhancement request.
(In reply to comment #8) > catapl3xis, for the sake of clarity I would recommend to keep the current bug > as a closed bug and not turn it into enhancement. > > Could you check if bug 205408 is what you are asking for enhancement? > If not, please submit new enhancement request. Sorry, lost track of this due to my spam filter. Yes, bug 205408 points to the exactly same functionality so we can leave this ticket as resolved. Thanks.