You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Lars Bruun-Hansen <lb...@gmail.com> on 2018/11/24 17:52:02 UTC

How to work on Apache NetBeans sources

I'm an infrequent contributor to Apache NetBeans. It has been a while,
about 9 months, and I realize I no longer know how to open a specific
NetBeans module and work on that.

Here's what I do:

1. Clone Apache NetBeans from GitHub
2. Run "ant" from the root of the clone. It takes some 10 minutes to
complete on my laptop and builds with no errors.
3. Now for the problem. From within NB IDE 8.2 I now try to open a module
of the clone. So I attempt to open something like:
cloneroot/<cluster>/<module>   (e.g. cloneroot/nb/ide.branding), but I get
"java.io.IOException: netbeans.org-type module requires at least nbbuild:
<path-to-module-I'm-trying-to-open>".   Although I understand the
individual words in the message, the meaning of it escapes me.

I must admit that NB build system is foreign country to me as is Ant. I've
tried to look for information about how this is done since I've clearly
forgotten my past knowledge. Only this set of videos has come up in my
search:
https://netbeans.apache.org/participate/build-run-debug-tutorials.html  but
those videos are made before the repository changed folder layout. Don't
know if that is my problem, though. It is probably something obvious on my
part that I do wrong.

Any pointers?

/Lars

Re: How to work on Apache NetBeans sources

Posted by Lars Bruun-Hansen <lb...@gmail.com>.
Thanks, both of you.


Don't know if "working with NB sources" is described anywhere else than
here:
https://netbeans.apache.org/participate/build-run-debug-tutorials.html  but
that one for sure need an update. As a short term solution just put a note
on the page.
Here's a PR for that:
https://github.com/apache/incubator-netbeans-website/pull/90

/Lars

On Sat, Nov 24, 2018 at 7:28 PM Geertjan Wielenga
<ge...@googlemail.com.invalid> wrote:

> >
> > From within NB IDE 8.2
> >
>
> There's your problem. Use Apache NetBeans 9 or higher.
>
> Gj
>
> On Sat, Nov 24, 2018 at 7:14 PM Matthias Bläsing <
> mblaesing@doppel-helix.eu>
> wrote:
>
> > Hey Lars,
> >
> > the NetBeans top-level directory layout was incompatibility changed.
> > Before the change all modules were at the top-level directory, after
> > the change, the modules were moved into a per-cluster directory.
> >
> > You need NetBeans 9 to open the modules.
> >
> > HTH
> >
> > Matthias
> >
> > Am Samstag, den 24.11.2018, 18:52 +0100 schrieb Lars Bruun-Hansen:
> > > I'm an infrequent contributor to Apache NetBeans. It has been a
> > > while,
> > > about 9 months, and I realize I no longer know how to open a specific
> > > NetBeans module and work on that.
> > >
> > > Here's what I do:
> > >
> > > 1. Clone Apache NetBeans from GitHub
> > > 2. Run "ant" from the root of the clone. It takes some 10 minutes to
> > > complete on my laptop and builds with no errors.
> > > 3. Now for the problem. From within NB IDE 8.2 I now try to open a
> > > module
> > > of the clone. So I attempt to open something like:
> > > cloneroot/<cluster>/<module>   (e.g. cloneroot/nb/ide.branding), but
> > > I get
> > > "java.io.IOException: netbeans.org-type module requires at least
> > > nbbuild:
> > > <path-to-module-I'm-trying-to-open>".   Although I understand the
> > > individual words in the message, the meaning of it escapes me.
> > >
> > > I must admit that NB build system is foreign country to me as is Ant.
> > > I've
> > > tried to look for information about how this is done since I've
> > > clearly
> > > forgotten my past knowledge. Only this set of videos has come up in
> > > my
> > > search:
> > > https://netbeans.apache.org/participate/build-run-debug-tutorials.html
> > but
> > > those videos are made before the repository changed folder layout.
> > > Don't
> > > know if that is my problem, though. It is probably something obvious
> > > on my
> > > part that I do wrong.
> > >
> > > Any pointers?
> > >
> > > /Lars
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> > For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
> >
> >
>

Re: How to work on Apache NetBeans sources

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
>
> From within NB IDE 8.2
>

There's your problem. Use Apache NetBeans 9 or higher.

Gj

On Sat, Nov 24, 2018 at 7:14 PM Matthias Bläsing <mb...@doppel-helix.eu>
wrote:

> Hey Lars,
>
> the NetBeans top-level directory layout was incompatibility changed.
> Before the change all modules were at the top-level directory, after
> the change, the modules were moved into a per-cluster directory.
>
> You need NetBeans 9 to open the modules.
>
> HTH
>
> Matthias
>
> Am Samstag, den 24.11.2018, 18:52 +0100 schrieb Lars Bruun-Hansen:
> > I'm an infrequent contributor to Apache NetBeans. It has been a
> > while,
> > about 9 months, and I realize I no longer know how to open a specific
> > NetBeans module and work on that.
> >
> > Here's what I do:
> >
> > 1. Clone Apache NetBeans from GitHub
> > 2. Run "ant" from the root of the clone. It takes some 10 minutes to
> > complete on my laptop and builds with no errors.
> > 3. Now for the problem. From within NB IDE 8.2 I now try to open a
> > module
> > of the clone. So I attempt to open something like:
> > cloneroot/<cluster>/<module>   (e.g. cloneroot/nb/ide.branding), but
> > I get
> > "java.io.IOException: netbeans.org-type module requires at least
> > nbbuild:
> > <path-to-module-I'm-trying-to-open>".   Although I understand the
> > individual words in the message, the meaning of it escapes me.
> >
> > I must admit that NB build system is foreign country to me as is Ant.
> > I've
> > tried to look for information about how this is done since I've
> > clearly
> > forgotten my past knowledge. Only this set of videos has come up in
> > my
> > search:
> > https://netbeans.apache.org/participate/build-run-debug-tutorials.html
> but
> > those videos are made before the repository changed folder layout.
> > Don't
> > know if that is my problem, though. It is probably something obvious
> > on my
> > part that I do wrong.
> >
> > Any pointers?
> >
> > /Lars
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Re: How to work on Apache NetBeans sources

Posted by Matthias Bläsing <mb...@doppel-helix.eu>.
Hey Lars,

the NetBeans top-level directory layout was incompatibility changed.
Before the change all modules were at the top-level directory, after
the change, the modules were moved into a per-cluster directory.

You need NetBeans 9 to open the modules.

HTH

Matthias

Am Samstag, den 24.11.2018, 18:52 +0100 schrieb Lars Bruun-Hansen:
> I'm an infrequent contributor to Apache NetBeans. It has been a
> while,
> about 9 months, and I realize I no longer know how to open a specific
> NetBeans module and work on that.
> 
> Here's what I do:
> 
> 1. Clone Apache NetBeans from GitHub
> 2. Run "ant" from the root of the clone. It takes some 10 minutes to
> complete on my laptop and builds with no errors.
> 3. Now for the problem. From within NB IDE 8.2 I now try to open a
> module
> of the clone. So I attempt to open something like:
> cloneroot/<cluster>/<module>   (e.g. cloneroot/nb/ide.branding), but
> I get
> "java.io.IOException: netbeans.org-type module requires at least
> nbbuild:
> <path-to-module-I'm-trying-to-open>".   Although I understand the
> individual words in the message, the meaning of it escapes me.
> 
> I must admit that NB build system is foreign country to me as is Ant.
> I've
> tried to look for information about how this is done since I've
> clearly
> forgotten my past knowledge. Only this set of videos has come up in
> my
> search:
> https://netbeans.apache.org/participate/build-run-debug-tutorials.html  but
> those videos are made before the repository changed folder layout.
> Don't
> know if that is my problem, though. It is probably something obvious
> on my
> part that I do wrong.
> 
> Any pointers?
> 
> /Lars



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
For additional commands, e-mail: dev-help@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists