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 244155 - HTML project actions connected to the Gruntfile
Summary: HTML project actions connected to the Gruntfile
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Project (show other bugs)
Version: 8.0.1
Hardware: All All
: P2 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks: 243729
  Show dependency tree
 
Reported: 2014-04-29 08:01 UTC by Martin Fousek
Modified: 2014-05-21 14:41 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Fousek 2014-04-29 08:01:53 UTC
If I use Gruntfile.js as a build script there would be nice to have somehow available its action thru the project context menu. And it depends whether there should be mapping Grunt <-> Netbeans Actions or only Grunt category within the project context menu, or the natural mapping by some naming conventions. Anything of them would be nice to have. Ideally including attaching the shortcut to the grunt task (action).

Thanks a lot.
Comment 1 Tomas Mysik 2014-04-30 12:52:07 UTC
IMHO it could be nice if one invokes some action (like Build etc.), the IDE would show dialog with task selection (with "Remember me" possiblity). This way, it would be kind of interactive and very easy to use I think.

Thanks.
Comment 2 Jan Becicka 2014-05-12 12:29:25 UTC
Maybe we ca resurrect Run/Build configuration. User will be allowed to configure which build steps are performed before opening the browser.
For instance "debug configuration" can be default and can do nothing and there will be "release configuration" which run release specific grunt tasks like closure compiler or uglify.
Comment 3 Jan Becicka 2014-05-21 14:41:57 UTC
Now grunt tasks can be mapped to Project Actions (Build, Clean, Clean and Build). Please take a look at it and file bugs and RFEs. Thanks