Re: How to manage "Platform Modules" in a Maven-based NetBeans Platform application?

2021-08-25 Thread Chris Marusich
Hi Eirik, Eirik Bakke writes: > There are usually two kinds of modules you will need to add: "API" > modules (typically groupId org.netbeans.api), and implementation > modules (typically groupId org.netbeans.modules). The API modules you > can find by typing the name of the class you need to

Re: How to manage "Platform Modules" in a Maven-based NetBeans Platform application?

2021-08-25 Thread Chris Marusich
Hi Geertjan, Geertjan Wielenga writes: > It really depends on what you’re trying to develop. > > Put aside the theory and ask yourself practically what it is you’re working > towards and what kind of functionality you need from the NetBeans Platform. > > Based on those requirements, assemble

How to manage "Platform Modules" in a Maven-based NetBeans Platform application?

2021-08-23 Thread Chris Marusich
Hi, I'm experimenting with ways to build NetBeans Platform applications. I'm still new to the platform. I've been told that Maven is the way to go [1]. That's great; I like Maven and have used it for years. However, I'm having trouble understanding how to use (or exclude) NetBeans Platform

Re: NetBeans Platform "Golden Path"

2021-07-12 Thread Chris Marusich
Hi everyone, Thank you very much for the thoughtful replies. It's very helpful to hear about how others do things. It sounds like I am probably making my life more difficult than it needs to be by choosing to use JPMS modules. Personally, I believe that as JPMS modules are adopted more and

NetBeans Platform "Golden Path"

2021-07-07 Thread Chris Marusich
Hi, What's the current "best practice" or "golden path" for building and distributing a NetBeans Platform application and managing its dependencies (e.g., from Maven central)? That's a big general question, so I'll ask some specifics: - Should I ever try to use JPMS modules when building a

Re: Javadoc generation from within NetBeans

2021-02-20 Thread Chris Marusich
Hi Glenn, Glenn Holmer writes: > Is anybody else having trouble getting NetBeans to generate Javadoc? > I've got a modular project (source level 11) that builds and runs > successfully (other programs can call into it by declaring the > module), but when I click "Generate Javadoc" from the

[java] Matisse fails to add custom JPanel if module-info.java exists

2020-10-29 Thread Chris Marusich
Hi, Matisse, the NetBeans GUI designer, won't let me add a custom JPanel (or any kind of custom swing component, really) to a JFrame. It errors out. It errors out only when I declare a module-info.java in my project, which is a Maven-based project. However, it works just fine when I remove the