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.

Bug 141077

Summary: Display custom grails scripts
Product: groovy Reporter: schmidtm <schmidtm>
Component: GrailsAssignee: Petr Hejl <phejl>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description schmidtm 2008-07-21 22:40:27 UTC
we used to display CustomScripts on Grails Project in the context-menu.

They have been removed through your latest UI-overhaul:

http://hg.netbeans.org/main/rev/42145b789a40

-        List<String> cmdlist = GrailsCustomScriptProvider.forProject(project).getCustomScripts();
-
-        // TODO somebody should listen for scripts changes
-        if (!cmdlist.isEmpty()) {
-            grailsCommandMenu.addSeparator();
-
-            for (String cmd : cmdlist) {
-                grailsCommandMenu.add(new GrailsTargetAction(project, cmd, cmd));
-            }
-        }


 We should keep on displaying those custom script (one way or another).
Comment 1 Petr Hejl 2008-12-11 10:28:13 UTC
We can fix this pretty easily. However we want to provide better UI for 7.0, so fixing it just to have the bug closed
for M1 does not make much sense.
Comment 2 Petr Hejl 2009-02-10 14:30:31 UTC
Fixed in main 8c36e3793b61.
Comment 3 Petr Hejl 2009-02-10 14:35:45 UTC
*** Issue 158183 has been marked as a duplicate of this issue. ***
Comment 4 Quality Engineering 2009-02-18 10:17:33 UTC
Integrated into 'main-golden', will be available in build *200902180201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/8c36e3793b61
User: phejl@netbeans.org
Log: #141077 Display custom grails scripts