Re: unable to see public package of my module

Peter Cheung <[email protected]> Sat, 10 Jun 2017 14:59:37 +0000
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <HK2PR0401MB1427E04119714F7CD3EB9514B5CF0@HK2PR0401MB1427.apcprd04.prod.outlook.com>
Hi Gj
    There are two independent modules on https://github.com/mcheung63/netbeans-questions . Test-module is trying to add module dependency from “MavenRunner” module, but unable to find it out in the dialog.
thanks
from Peter


On 10 Jun 2017, at 3:08 PM, geertjan wielenga <[email protected]<mailto:[email protected]>> wrote:


Code on GitHub, with instructions how to use them to reproduce the problem, otherwise I can't help.

Gj

On 10-6-2017 5:34, Peter Cheung wrote:
Please take a look http://peter.kingofcoders.com/?p=2462 ,
thanks
Peter


________________________________
From: geertjan wielenga <[email protected]><mailto:[email protected]>
Sent: Saturday, June 10, 2017 3:27 AM
To: [email protected]<mailto:[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