Re: unable to see public package of my module
Boris Heithecker <[email protected]> Fri, 9 Jun 2017 21:22:39 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <CAL465RELCmimFN5RtHoRzr=hMXk4W4wd6FBpjCdczV89LnwwMg@mail.gmail.com> |
In "properties -> libraries" of your suite project, use "Add project" and select your dependency. Next, confirm that you want to add the whole (other) suite. Then go on and add all your dependencies as usual. Hope it helps. Boris 2017-06-09 20:10 GMT+02:00 Peter Cheung <[email protected]>: > 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]> > > Sent: Saturday, June 10, 2017 12:58 AM > > To: [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]> > > > Sent: Saturday, June 10, 2017 12:44 AM > > > To: [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 > > > -- Boris Heithecker Dr. Boris Heithecker Lüneburger Str. 30 28870 Ottersberg Tel.: 0 42 05/ 31 58 34