tags:

views:

37

answers:

1

I have created a NetBeans module project and need to add a dependency on a JAR file I have created- is this possible? I only see the option to add a dependency on a nother module. I am using NetBeans 6.5.1.

THANKS!

A: 

Modules can only depend on other modules.

Create Library that references your class, then create a "Library Wrapper Module" that encapsulates the library as a module.

Devon_C_Miller
Is this restriction really true? Maybe NetBeans has valid reasons for it, but I just can't believe it.
m_pGladiator
Keep in mind that these are modules within the NetBeans platform. Not JSR-277 modules. Thus, any jars the module needs, must also be installable within the NB platform.
Devon_C_Miller
In 6.9 this is already changed and you can have simple jars directly.
m_pGladiator