Re: Fwd: Netbeans Platform and Jigsaw

2023-09-26 Thread Michael Bien

Hi,

we have a short wiki article for this:
https://cwiki.apache.org/confluence/display/NETBEANS/Java+Module+System+and+NetBeans+Platform+Applications

what you could do while migrating a platform app is to simply start with 
the same flags NetBeans is using. Once you are done and all your tests 
are green you remove the flags and add only those your application needs.


best regards,
michael


On 26.09.23 21:20, Jean-Marc Borer wrote:

Hi there,

We are planning to migrate from Java 8 and NB 12.4 to Java 17 and NB 19. I
know it works as I run my IDE 19 with Java 17.

Now there is Jigsaw

I there some documentation how to compile Netbeans Platform applications
with JDK 9+ and Maven?

I am trying to understand how Jigsaw modules and the Netbeans modules
(specifically the class loading) can work together (or not).

The thing that I observed is that most (all?) JDK modules are added to the
module path (so completely opened) in the netbeans.conf file.

As I spent some time hacking around with NB platform, dependencies and
Maven, I fear that I will get a lot of issues related to Jigsaw during this
migration attempt.

Any information? Thx in advance for any input

PS: Yes I asked on the user list as well, but I finally found that this is
a better place to ask...




-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Fwd: Netbeans Platform and Jigsaw

2023-09-26 Thread Jean-Marc Borer
Hi there,

We are planning to migrate from Java 8 and NB 12.4 to Java 17 and NB 19. I
know it works as I run my IDE 19 with Java 17.

Now there is Jigsaw

I there some documentation how to compile Netbeans Platform applications
with JDK 9+ and Maven?

I am trying to understand how Jigsaw modules and the Netbeans modules
(specifically the class loading) can work together (or not).

The thing that I observed is that most (all?) JDK modules are added to the
module path (so completely opened) in the netbeans.conf file.

As I spent some time hacking around with NB platform, dependencies and
Maven, I fear that I will get a lot of issues related to Jigsaw during this
migration attempt.

Any information? Thx in advance for any input

PS: Yes I asked on the user list as well, but I finally found that this is
a better place to ask...