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 256926 - honor the grunt --tasks option when reloading tasks
Summary: honor the grunt --tasks option when reloading tasks
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Tools (show other bugs)
Version: 8.1
Hardware: All All
: P1 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-02 14:09 UTC by Tomas Stupka
Modified: 2015-12-08 05:45 UTC (History)
1 user (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 Tomas Stupka 2015-12-02 14:09:32 UTC
Product Version = NetBeans IDE Dev (Build 20151202-e62165a28afa)
Operating System = Mac OS X version 10.10.5 running on x86_64
Java; VM; Vendor = 1.8.0_60-ea
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.60-b07

Reproducibility: Happens every time

see html5 project ctx menu > grunt tasks > reload task
grunt --help is executed on the background, parsed and existing grunt tasks are listed in the grunt tasks menu

when running grunt additional directory paths to scan for tasks can specified, but there is no way to do so in the IDE 

grunt --help --tasks {path}
Comment 1 Tomas Mysik 2015-12-03 07:34:44 UTC
(In reply to Tomas Stupka from comment #0)
> grunt --help --tasks {path}

If I understand it correctly, more paths can be provided using:

--tasks {path1} --tasks {path2} etc.

Let me know if I am wrong. Thanks.
Comment 2 Tomas Stupka 2015-12-03 08:43:32 UTC
(In reply to Tomas Mysik from comment #1)
> (In reply to Tomas Stupka from comment #0)
> > grunt --help --tasks {path}
> 
> If I understand it correctly, more paths can be provided using:
seems so

$grunt --help
...
--tasks  Additional directory paths to scan for task and "extra" files.(grunt.loadTasks) *                  

> --tasks {path1} --tasks {path2} etc.
or maybe --tasks {path1} {path2}  
don't know, did not try
Comment 3 Tomas Mysik 2015-12-07 06:47:25 UTC
Should be done now, please verify. Thanks.

http://hg.netbeans.org/web-main/rev/ce628d8da869
Comment 4 Quality Engineering 2015-12-08 05:45:36 UTC
Integrated into 'main-silver', will be available in build *201512080311* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ce628d8da869
User: Tomas Mysik <tmysik@netbeans.org>
Log: #256926 - honor the grunt --tasks option when reloading tasks