Netbeans (OpenJdk Native project) on Windows - how to set up source directories
Thomas Stüfe
thomas.stuefe at gmail.com
Wed Jun 7 07:23:36 UTC 2017
Hi all,
I am attempting to use Netbeans on Windows. I work with the
common/nb_native project (currently from jdk10/hs). I worked with CDS
Eclipse before, and this is my first attempt to use Netbeans.
Code assistance works well enough for shared coding out of the box to do
some serious editing even without tweaking anything, which is nice.
I first use the Mac64 configuration, now I try to add a real Windows
configuration.
I do not attempt to build from within Netbeans. I have the OpenJDK windows
build working in cygwin, and that is good enough for me. I only need an
editor with good C++ refactoring.
So I attempt to do the same I would do in CDS:
1) define which sources are to be parsed (shared, os/windows,
os_cpu/windows_x86...)
2) Set include paths and Preprocessor definitions.
Point (2) is not complicated, but Point (1) has me stumped. In Eclipse, I
can set up source directories the same way I would set up include paths,
but I cannot find the setting in Netbeans.
I see that different configurations do include or exclude their specific
source folder. Like, on Mac64 configuration, os/bsd and os/posix are black,
the rest is greyed out. But how is this done? Where do I define which
source folders are to be parsed for which configuration?
Thanks a lot!
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nb-projects-dev/attachments/20170607/10b782ee/attachment.html>
More information about the nb-projects-dev
mailing list