I use Maven. Does this make a difference?

Honestly speaking wrapping each plan Java  module is quite a lit if work and putting them all in one wrapper module is also not a good idea (I have 40 of them).

However, I understand that Netbeans has to track the dependencies so I will wrap each module. Makes more sense to me.

Thanks.

Netcrystals
 

Von: Neil C Smith <neilcsm...@apache.org>
Gesendet: Dienstag, Jänner 31, 2023 5:21 PM
An: ad...@netcrystals.at <ad...@netcrystals.at>
Cc: users@netbeans.apache.org <users@netbeans.apache.org>
Betreff: Re: A plain Java module shared between multiple Netbeans modules
 
On Tue, 31 Jan 2023 at 15:53, Admin Netcrystals
<ad...@netcrystals.at.invalid> wrote:
> I have got a question regarding modules in Rich Client Platform.
>
> I have got some plain Java modules. They are not related to Netbeans in any way. They are general libraries. Lets call them A, B and C.
>
> Now, I program a Netbeans program having two Netbeans Modules, lets say NX an NY.
>
> NX needs A and B, so I add them.
> NY needs B and C, so I add them.
>
> The problem is that if NX and NY are added to the platform B is loaded twice.
>
> I suppose that I have to set the scope of B to provided in either NX or NY. However, this seems to be steange to me.
>
> Can someone tell me the correct way?

Check out -

https://netbeans.apache.org/wiki/DevFaqWrapperModules.html
https://netbeans.apache.org/wiki/DevFaqWhenUseWrapperModule.html

Are you using an Ant or Maven project for the RCP?

Best wishes,

Neil
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to