Re: unable to see public package of my module

Oliver Rettig <[email protected]> Sat, 10 Jun 2017 15:29:31 +0200
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Organization ORAT
Message-ID <1803727.IAaRIZhArf@l560>
Hi Peter,

it looks like your modules are not part of "Modules suites" but this is needed 
to defined define the dependency in the gui.

In the dialog you show, you can see that only modules of the netbeans platform 
are shown. You can filter by its  clusters. There is no possibility to choose a 
project which is not part of the netbeans platform.

If both modules are parts of "Modules suites" the situation is different. If 
both modules are part of the same suite you can directly add a dependency. If 
not you have first add the suite.

Maybe there is a way to work with dependency without adding the projects in 
suites by editing the xml-files by hand. But I havnt tried that.

best regards
Oliver

> Please take a look http://peter.kingofcoders.com/?p=2462 ,
> 
> thanks
> 
> Peter
> 
> 
> ________________________________
> From: geertjan wielenga <[email protected]>
> Sent: Saturday, June 10, 2017 3:27 AM
> To: [email protected]
> Subject: [platform-dev] Re: unable to see public package of my module
> 
> 
> 
> You can write lots of e-mails about this and never get an answer. Or you can
> describe step by step what someone should do to reproduce the problem or,
> even better, use GitHub to put your modules there with clear instructions
> how to use them to reproduce the problem.
 
> 
> Gj
> 
> On 9-6-2017 20:10, Peter Cheung wrote:
> 
> you have add the dependency from the suite to the other suite by gui?
> 
> 
> I try to use public package from Module A in Module B. All two module build
> without error, now i right click module B's library folder, click "add
> module dependency", i can't find module A in the list 😞
 
> 
> Thanks buddy
> 
> 
> 
> >
> >
> >
> > ________________________________
> > From: Oliver Rettig <[email protected]><mailto:[email protected]>
> > Sent: Saturday, June 10, 2017 12:58 AM
> > To: [email protected]<mailto:[email protected]>
> > Subject: [platform-dev] Re: unable to see public package of my module
> >
> >
> >
> > both modules are in the same suite?
> > both modules are ant-based?
> >
> >
> >
> > > Both no error. Tried clean and rebuild many times. Just don't
> > > understand
> > > why other module can't see its public packages.
> > >
> > >
> > >
> > > Peter.
> > >
> > >
> > >
> > >
> > > ________________________________
> > > From: Oliver Rettig
> > > <[email protected]><mailto:[email protected]>
> > > Sent: Saturday, June 10, 2017 12:44 AM
> > > To: [email protected]<mailto:[email protected]>
> > > Subject: [platform-dev] Re: unable to see public package of my module
> > >
> > >
> > >
> > > Hi,
> > > have you clean and build both projects without errors?
> > > best regards
> > > Oliver
> > >
> > >
> > >
> > > > Hi
> > > >
> > > >
> > > >
> > > >    I create a module project (not maven), i have set the public
> > > >    package
> > > >    in
> > > >
> > > >
> > > >
> > > > the dialog (just checked my package). I verified the MANIFEST.MF from
> > > > the
> > > > generate jar has this:
> > > >
> > > >
> > > >
> > > >
> > > > OpenIDE-Module-Public-Packages: com.peter.mavenrunner.service.*
> > > >
> > > >
> > > >
> > > >
> > > > I create another module and click "Add module dependency", and i type
> > > > com.peter.mavenrunner.service i see nothing, any hints?
> > > >
> > > >
> > > >
> > > >
> > > > thanks a lot
> > > >
> > > >
> > > >
> > > > from Peter
> 
> 
> 
>