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 243327 - Grunt tasks with 6 characters or less not shown under "Run Tasks"
Summary: Grunt tasks with 6 characters or less not shown under "Run Tasks"
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Project (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-27 14:37 UTC by jasny
Modified: 2014-04-26 04:51 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Gruntfile.js (10.14 KB, application/javascript)
2014-04-19 13:42 UTC, jasny
Details
package.json (1.78 KB, application/octet-stream)
2014-04-19 13:42 UTC, jasny
Details
grunt --help --no-color (5.88 KB, text/plain)
2014-04-22 06:25 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jasny 2014-03-27 14:37:36 UTC
Grunt tasks with names of 6 characters or less aren't displayed in the "Run Tasks" menu (right click Gruntfile.js).

  grunt.registerTask('abcdef', ['jekyll', 'dist-docs']);   // Not shown
  grunt.registerTask('abcdefg', ['jekyll', 'dist-docs']);  // Shown
Comment 1 Vladimir Riha 2014-04-04 07:05:03 UTC
Could you please attach Gruntfile.js and package.json? I cannot reproduce it, when I used the 2 lines above in my Gruntfile, both tasks have been displayed.

Please attach the files and reopen this issue. Thank you.


Product Version: NetBeans IDE 8.0 (Build 201403101706)
Java: 1.8.0; Java HotSpot(TM) Client VM 25.0-b70
Runtime: Java(TM) SE Runtime Environment 1.8.0-b132
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 2 jasny 2014-04-19 13:42:13 UTC
Created attachment 146839 [details]
Gruntfile.js
Comment 3 jasny 2014-04-19 13:42:39 UTC
Created attachment 146840 [details]
package.json
Comment 4 jasny 2014-04-19 13:45:12 UTC
With the attached Gruntfile, the tasks 'test', 'disc' and 'docs' aren't shown.
Comment 5 Vladimir Riha 2014-04-22 06:25:17 UTC
Thank you, reproducible with your setup.
Comment 6 Vladimir Riha 2014-04-22 06:25:59 UTC
Created attachment 146874 [details]
grunt --help --no-color

Here's output from grunt --help --no-color command
Comment 7 Jan Becicka 2014-04-25 10:29:06 UTC
Changeset: 2934858d64f5
Author:    Jan Becicka <jbecicka@netbeans.org>
Date:      2014-04-25 12:22
Message:
Comment 8 Quality Engineering 2014-04-26 04:51:29 UTC
Integrated into 'main-silver', will be available in build *201404260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2934858d64f5
User: Jan Becicka <jbecicka@netbeans.org>
Log: Issue #243327 - Grunt tasks with 6 characters or less not shown under "Run Tasks"