Building "Source Code" on any Java based IDE in windows.

34 views
Skip to first unread message

Dilip Manjunath

unread,
Sep 22, 2014, 7:01:47 AM9/22/14
to nod...@googlegroups.com
Can somebody tell me how to build and compile the "NodeJS Source code" on and Java based IDE(ex. Eclipse, VXWorks).

Aria Stewart

unread,
Sep 22, 2014, 11:05:08 AM9/22/14
to nod...@googlegroups.com
On Monday, September 22, 2014 7:01:47 AM UTC-4, Dilip Manjunath wrote:
Can somebody tell me how to build and compile the "NodeJS Source code" on and Java based IDE(ex. Eclipse, VXWorks).

Is there a reason you want to use a java-based IDE?

Node's build system is written using gyp and some scripts, and since there's no java in it, an entirely different toolchain. (For the record, node.js is C++ and Javascript)

If you can configure your IDE to run the commands to do the build, it shouldn't be hard, but I don't think you're going to get the deep integration you might expect in an IDE-based project.

What are you trying to accomplish?

Aria

Ben Noordhuis

unread,
Sep 22, 2014, 12:09:28 PM9/22/14
to nod...@googlegroups.com
You can't officially but unofficially:

- open the configure file
- scroll down to the bottom
- find the line that says: gyp_args += ['-f', 'msvs', '-G', 'msvs_version=auto']
- replace it with: gyp_args += ['-f', 'eclipse'] (it's python,
indentation matters.)
- save and run ./configure

That will write a eclipse-cdt-settings.xml file to the top-level
directory or out/ that you can import. Good luck.
Reply all
Reply to author
Forward
0 new messages