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 - Display custom grails scripts
Summary: Display custom grails scripts
Status: RESOLVED FIXED
Alias: None
Product: groovy
Classification: Unclassified
Component: Grails (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Petr Hejl
URL:
Keywords:
: 158183 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-21 22:40 UTC by schmidtm
Modified: 2009-02-19 20:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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