FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Module dependency

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users
View previous topic :: View next topic  
Author Message
jenh



Joined: 28 Jul 2009
Posts: 7

PostPosted: Wed Nov 04, 2009 5:13 pm    Post subject: Module dependency Reply with quote

Hi,

I have created a module in NetBeans that I want to depend on commons-math-1.2.jar. I created a library wrapper module for the jar file and tried to add the wrapper module as a dependency in my original module, but it's not in the list of available modules. What do I have to do to add this .jar file?
Back to top
View user's profile Send private message
henryas



Joined: 02 Nov 2009
Posts: 2

PostPosted: Thu Nov 05, 2009 5:39 am    Post subject: Reply with quote

Hmm ...

When you right-click on the wrapper module, go to Properties>API Versioning, do you see all the necessary packages checked as being public?

Normally, when you create a library wrapper module, you should have them automatically checked as being public.

Make sure they are checked, and try to add the dependency again.
Back to top
View user's profile Send private message
jenh



Joined: 28 Jul 2009
Posts: 7

PostPosted: Thu Nov 05, 2009 3:54 pm    Post subject: Reply with quote

henryas wrote:
Hmm ...

When you right-click on the wrapper module, go to Properties>API Versioning, do you see all the necessary packages checked as being public?

Normally, when you create a library wrapper module, you should have them automatically checked as being public.

Make sure they are checked, and try to add the dependency again.


Yes, they are all public. I guess my real question is whether both the wrapper module and the module that depends on the wrapper need to be part of a module suite. I am able to set the dependency in that case, but not when I am working with a standalone module.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB