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 232243 - Replace or complement Javascript libraries with Webjars
Summary: Replace or complement Javascript libraries with Webjars
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Jan Stola
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-04 05:11 UTC by _ gtzabari
Modified: 2015-04-28 13:22 UTC (History)
3 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 _ gtzabari 2013-07-04 05:11:03 UTC
It's nice to read about the new http://wiki.netbeans.org/NewAndNoteWorthy#JavaScript_Libraries feature but there is a better, preexisting alternative: http://webjars.org/

Please consider replacing or complementing this feature with webjars which piggyback on existing mechanisms and are very well supported by the community.
Comment 1 _ wadechandler 2015-04-28 01:32:12 UTC
I very much agree that support for webjars is needed. Webjars is a really great way for Java projects to include JS artifacts as they do Java ones (versioned and all), and is a good step to have first class JS dependency support in Java apps.
Comment 2 _ wadechandler 2015-04-28 01:33:45 UTC
What would it take for a 3rd party plugin to be able to add support for JS inside of JAR files, packaged in specific folders, to the IDEs notion of JS libraries at a project level? I will try to take a stab at it if someone can get me started...documentation or some simple example.

Thanks much
Comment 3 _ wadechandler 2015-04-28 13:22:44 UTC
Can anyone tell me the class which is the extension point to extend or implement which allows plugins to add resource paths for JS files to a project? Is there any special magic other than what I'm asking for to index such files and get code completion? I didn't see docs on the JS support APIs which gave me direct info. Thank you much.