This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Build 200501301900 1) Have a WebApp 2) Open context menu (in Projects view) on a JSP file 3) ERROR: Missing actions: - Compile - Run file - Debug file Note: see similar actions in java file context menu.
Menu items are present in build 200501271900 - probably a side effect of a commit?
*** Issue 54820 has been marked as a duplicate of this issue. ***
Please note that this applies also to HTML editor.
I'll try to help with this.
Issue 52124 is similar (in editor context menu).
Ok, reassigned as well. Started... Patch follows... If you don't like the patch let me know. Otherwise I will commit it. I've used layer-declarative approach for all actions. I would like to also remove duplicating of commons actions for html and x-jsp. It would be possible with xml entities or another xml related approach as I was hint by Yarda.
Created attachment 20481 [details] patch
Created attachment 20482 [details] patch
Ups, sorry for double-submit of the patch...
seems to be OK to me. Only one question: Shouldn't be the actions declarations for HTML DO present in html module layer insted of jsp module???
Yes, you are right. Only part of them which doesn't belong to the web project only (run, debug). So I distributed them across both modules - html, web/project - and replace "incode" style with layer declarative approach. Fixed. Checking in html/src/org/netbeans/modules/html/HtmlLoader.java; new revision: 1.39; previous revision: 1.38 Checking in html/src/org/netbeans/modules/html/mf-layer.xml; new revision: 1.8; previous revision: 1.7 Checking in web/core/src/org/netbeans/modules/web/core/jsploader/JspLoader.java; new revision: 1.20; previous revision: 1.19 Checking in web/project/src/org/netbeans/modules/web/project/ui/resources/layer.xml; new revision: 1.17; previous revision: 1.16
Verified in 200502241900.
*** Issue 55619 has been marked as a duplicate of this issue. ***