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 269389 (NodejsInJEEProj) - Nodejs script execution in JEE App not working
Summary: Nodejs script execution in JEE App not working
Status: RESOLVED INVALID
Alias: NodejsInJEEProj
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-19 09:24 UTC by DaltonNotetech
Modified: 2017-01-02 09:23 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 DaltonNotetech 2016-12-19 09:24:42 UTC
Add support for running nodejs project inside java web application.

I have package.json in my java web application. So I can do npm install.
Also netbeans is listing scripts in 'npm scripts' menu. But those scripts don't get executed.

Note: I can execute them if it is an HTML project. Problem is only in JEE project.

If possible, Add support for webpack2 in nodejs app.

Is it possible to execute those scripts during project build process???
Comment 1 DaltonNotetech 2016-12-19 09:30:35 UTC
"Is it possible to execute those scripts during project build process???"

I mean is it possible to run those npm scripts in maven JEE project automatically by editing pom.xml using some plugin?
Comment 2 Tomas Mysik 2017-01-02 09:23:13 UTC
First of all, please, do not mix several issues into one report. Report each issue as a new report. Thanks.

(In reply to DaltonNotetech from comment #0)
> Add support for running nodejs project inside java web application.

We do not plan to do it, sorry. Currently, we support only HTML5 project which is expected and usual, I would say.

> I have package.json in my java web application. So I can do npm install.
> Also netbeans is listing scripts in 'npm scripts' menu. But those scripts
> don't get executed.

What happens exactly?

> If possible, Add support for webpack2 in nodejs app.

Please, report it as a new enhancement.

> Is it possible to execute those scripts during project build process???

No, sorry.

Thanks for reporting.