Will, Felix is a fabulous environment. I have a client application running 33 NB projects. I use Maven to copy the jar file to the directory where Felix expects to find them. Felix is very flexible. There are many features you can pick and choose from. If you know OSGi it's a piece of cake. If you don't know OSGi there's a learning curve but well worth the effort. So easy to self-update the client to the latest version, etc. I highly recommend you pursue Felix(OSGi) if you have a complex client environment. My client starts with the click of a desktop icon after compiling a project(s) and includes the newest version of each project. Client is based on JavaFX.
Following is the "script" behind the desktop icon: java --module-path modules:modules/javafx-sdk-21/lib --add-modules=ALL-MODULE-PATH com.yrs.dealer.client.agent.YRSDealerAgent Hard to get simpler than that for running a client application. On Tue, Mar 11, 2025 at 11:00 AM Will Hartung <willhart...@gmail.com> wrote: > Curious how folks doing OSGI work are doing their workflow with Maven. > > OSGI is all about the modules and, typically, each module is its own > project. > > I can see having a parent project with all of the modules, which makes it > easy to rebuild everything, but also wanting to just build the individual > modules. > > But, also, in the generic NB workflow, you work on your project, and hit > Run and magic happens. > > With OSGI, though, especially working with Karaf or even raw Felix, you > don't have an "application", you just have modules that are loaded into the > runtime. > > And to get it to work, you have to copy all of the modules to the right > place, and then start Felix (or whatever), or at least reload the modules. > > It just seems to me, out of the box, you kind of just give up things like > just click "Run" or "Debug" or any of the other runtime options. > > Does anyone use custom maven goals to help with that? Do you just flip > over to a command line to run a script to gather everything up? > > Just curious what the day to day life for OSGI under NB is like. > > Thanks! > > Regards, > > Will Hartung > >