Yes, the strange think is, if I build a zip ("ant build") and extract it, I
can add it as a platform without problem.
But, as I said, adding the nbbuild/netbeans directly causes problems. The
folder is recognized as a platform and I can add it as a NetBeans platform,
but the modules list is either empty or contains only one single module
"RCP Platform".
This is inconvenient because I want to compile a platform application
against my own fork of the platform which I'm adapting at the same time. I
don't want to zip and extract every time I make a slight change to the
platform sources.
My guess is that the ant target "zip-cluster-config" causes the magic that
make the IDE recognize the modules, because this is what is called in
addition to "build-nozip".
I'm going to file an issue tonight.
BorisOn Tue, 22 Oct 2019 at 09:15, Geertjan Wielenga <[email protected]> wrote: > Are you able to register another NetBeans IDE as a NetBeans Platform > without a problem -- is it only when you try to register your own build of > the sources? > > Just trying to identify where the problem might be. > > Gj > > On Mon, Oct 21, 2019 at 8:45 PM Geertjan Wielenga <[email protected]> > wrote: > >> And we’re just writing to each other, everyone in the mailing list who >> could have helped is excluded. >> >> Gj >> >> On Mon, 21 Oct 2019 at 20:44, Geertjan Wielenga <[email protected]> >> wrote: >> >>> If you can write steps in the issue with full environment, not refer to >>> the blog but write your own steps, then yes please create an issue. Won’t >>> be fixed for 11.2 at this stage — please really use the beta phase for >>> identifying these kinds of problems. >>> >>> Gj >>> >>> On Mon, 21 Oct 2019 at 20:42, Boris Heithecker <[email protected]> >>> wrote: >>> >>>> I can reproduce the problem in 11.2-vc1, just tested. >>>> >>>> The steps to do this are outlined here: >>>> https://blogs.oracle.com/geertjan/netbeans-sources-as-a-platform >>>> Step 2 is the problem: although the IDE doesn't fail to register the >>>> platform (both are 11.2-vc1), the platform has only one module (in the >>>> "Modules" tab), which is "RCP Platform". >>>> >>>> Should I file an issue? >>>> >>>> Boris >>>> >>>> On Mon, 21 Oct 2019 at 18:00, Geertjan Wielenga <[email protected]> >>>> wrote: >>>> >>>>> Re registering a NetBeans Platform, can you try to reproduce in 11.2 >>>>> vc1? >>>>> >>>>> Gj >>>>> >>>>> On Mon, 21 Oct 2019 at 17:56, Geertjan Wielenga <[email protected]> >>>>> wrote: >>>>> >>>>>> Don’t do that. Instead, find the module you want to work on. Open >>>>>> that module. >>>>>> >>>>>> Gj >>>>>> >>>>>> On Mon, 21 Oct 2019 at 17:55, Boris Heithecker < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> Adding the folder "nbbuild/netbeans" as a NetBeans platform >>>>>>> ("Tools->NetBeans Platforms->Add platform") doesn't work anymore. >>>>>>> I can add the folder, but it shows only one module in the Modules >>>>>>> tab (RCP Platform). Sometimes no module is shown. >>>>>>> Is this a bug? Do I need to know something new? >>>>>>> Boris >>>>>>> >>>>>>> On Mon, 21 Oct 2019 at 17:44, Geertjan Wielenga <[email protected]> >>>>>>> wrote: >>>>>>> >>>>>>>> Just open the module you want to work with. Work on it. Run it. It >>>>>>>> will run on your build. >>>>>>>> >>>>>>>> Gj >>>>>>>> >>>>>>>> On Mon, 21 Oct 2019 at 17:43, Boris Heithecker < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>>>>> Hi all, >>>>>>>>> in NetBeans 11.1 IDE, I can't add the sources (nbbuild/netbeans) >>>>>>>>> as a >>>>>>>>> NetBeans platform. The build folder is recognized as a platform, >>>>>>>>> but after >>>>>>>>> running ant build-nozip only a small and varying number of modules >>>>>>>>> is >>>>>>>>> detected - sometimes one, sometime none at all. Is there anything >>>>>>>>> I need to >>>>>>>>> know? >>>>>>>>> Boris >>>>>>>>> >>>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Boris Heithecker >>>>>>> >>>>>>> >>>>>>> Dr. Boris Heithecker >>>>>>> Lüneburger Str. 30 >>>>>>> <https://www.google.com/maps/search/L%C3%BCneburger+Str.+30+28870+Ottersberg?entry=gmail&source=g> >>>>>>> 28870 Ottersberg >>>>>>> <https://www.google.com/maps/search/L%C3%BCneburger+Str.+30+28870+Ottersberg?entry=gmail&source=g> >>>>>>> Festnetz: +49 4205 315834 >>>>>>> Mobil: +49 170 6137015 >>>>>>> >>>>>> >>>> >>>> -- >>>> Boris Heithecker >>>> >>>> >>>> Dr. Boris Heithecker >>>> Lüneburger Str. 30 >>>> <https://www.google.com/maps/search/L%C3%BCneburger+Str.+30+28870+Ottersberg?entry=gmail&source=g> >>>> 28870 Ottersberg >>>> <https://www.google.com/maps/search/L%C3%BCneburger+Str.+30+28870+Ottersberg?entry=gmail&source=g> >>>> Festnetz: +49 4205 315834 >>>> Mobil: +49 170 6137015 >>>> >>> -- Boris Heithecker Dr. Boris Heithecker Lüneburger Str. 30 28870 Ottersberg Festnetz: +49 4205 315834 Mobil: +49 170 6137015
