In the main menu, go to File | New Project.

What are the Categories that you see there?

Opening the whole repo as a project, except as an Ant Freeform project, is
not supported -- as pointed out above, the project.xml in nbbuild defines
an Ant Freeform project.

However, opening individual modules is definitely possible -- assuming you
have installed NetBeans with Java support, i.e., then you'll have "NetBeans
Modules" in the Categories list in the New Project dialog.

Gj

On Sun, Nov 26, 2017 at 12:03 PM, Martin Dindoffer <[email protected]>
wrote:

> Yes, that's correct. I am trying to open either the whole netbeans git repo
> as a project,
> or at least a specific module, such as the core.network.
> But again, when I try to do that the IDE won't let me -
> https://imgur.com/OHMaD0z
> Perhaps there's a mandatory plugin that I am missing? No info in the logs,
> cloned correctly, builds fine.
>
> As for the skype call - I am currently travelling so not an option today.
> But thanks for willingnes Gj!
>
> 2017-11-26 12:01 GMT+01:00 Geertjan Wielenga <
> [email protected]>:
>
> > Indeed, in the project.xml of 'nbbuild/nbproject/project.xm', it's clear
> > that the project is a org.netbeans.modules.ant.freeform project, so the
> > result that you've shown in your screenshots is correct. But the question
> > is what's the problem with that?
> >
> > Gj
> >
> > On Sun, Nov 26, 2017 at 11:51 AM, Geertjan Wielenga <
> > [email protected]> wrote:
> >
> > > What is it actually that you're trying to achieve? I.e., you want to
> work
> > > on the core.network module, for example? That's a NetBeans module and
> you
> > > should be able to open that into NetBeans IDE and work on it. Just
> tried
> > > that, no problem.
> > >
> > > Gj
> > >
> > > On Sun, Nov 26, 2017 at 11:12 AM, Geertjan Wielenga <
> > > [email protected]> wrote:
> > >
> > >> Or, better still, I'll make a quick YouTube clip to explain it.
> > >>
> > >> Gj
> > >>
> > >> On Sun, Nov 26, 2017 at 11:11 AM, Geertjan Wielenga <
> > >> [email protected]> wrote:
> > >>
> > >>>
> > >>>
> > >>> On Sun, Nov 26, 2017 at 11:07 AM, Martin Dindoffer <
> > [email protected]
> > >>> > wrote:
> > >>>
> > >>>> I'm using the oracle nightly build simply because at the time,
> > >>>> many fixes and commits were not backported to the apache version.
> > >>>>
> > >>>
> > >>>
> > >>> Nope, not true. Heaps have been backported over the past weeks.
> > >>>
> > >>>
> > >>>
> > >>>> Which I think is still the case, or at least has been until earlier
> > this
> > >>>> week.
> > >>>> I am not aware of any commits related to ant project handling
> > >>>> or the nb build system per se, so is there really a point in trying
> > >>>> to use the apache builds?
> > >>>>
> > >>>> Nevertheless, I've tried it just now and I am experiencing
> > >>>> the very same issues as with the oracle build.
> > >>>>
> > >>>
> > >>>
> > >>> Maybe I can take a look via a quick Skype call with you?
> > >>>
> > >>> Thanks,
> > >>>
> > >>> Gj
> > >>>
> > >>>
> > >>>
> > >>>>
> > >>>> Thanks
> > >>>>
> > >>>> 2017-11-26 10:51 GMT+01:00 Geertjan Wielenga <
> > >>>> [email protected]>:
> > >>>>
> > >>>> > Why are you "using the Oracle nightly build from 2017-07-22"?
> > Instead,
> > >>>> > please use Apache NetBeans:
> > >>>> >
> > >>>> > github.com/apache/incubator-netbeans
> > >>>> >
> > >>>> > Thanks,
> > >>>> >
> > >>>> > Gj
> > >>>> >
> > >>>> > On Sat, Nov 25, 2017 at 6:17 PM, Martin Dindoffer <
> > >>>> [email protected]>
> > >>>> > wrote:
> > >>>> >
> > >>>> > > The nbbuild project can be opened with no problems. The
> > build-nozip
> > >>>> > target
> > >>>> > > on the nbbuild runs OK, but I see no difference.
> > >>>> > >
> > >>>> > > This is how the netbeans project looks like when opened as a
> whole
> > >>>> top
> > >>>> > > level project:
> > >>>> > > https://imgur.com/GIZTkBY
> > >>>> > > The nbbuild project view:
> > >>>> > > https://imgur.com/tph5uyA
> > >>>> > > The Open Project window when opening a submodule:
> > >>>> > > https://imgur.com/OHMaD0z
> > >>>> > >
> > >>>> > > The "ant tryme" cmd works just fine and opens the just-built
> IDE.
> > >>>> > >
> > >>>> > > BTW I am not using 8.2 release, I'm using the Oracle nightly
> build
> > >>>> from
> > >>>> > > 2017-07-22
> > >>>> > > with updates (which is virtually the same as the latest build).
> > >>>> > > I don't see anything relevant in the messages.log file. There's
> > >>>> just 1
> > >>>> > > exception related
> > >>>> > > to missing easyPMD profile when starting up and some info
> messages
> > >>>> > > probably due to rebuilding the cache.
> > >>>> > > The log: https://pastebin.com/eub7Y4fe
> > >>>> > >
> > >>>> > > 2017-11-25 11:29 GMT+01:00 John McDonnell <
> > [email protected]
> > >>>> >:
> > >>>> > >
> > >>>> > > > How about opening the nbbuild project?
> > >>>> > > >
> > >>>> > > > If that opens fine, attempt the 'build-nozip' target (its the
> > >>>> same as
> > >>>> > > > what you've done from the command line but you never know...).
> > >>>> That
> > >>>> > > > should build Apache NetBeans 9 ide from sources.  From there I
> > >>>> would
> > >>>> > > > then attempt to try opening up the 'core.network' from your
> > >>>> NetBeans
> > >>>> > > > 8.2 instance and see what happens.
> > >>>> > > >
> > >>>> > > > Any other info in the logs? Look here to see where the log
> files
> > >>>> are
> > >>>> > > > for NetBeans: http://wiki.netbeans.org/FaqLogMessagesFile
> > >>>> > > >
> > >>>> > > > When you were running ant from the command line, did you try
> an
> > >>>> 'ant
> > >>>> > > > tryme' command?  any issues with NetBeans starting?
> > >>>> > > >
> > >>>> > > > John
> > >>>> > > >
> > >>>> > > >
> > >>>> > > > On 25 November 2017 at 09:50, Martin Dindoffer <
> > >>>> [email protected]>
> > >>>> > > > wrote:
> > >>>> > > > > I've thought so as well. But I've cloned twice and deleted
> the
> > >>>> > Netbeans
> > >>>> > > > > cache.
> > >>>> > > > > Any ideas what could be the culprit?
> > >>>> > > > > Ant 1.10.1 / Win
> > >>>> > > > >
> > >>>> > > > > 2017-11-24 22:58 GMT+01:00 John McDonnell <
> > >>>> [email protected]
> > >>>> > >:
> > >>>> > > > >
> > >>>> > > > >> Maybe something didn't clone correctly?
> > >>>> > > > >>
> > >>>> > > > >> I've updated my local just there and opened the
> core.network
> > >>>> project
> > >>>> > > > >> with and without the required projects checkbox being
> ticked
> > >>>> and
> > >>>> > > > >> didn't have any issues.
> > >>>> > > > >>
> > >>>> > > > >> Regards
> > >>>> > > > >>
> > >>>> > > > >> John
> > >>>> > > > >>
> > >>>> > > > >> On 24 November 2017 at 19:27, Martin Dindoffer <
> > >>>> > [email protected]>
> > >>>> > > > >> wrote:
> > >>>> > > > >> > Hi everyone,
> > >>>> > > > >> >
> > >>>> > > > >> > Is the Apache Netbeans repo supposed to be a
> netbeans-ready
> > >>>> ant
> > >>>> > > > project?
> > >>>> > > > >> > How should I import the incubator-netbeans into the
> > netbeans?
> > >>>> > > > >> > It builds just fine with simple 'ant' command. But when I
> > >>>> open it
> > >>>> > in
> > >>>> > > > the
> > >>>> > > > >> > ide, all I get
> > >>>> > > > >> > is a freeform project "main" with just a build.xml
> > resolved.
> > >>>> > > > >> >
> > >>>> > > > >> > Trying to open a specific cluster, such as core.network I
> > get
> > >>>> > > > >> > an <unrecognized project; missing plug-in?> error message
> > in
> > >>>> the
> > >>>> > > > Project
> > >>>> > > > >> > Name textfield.
> > >>>> > > > >> >
> > >>>> > > > >> > Thanks,
> > >>>> > > > >> >
> > >>>> > > > >> > Martin
> > >>>> > > > >> >
> > >>>> > > > >>
> > >>>> > > >
> > >>>> > >
> > >>>> >
> > >>>>
> > >>>
> > >>>
> > >>
> > >
> >
>

Reply via email to