Jigsaw
m (removed gratuitous hyperlinks) |
|||
Line 1: | Line 1: | ||
- | [http://openjdk.java.net/projects/jigsaw/ Jigsaw] is going to be the [[apidesign:Module_system|module system]] for | + | [http://openjdk.java.net/projects/jigsaw/ Jigsaw] is going to be the [[apidesign:Module_system|module system]] for Java 8 and NetBeans would like to be one of the first supporters of Java 8. As such it makes sense to make NetBeans IDE the ultimate UI for developing projects using Jigsaw. |
To get clearer understanding what it means, here is a list of use cases that the IDE would like support. | To get clearer understanding what it means, here is a list of use cases that the IDE would like support. | ||
Line 5: | Line 5: | ||
== From Source to Native Package == | == From Source to Native Package == | ||
- | Download sources ready for | + | Download sources ready for Jigsaw. Locate root folder with <code>module-info.java</code>. Open the project up. NetBeans IDE resolves the dependencies and downloads necessary module libraries in the right version from the central repository. All sources seem to be without any errors. Choose ''build distribution'' action. All sources are compiled, packaged into jmod modules and appripriate .rpm, .deb and something for windows is generated. |
- | ''Question'': Is this the right approach? What API from | + | ''Question'': Is this the right approach? What API from JDK 8 would be used to achieve the same from command line? |
== Sources with Native Code == | == Sources with Native Code == | ||
- | I have a desire to develop module that will contain some JNI code written in C++. How should I structure my | + | I have a desire to develop module that will contain some JNI code written in C++. How should I structure my Java and C++ sources? What tools to use to produce the final jmod module? |
== More to Come... == | == More to Come... == | ||
- | + | TBD |
Revision as of 20:18, 9 January 2012
Jigsaw is going to be the module system for Java 8 and NetBeans would like to be one of the first supporters of Java 8. As such it makes sense to make NetBeans IDE the ultimate UI for developing projects using Jigsaw.
To get clearer understanding what it means, here is a list of use cases that the IDE would like support.
From Source to Native Package
Download sources ready for Jigsaw. Locate root folder with module-info.java
. Open the project up. NetBeans IDE resolves the dependencies and downloads necessary module libraries in the right version from the central repository. All sources seem to be without any errors. Choose build distribution action. All sources are compiled, packaged into jmod modules and appripriate .rpm, .deb and something for windows is generated.
Question: Is this the right approach? What API from JDK 8 would be used to achieve the same from command line?
Sources with Native Code
I have a desire to develop module that will contain some JNI code written in C++. How should I structure my Java and C++ sources? What tools to use to produce the final jmod module?
More to Come...
TBD