Search code examples
javanetbeansclasspathclassloaderrcp

NetBeans RCP application classpath


I am developing NetBeans RCP application. The application consists of several modules, all modules (and also the application project itself) are managed by maven. I need to add custom jar to the application classpath. Is there easy way to do it? Especialy, I need to add the classpaths of every module for the application to be able to load module dependencies as this:

ModuleXxx has dependency on LibXxx ModuleYyy has dependency on ModuleXxx

I need to get LibXxx jar path, which should be in the module classpath.

Thanks for any help.


Solution

  • I would have thought a simple Maven dependency from ModuleXxx to LibXxx should be enough. Did you try that? Any issues?