You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Dmitry Avtonomov <dm...@gmail.com> on 2018/06/15 00:51:29 UTC

Questions about contributing code and developing on top of Platform 9.0

Hi everyone,
A few weeks ago someone named Toni asked a question here how could he help
with contributing code, asking for directions on what to do.
Here's the thread link:
http://mail-archives.apache.org/mod_mbox/netbeans-dev/201805.mbox/%3CCACkjAxSPovz5UZWik1mBrbKmCyNi_bsH4PWdT=U1xn8RebUUfQ@mail.gmail.com%3E
The response was to go try help someone else develop springboot plugin, but
no clear directions.

Here I am in the same situation, trying to reboot my NBP development and
wondering once again how to actually contribute.

I first headed to: https://netbeans.apache.org/ one of the big links says "
Participate <https://netbeans.apache.org/participate/index.html>". Ok.
There's a separate page for "Contributing Code
<https://netbeans.apache.org/participate/submit-pr.html>", but it doesn't
give much useful info, it tells you there's a JIRA instance with a link
leading to some strange summary page
<https://issues.apache.org/jira/projects/NETBEANS/summary> and tells you
how to set up git, but it doesn't tell you anything about setting up the
project/dev env.

So I cloned the github repo once again. I see a gazillion folders which are
all NB modules. I don't see a single module suite or nbp app that can be
run. How should one proceed? Can you please show an example of a simple
"contribution" (which can be anything)?

I can open each module separately in the IDE, but AFAIK each module's
dependencies at this point actually come from the platform that comes with
the IDE itself. At least that's what I see when I right click a module and
select properties. That doesn't look right.

How do I try out my changes? The download
<https://netbeans.apache.org/download/index.html> page tells you how to
build IDE from scratch, but that takes forever. The only way I see is to
generate an NBM and try installing it into the running IDE, which also
doesn't look the right way.

I've already asked in this mailing list if there is an example of an app
built on top of platform 9.0 and Gj pointed to visualvm
<https://github.com/oracle/visualvm>. That one comes with its own platform
build
<https://github.com/oracle/visualvm/blob/master/visualvm/nb90_visualvm_12022018.zip>.
How do we make our own with only the clusters needed?

This email starts getting too long, but I guess the premise is clear -
what's the entry point for contributions? I'm following this project and
the dev mailing list, and still I couldn't find anything in a reasonable
amount of time.

One suggestion is to choose one specific commit on github right now, use it
as a starting point of the codebase. Also select one simple issue from JIRA
(better probably to create a fake one to use as an example) and walk
through all the steps from getting the code to fixing the issue and
publishing the PR.

Best,
Dmitry

Re: Questions about contributing code and developing on top of Platform 9.0

Posted by Eirik Bakke <eb...@ultorg.com>.
2) 10 minute turnaround time for fix-build-run-test cycle is too much.


This is only for the initial build. After that, you just need to rebuild
the module you¹re working on, which takes a few seconds.

For instance, this morning I was working on a small improvement in the
editor¹s line wrap feature, which is located in the ³editor.lib2² module.
To test a change I just do:

cd editor.lib2 && ant && cd .. && ant tryme

This takes 23 seconds on my 6-year old MacBook Air.

‹ Eirik


On 6/15/18, 8:02 PM, "Dmitry Avtonomov" <dm...@gmail.com>
wrote:

>Ok, so looks like as far as I got with it is actually the end of the
>rabbit
>hole.
>
>Just wanted to point out that:
>1) The Netbeans project is potentially loosing lots of people who would
>have liked to contribute, but can't find a way how.
>2) 10 minute turnaround time for fix-build-run-test cycle is too much.
>3) Most importantly I don't know how to start the whole thing in debug
>mode. Do I need to modify the ant script to make it wait for debugger
>connection?
>4) Just people fiddling around in debugger can lead to some fixes and
>contributions as we're observing system's behavior.
>
>Being able to run with debugger connected will benefit everyone trying to
>write plugins. Especially considering how inspection of lookups is a major
>pain - you don't know what's available there and even if you do (e.g. by
>using lookup-inspector plugin) you still don't know what those things are.
>
>By the way here's an example of what I'm asking for:
>http://batmass.org/tutorial/setting-up-development-environment/
>That's the manual that I wrote for setting up the environment for
>development of my application. Mostly for myself so that I didn't forget
>how to start from scratch a year or two down the road. It's not too long,
>only about 3 pages.
>
>
>
>
>On Fri, Jun 15, 2018 at 3:38 AM Geertjan Wielenga
><ge...@googlemail.com.invalid> wrote:
>
>> On Fri, Jun 15, 2018 at 2:51 AM, Dmitry Avtonomov <
>> dmitriy.avtonomov@gmail.com> wrote:
>>
>> >
>> >
>> > How do I try out my changes? The download
>> > <https://netbeans.apache.org/download/index.html> page tells you how
>>to
>> > build IDE from scratch, but that takes forever.
>>
>>
>>
>> Less than 10 minutes.
>>
>> And, indeed, if you have no idea what you want to contribute, it's
>>going to
>> be difficult.
>>
>> Start by thinking about what's missing or what's broken.
>>
>> Take a look at this, for example, i.e., this guy just shows up because
>>he
>> had a problem, then identified the cause, and provided a patch and pull
>> request:
>>
>>
>> 
>>https://lists.apache.org/thread.html/5c4907191ac953b02434a81ae2a40ba92a1f
>>0d62bb03597b00254e08@%3Cdev.netbeans.apache.org%3E
>>
>> In short, without an itch you're going to have a hard time scratching...
>> :-)
>>
>> Gj
>>
>>
>>
>>
>>
>>
>> > The only way I see is to
>> > generate an NBM and try installing it into the running IDE, which also
>> > doesn't look the right way.
>> >
>> > I've already asked in this mailing list if there is an example of an
>>app
>> > built on top of platform 9.0 and Gj pointed to visualvm
>> > <https://github.com/oracle/visualvm>. That one comes with its own
>> platform
>> > build
>> > <https://github.com/oracle/visualvm/blob/master/visualvm/
>> > nb90_visualvm_12022018.zip>.
>> > How do we make our own with only the clusters needed?
>> >
>> > This email starts getting too long, but I guess the premise is clear -
>> > what's the entry point for contributions? I'm following this project
>>and
>> > the dev mailing list, and still I couldn't find anything in a
>>reasonable
>> > amount of time.
>> >
>> > One suggestion is to choose one specific commit on github right now,
>>use
>> it
>> > as a starting point of the codebase. Also select one simple issue from
>> JIRA
>> > (better probably to create a fake one to use as an example) and walk
>> > through all the steps from getting the code to fixing the issue and
>> > publishing the PR.
>> >
>> > Best,
>> > Dmitry
>> >
>>


---------------------------------------------------------------------
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: Questions about contributing code and developing on top of Platform 9.0

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
Inside 'nbbuild' there is a folder called 'netbeans', after you build
Apache NetBeans. Register that as the NetBeans Platform to use as the basis
of your application.

Does that help? I'm creating a YouTube clip that explains this, will
literally be about 2 minutes long.

Gj

On Sat, Jun 16, 2018 at 9:32 AM, Dmitry Avtonomov <
dmitriy.avtonomov@gmail.com> wrote:

> Peter Steele here seems to be asking the same questions as I was.
>
> > You're asking open-ended questions about large articles that would
> explain many things.
> I was also asking how to start netbeans from the IDE by clicking Run/Debug
> after checking out the code from github. Judging by Matthias' answer I now
> think this might not be possible and I need to use the "ant tryme" method.
> I was also asking how to develop a new platform based app with what we have
> now - the code in the github repo. That's supposed to be relatively
> typical, but I could not do that either, more on that at the end of the
> email.
>
> > Most of this stuff exists somewhere.
> I was looking, didn't find.
>
> > Imagine NetBeans is an alien artefact. Try to learn then explain
> something about it.
> I tried, I failed, I asked the "aliens" here. I might need a Babel fish
> though.
>
> > Did you try opening a module inside NetBeans IDE and pressing Run. Or
> Debug. What happened?
> For the sake of completeness, I gave it a go. Opened "I/O API and SPI" in
> Netbeans, right clicked, pressed Run.
> *java.io.FileNotFoundException:
> ...incubator-netbeans\extbrowser\external\extbrowser-dlls-18.03.15.zip
> (The
> system cannot find the file specified)*
> Didn't expect anything spectacular to happen anyway.
> The options to "*Reload in Target platform*" and "*Install/Reload in
> Development IDE*" have been greyed out for me since NetBeans 7.3 I think.
>
> > What's puzzling me is that you seem to have or be involved with a
> NetBeans Platform app.
> I do have one, but I'm the only developer so nobody else to ask around. I
> downloaded pre-built module clusters for "platform" (used 89 modules from
> this cluster) and "ide" (used 14 modules from this cluster) and set them up
> using Main Menu -> Tools -> NetBeans Platforms menu. I then used the wizard
> to create a "NetBeans Platform Application" specifying that newly defined
> platform. And then I could set debug points and start the application from
> the IDE just fine.
>
> What we now have is a set of a gazillion separate modules. I wanted to
> manually try to recreate the "platform" module suite that I had before with
> the 89 modules that I used. I go to New Project -> NetBeans Modules ->
> Module Suite, but the first page of the wizard that comes up already asks
> me to specify a "NetBeans Platform"! Well, I don't have one yet.. Ok, let's
> try another way. Create a new empty platform app, it also requires a
> platform, let's just use the one from the Development IDE. Right click
> Modules node, "Add Existing..." select some module from the checked out
> source tree and I get a popup message "The project ... is part of a
> netbeans.org source tree. As such it cannot be added as a suite
> component".
> As a matter of fact, if you try to create a single module using the wizard
> it will ask you to either "attach it to a suite", but a suite requires to
> specify a platform, or you can choose to create "a standalone module" which
> requires a platform right away.
>
> Then there's one more piece of the puzzle - where to get the harness? But
> that's not so important as I guess one from the old platform nb82 can be
> reused.
>
> Best,
> Dmitry
>
> PS: I'll ask Jaroslav Tulach in a separate thread how did he create the
> platform zip file here:
> https://github.com/oracle/visualvm/blob/master/visualvm/
> nb90_visualvm_12022018.zip
>
>
> On Fri, Jun 15, 2018 at 11:02 PM Emilian Bold <em...@protonmail.ch>
> wrote:
>
> > > It's a vicious circle - I'm searching for info on how to perform a
> > particular task, I can't find that info, I ask for help in the mailing
> > list, you tell me to create the help document, but I still don't know
> what
> > to write.
> >
> > You're not really asking for 'info'. You're asking open-ended questions
> > about large articles that would explain many things.
> >
> > Most of this stuff exists somewhere, but perhaps they were not collated
> to
> > your liking?
> >
> > So, you are the best person to try and do it.
> >
> > Imagine NetBeans is an alien artefact. Try to learn then explain
> something
> > about it.
> >
> > Did you try opening a module inside NetBeans IDE and pressing Run. Or
> > Debug. What happened?
> >
> > What's puzzling me is that you seem to have or be involved with a
> NetBeans
> > Platform app. So, are you even honestly asking this question or is it
> more
> > like a trick question teachers put to see if students really learned
> their
> > lesson?
> >
> > --emi
> >
> > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> >
> > On 15 June 2018 9:56 PM, Dmitry Avtonomov <dm...@gmail.com>
> > wrote:
> >
> > > @Emilian
> > >
> > > It's a vicious circle - I'm searching for info on how to perform a
> > particular task, I can't find that info, I ask for help in the mailing
> > list, you tell me to create the help document, but I still don't know
> what
> > to write.
> > >
> > > @Gj
> > >
> > > Could you please add a link to the wiki on the main website? This wiki
> > is really hard to find.
> > >
> > > Possibly also add a link to this development environment wiki page to
> > the "Build from source" section here:
> > https://netbeans.apache.org/download/index.html
> > >
> > > On Fri, Jun 15, 2018 at 11:47 AM Emilian Bold <
> > emilian.bold@protonmail.ch.invalid> wrote:
> > >
> > > > > > Just wanted to point out that:
> > > >
> > > > > > 1.  The Netbeans project is potentially loosing lots of people
> who
> > would
> > > >
> > > > > >     have liked to contribute, but can't find a way how.
> > > >
> > > > >
> > > >
> > > > > the insight is good, so you obvisually went through this and could
> > > >
> > > > > improve the documentation. That would help the project and you.
> > > >
> > > > I was  thinking the same thing. This seems the perfect contribution.
> > > >
> > > > If the current wiki / articles are not enough, why not make such a
> > document?
> > > >
> > > > --emi
> > > >
> > > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> > > >
> > > > On 15 June 2018 9:33 PM, Matthias Bläsing <mblaesing@doppel-helix.eu
> >
> > wrote:
> > > >
> > > > > Hi Dmitry,
> > > >
> > > > >
> > > >
> > > > > Am Freitag, den 15.06.2018, 11:02 -0700 schrieb Dmitry Avtonomov:
> > > >
> > > > >
> > > >
> > > > > > Just wanted to point out that:
> > > >
> > > > > >
> > > >
> > > > > > 1.  The Netbeans project is potentially loosing lots of people
> who
> > would
> > > >
> > > > > >
> > > >
> > > > > >     have liked to contribute, but can't find a way how.
> > > >
> > > > > >
> > > >
> > > > >
> > > >
> > > > > the insight is good, so you obvisually went through this and could
> > > >
> > > > >
> > > >
> > > > > improve the documentation. That would help the project and you.
> > > >
> > > > >
> > > >
> > > > > Remember: Many current contributors are around for a long time, so
> > they
> > > >
> > > > >
> > > >
> > > > > now the places to look and the thinks to do.
> > > >
> > > > >
> > > >
> > > > > > 2.  10 minute turnaround time for fix-build-run-test cycle is too
> > much.
> > > >
> > > > >
> > > >
> > > > > This will require some one to step up and look through the build
> > where
> > > >
> > > > >
> > > >
> > > > > the time is spend. But normally you don't need to rebuild the whole
> > > >
> > > > >
> > > >
> > > > > IDE. You build once and if you need to modify a set of modules, you
> > > >
> > > > >
> > > >
> > > > > just rebuild these.
> > > >
> > > > >
> > > >
> > > > > > 3.  Most importantly I don't know how to start the whole thing in
> > debug
> > > >
> > > > > >
> > > >
> > > > > >     mode. Do I need to modify the ant script to make it wait for
> > debugger
> > > >
> > > > > >
> > > >
> > > > > >     connection?
> > > >
> > > > > >
> > > >
> > > > >
> > > >
> > > > > You can pass java options through the netbeans launcher via
> > > >
> > > > >
> > > >
> > > > > "-J<javaarg>". This will run netbeans with debugging enabled:
> > > >
> > > > >
> > > >
> > > > > /bin/netbeans
> > -J-agentlib:jdwp=transport=dt_socket,suspend=y,server=y,address=9009
> > > >
> > > > >
> > > >
> > > > > To run a freshly build netbeans you can invoke:
> > > >
> > > > >
> > > >
> > > > > ant -Ddebug.port=9009 tryme
> > > >
> > > > >
> > > >
> > > > > This will start the build IDE with a test userdir and it will wait
> on
> > > >
> > > > >
> > > >
> > > > > tcp port 9009 for debugger connections.
> > > >
> > > > >
> > > >
> > > > > > 4.  Just people fiddling around in debugger can lead to some
> fixes
> > and
> > > >
> > > > > >
> > > >
> > > > > >     contributions as we're observing system's behavior.
> > > >
> > > > > >
> > > >
> > > > >
> > > >
> > > > > Sure.
> > > >
> > > > >
> > > >
> > > > > I hope you stay and improve the situation.
> > > >
> > > > >
> > > >
> > > > > Matthias
> > > >
> > > > >
> > > >
> > > > >
> > > >
> > > > > ---------------------------------------------------------------
> > > >
> > > > >
> > > >
> > > > > 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
> > > >
> > > > ------------------------------------------------------------
> ---------
> > > >
> > > > 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: Questions about contributing code and developing on top of Platform 9.0

Posted by Dmitry Avtonomov <dm...@gmail.com>.
Peter Steele here seems to be asking the same questions as I was.

> You're asking open-ended questions about large articles that would
explain many things.
I was also asking how to start netbeans from the IDE by clicking Run/Debug
after checking out the code from github. Judging by Matthias' answer I now
think this might not be possible and I need to use the "ant tryme" method.
I was also asking how to develop a new platform based app with what we have
now - the code in the github repo. That's supposed to be relatively
typical, but I could not do that either, more on that at the end of the
email.

> Most of this stuff exists somewhere.
I was looking, didn't find.

> Imagine NetBeans is an alien artefact. Try to learn then explain
something about it.
I tried, I failed, I asked the "aliens" here. I might need a Babel fish
though.

> Did you try opening a module inside NetBeans IDE and pressing Run. Or
Debug. What happened?
For the sake of completeness, I gave it a go. Opened "I/O API and SPI" in
Netbeans, right clicked, pressed Run.
*java.io.FileNotFoundException:
...incubator-netbeans\extbrowser\external\extbrowser-dlls-18.03.15.zip (The
system cannot find the file specified)*
Didn't expect anything spectacular to happen anyway.
The options to "*Reload in Target platform*" and "*Install/Reload in
Development IDE*" have been greyed out for me since NetBeans 7.3 I think.

> What's puzzling me is that you seem to have or be involved with a
NetBeans Platform app.
I do have one, but I'm the only developer so nobody else to ask around. I
downloaded pre-built module clusters for "platform" (used 89 modules from
this cluster) and "ide" (used 14 modules from this cluster) and set them up
using Main Menu -> Tools -> NetBeans Platforms menu. I then used the wizard
to create a "NetBeans Platform Application" specifying that newly defined
platform. And then I could set debug points and start the application from
the IDE just fine.

What we now have is a set of a gazillion separate modules. I wanted to
manually try to recreate the "platform" module suite that I had before with
the 89 modules that I used. I go to New Project -> NetBeans Modules ->
Module Suite, but the first page of the wizard that comes up already asks
me to specify a "NetBeans Platform"! Well, I don't have one yet.. Ok, let's
try another way. Create a new empty platform app, it also requires a
platform, let's just use the one from the Development IDE. Right click
Modules node, "Add Existing..." select some module from the checked out
source tree and I get a popup message "The project ... is part of a
netbeans.org source tree. As such it cannot be added as a suite component".
As a matter of fact, if you try to create a single module using the wizard
it will ask you to either "attach it to a suite", but a suite requires to
specify a platform, or you can choose to create "a standalone module" which
requires a platform right away.

Then there's one more piece of the puzzle - where to get the harness? But
that's not so important as I guess one from the old platform nb82 can be
reused.

Best,
Dmitry

PS: I'll ask Jaroslav Tulach in a separate thread how did he create the
platform zip file here:
https://github.com/oracle/visualvm/blob/master/visualvm/nb90_visualvm_12022018.zip


On Fri, Jun 15, 2018 at 11:02 PM Emilian Bold <em...@protonmail.ch>
wrote:

> > It's a vicious circle - I'm searching for info on how to perform a
> particular task, I can't find that info, I ask for help in the mailing
> list, you tell me to create the help document, but I still don't know what
> to write.
>
> You're not really asking for 'info'. You're asking open-ended questions
> about large articles that would explain many things.
>
> Most of this stuff exists somewhere, but perhaps they were not collated to
> your liking?
>
> So, you are the best person to try and do it.
>
> Imagine NetBeans is an alien artefact. Try to learn then explain something
> about it.
>
> Did you try opening a module inside NetBeans IDE and pressing Run. Or
> Debug. What happened?
>
> What's puzzling me is that you seem to have or be involved with a NetBeans
> Platform app. So, are you even honestly asking this question or is it more
> like a trick question teachers put to see if students really learned their
> lesson?
>
> --emi
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>
> On 15 June 2018 9:56 PM, Dmitry Avtonomov <dm...@gmail.com>
> wrote:
>
> > @Emilian
> >
> > It's a vicious circle - I'm searching for info on how to perform a
> particular task, I can't find that info, I ask for help in the mailing
> list, you tell me to create the help document, but I still don't know what
> to write.
> >
> > @Gj
> >
> > Could you please add a link to the wiki on the main website? This wiki
> is really hard to find.
> >
> > Possibly also add a link to this development environment wiki page to
> the "Build from source" section here:
> https://netbeans.apache.org/download/index.html
> >
> > On Fri, Jun 15, 2018 at 11:47 AM Emilian Bold <
> emilian.bold@protonmail.ch.invalid> wrote:
> >
> > > > > Just wanted to point out that:
> > >
> > > > > 1.  The Netbeans project is potentially loosing lots of people who
> would
> > >
> > > > >     have liked to contribute, but can't find a way how.
> > >
> > > >
> > >
> > > > the insight is good, so you obvisually went through this and could
> > >
> > > > improve the documentation. That would help the project and you.
> > >
> > > I was  thinking the same thing. This seems the perfect contribution.
> > >
> > > If the current wiki / articles are not enough, why not make such a
> document?
> > >
> > > --emi
> > >
> > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> > >
> > > On 15 June 2018 9:33 PM, Matthias Bläsing <mb...@doppel-helix.eu>
> wrote:
> > >
> > > > Hi Dmitry,
> > >
> > > >
> > >
> > > > Am Freitag, den 15.06.2018, 11:02 -0700 schrieb Dmitry Avtonomov:
> > >
> > > >
> > >
> > > > > Just wanted to point out that:
> > >
> > > > >
> > >
> > > > > 1.  The Netbeans project is potentially loosing lots of people who
> would
> > >
> > > > >
> > >
> > > > >     have liked to contribute, but can't find a way how.
> > >
> > > > >
> > >
> > > >
> > >
> > > > the insight is good, so you obvisually went through this and could
> > >
> > > >
> > >
> > > > improve the documentation. That would help the project and you.
> > >
> > > >
> > >
> > > > Remember: Many current contributors are around for a long time, so
> they
> > >
> > > >
> > >
> > > > now the places to look and the thinks to do.
> > >
> > > >
> > >
> > > > > 2.  10 minute turnaround time for fix-build-run-test cycle is too
> much.
> > >
> > > >
> > >
> > > > This will require some one to step up and look through the build
> where
> > >
> > > >
> > >
> > > > the time is spend. But normally you don't need to rebuild the whole
> > >
> > > >
> > >
> > > > IDE. You build once and if you need to modify a set of modules, you
> > >
> > > >
> > >
> > > > just rebuild these.
> > >
> > > >
> > >
> > > > > 3.  Most importantly I don't know how to start the whole thing in
> debug
> > >
> > > > >
> > >
> > > > >     mode. Do I need to modify the ant script to make it wait for
> debugger
> > >
> > > > >
> > >
> > > > >     connection?
> > >
> > > > >
> > >
> > > >
> > >
> > > > You can pass java options through the netbeans launcher via
> > >
> > > >
> > >
> > > > "-J<javaarg>". This will run netbeans with debugging enabled:
> > >
> > > >
> > >
> > > > /bin/netbeans
> -J-agentlib:jdwp=transport=dt_socket,suspend=y,server=y,address=9009
> > >
> > > >
> > >
> > > > To run a freshly build netbeans you can invoke:
> > >
> > > >
> > >
> > > > ant -Ddebug.port=9009 tryme
> > >
> > > >
> > >
> > > > This will start the build IDE with a test userdir and it will wait on
> > >
> > > >
> > >
> > > > tcp port 9009 for debugger connections.
> > >
> > > >
> > >
> > > > > 4.  Just people fiddling around in debugger can lead to some fixes
> and
> > >
> > > > >
> > >
> > > > >     contributions as we're observing system's behavior.
> > >
> > > > >
> > >
> > > >
> > >
> > > > Sure.
> > >
> > > >
> > >
> > > > I hope you stay and improve the situation.
> > >
> > > >
> > >
> > > > Matthias
> > >
> > > >
> > >
> > > >
> > >
> > > > ---------------------------------------------------------------
> > >
> > > >
> > >
> > > > 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
> > >
> > > ---------------------------------------------------------------------
> > >
> > > 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: Questions about contributing code and developing on top of Platform 9.0

Posted by Emilian Bold <em...@protonmail.ch.INVALID>.
> It's a vicious circle - I'm searching for info on how to perform a particular task, I can't find that info, I ask for help in the mailing list, you tell me to create the help document, but I still don't know what to write.

You're not really asking for 'info'. You're asking open-ended questions about large articles that would explain many things.

Most of this stuff exists somewhere, but perhaps they were not collated to your liking?

So, you are the best person to try and do it.

Imagine NetBeans is an alien artefact. Try to learn then explain something about it.

Did you try opening a module inside NetBeans IDE and pressing Run. Or Debug. What happened?

What's puzzling me is that you seem to have or be involved with a NetBeans Platform app. So, are you even honestly asking this question or is it more like a trick question teachers put to see if students really learned their lesson?

--emi

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On 15 June 2018 9:56 PM, Dmitry Avtonomov <dm...@gmail.com> wrote:

> @Emilian
> 
> It's a vicious circle - I'm searching for info on how to perform a particular task, I can't find that info, I ask for help in the mailing list, you tell me to create the help document, but I still don't know what to write.
> 
> @Gj
> 
> Could you please add a link to the wiki on the main website? This wiki is really hard to find. 
> 
> Possibly also add a link to this development environment wiki page to the "Build from source" section here: https://netbeans.apache.org/download/index.html
> 
> On Fri, Jun 15, 2018 at 11:47 AM Emilian Bold <em...@protonmail.ch.invalid> wrote:
> 
> > > > Just wanted to point out that:
> > 
> > > > 1.  The Netbeans project is potentially loosing lots of people who would
> > 
> > > >     have liked to contribute, but can't find a way how.
> > 
> > >
> > 
> > > the insight is good, so you obvisually went through this and could
> > 
> > > improve the documentation. That would help the project and you.
> > 
> > I was  thinking the same thing. This seems the perfect contribution.
> > 
> > If the current wiki / articles are not enough, why not make such a document?
> > 
> > --emi
> > 
> > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> > 
> > On 15 June 2018 9:33 PM, Matthias Bläsing <mb...@doppel-helix.eu> wrote:
> > 
> > > Hi Dmitry,
> > 
> > >
> > 
> > > Am Freitag, den 15.06.2018, 11:02 -0700 schrieb Dmitry Avtonomov:
> > 
> > >
> > 
> > > > Just wanted to point out that:
> > 
> > > >
> > 
> > > > 1.  The Netbeans project is potentially loosing lots of people who would
> > 
> > > >     
> > 
> > > >     have liked to contribute, but can't find a way how.
> > 
> > > >     
> > 
> > >
> > 
> > > the insight is good, so you obvisually went through this and could
> > 
> > >
> > 
> > > improve the documentation. That would help the project and you.
> > 
> > >
> > 
> > > Remember: Many current contributors are around for a long time, so they
> > 
> > >
> > 
> > > now the places to look and the thinks to do.
> > 
> > >
> > 
> > > > 2.  10 minute turnaround time for fix-build-run-test cycle is too much.
> > 
> > >
> > 
> > > This will require some one to step up and look through the build where
> > 
> > >
> > 
> > > the time is spend. But normally you don't need to rebuild the whole
> > 
> > >
> > 
> > > IDE. You build once and if you need to modify a set of modules, you
> > 
> > >
> > 
> > > just rebuild these.
> > 
> > >
> > 
> > > > 3.  Most importantly I don't know how to start the whole thing in debug
> > 
> > > >     
> > 
> > > >     mode. Do I need to modify the ant script to make it wait for debugger
> > 
> > > >     
> > 
> > > >     connection?
> > 
> > > >     
> > 
> > >
> > 
> > > You can pass java options through the netbeans launcher via
> > 
> > >
> > 
> > > "-J<javaarg>". This will run netbeans with debugging enabled:
> > 
> > >
> > 
> > > /bin/netbeans -J-agentlib:jdwp=transport=dt_socket,suspend=y,server=y,address=9009
> > 
> > >
> > 
> > > To run a freshly build netbeans you can invoke:
> > 
> > >
> > 
> > > ant -Ddebug.port=9009 tryme
> > 
> > >
> > 
> > > This will start the build IDE with a test userdir and it will wait on
> > 
> > >
> > 
> > > tcp port 9009 for debugger connections.
> > 
> > >
> > 
> > > > 4.  Just people fiddling around in debugger can lead to some fixes and
> > 
> > > >     
> > 
> > > >     contributions as we're observing system's behavior.
> > 
> > > >     
> > 
> > >
> > 
> > > Sure.
> > 
> > >
> > 
> > > I hope you stay and improve the situation.
> > 
> > >
> > 
> > > Matthias
> > 
> > >
> > 
> > >
> > 
> > > ---------------------------------------------------------------
> > 
> > >
> > 
> > > 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
> > 
> > ---------------------------------------------------------------------
> > 
> > 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

---------------------------------------------------------------------
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: Questions about contributing code and developing on top of Platform 9.0

Posted by Dmitry Avtonomov <dm...@gmail.com>.
@Emilian
It's a vicious circle - I'm searching for info on how to perform a
particular task, I can't find that info, I ask for help in the mailing
list, you tell me to create the help document, but I still don't know what
to write.

@Gj
Could you please add a link to the wiki on the main website? This wiki is
really hard to find.
Possibly also add a link to this development environment wiki page to the
"Build from source" section here:
https://netbeans.apache.org/download/index.html


On Fri, Jun 15, 2018 at 11:47 AM Emilian Bold
<em...@protonmail.ch.invalid> wrote:

> > > Just wanted to point out that:
> > > 1.  The Netbeans project is potentially loosing lots of people who
> would
> > >     have liked to contribute, but can't find a way how.
> >
> > the insight is good, so you obvisually went through this and could
> > improve the documentation. That would help the project and you.
>
> I was  thinking the same thing. This seems the perfect contribution.
>
> If the current wiki / articles are not enough, why not make such a
> document?
>
> --emi
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>
> On 15 June 2018 9:33 PM, Matthias Bläsing <mb...@doppel-helix.eu>
> wrote:
>
> > Hi Dmitry,
> >
> > Am Freitag, den 15.06.2018, 11:02 -0700 schrieb Dmitry Avtonomov:
> >
> > > Just wanted to point out that:
> > >
> > > 1.  The Netbeans project is potentially loosing lots of people who
> would
> > >
> > >     have liked to contribute, but can't find a way how.
> > >
> >
> > the insight is good, so you obvisually went through this and could
> >
> > improve the documentation. That would help the project and you.
> >
> > Remember: Many current contributors are around for a long time, so they
> >
> > now the places to look and the thinks to do.
> >
> > > 2.  10 minute turnaround time for fix-build-run-test cycle is too much.
> >
> > This will require some one to step up and look through the build where
> >
> > the time is spend. But normally you don't need to rebuild the whole
> >
> > IDE. You build once and if you need to modify a set of modules, you
> >
> > just rebuild these.
> >
> > > 3.  Most importantly I don't know how to start the whole thing in debug
> > >
> > >     mode. Do I need to modify the ant script to make it wait for
> debugger
> > >
> > >     connection?
> > >
> >
> > You can pass java options through the netbeans launcher via
> >
> > "-J<javaarg>". This will run netbeans with debugging enabled:
> >
> > /bin/netbeans
> -J-agentlib:jdwp=transport=dt_socket,suspend=y,server=y,address=9009
> >
> > To run a freshly build netbeans you can invoke:
> >
> > ant -Ddebug.port=9009 tryme
> >
> > This will start the build IDE with a test userdir and it will wait on
> >
> > tcp port 9009 for debugger connections.
> >
> > > 4.  Just people fiddling around in debugger can lead to some fixes and
> > >
> > >     contributions as we're observing system's behavior.
> > >
> >
> > Sure.
> >
> > I hope you stay and improve the situation.
> >
> > Matthias
> >
> >
> > ---------------------------------------------------------------
> >
> > 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
>
>
> ---------------------------------------------------------------------
> 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: Questions about contributing code and developing on top of Platform 9.0

Posted by Emilian Bold <em...@protonmail.ch.INVALID>.
> > Just wanted to point out that:
> > 1.  The Netbeans project is potentially loosing lots of people who would
> >     have liked to contribute, but can't find a way how.
> 
> the insight is good, so you obvisually went through this and could
> improve the documentation. That would help the project and you.

I was  thinking the same thing. This seems the perfect contribution.

If the current wiki / articles are not enough, why not make such a document?

--emi

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On 15 June 2018 9:33 PM, Matthias Bläsing <mb...@doppel-helix.eu> wrote:

> Hi Dmitry,
> 
> Am Freitag, den 15.06.2018, 11:02 -0700 schrieb Dmitry Avtonomov:
> 
> > Just wanted to point out that:
> > 
> > 1.  The Netbeans project is potentially loosing lots of people who would
> >     
> >     have liked to contribute, but can't find a way how.
> >     
> 
> the insight is good, so you obvisually went through this and could
> 
> improve the documentation. That would help the project and you.
> 
> Remember: Many current contributors are around for a long time, so they
> 
> now the places to look and the thinks to do.
> 
> > 2.  10 minute turnaround time for fix-build-run-test cycle is too much.
> 
> This will require some one to step up and look through the build where
> 
> the time is spend. But normally you don't need to rebuild the whole
> 
> IDE. You build once and if you need to modify a set of modules, you
> 
> just rebuild these.
> 
> > 3.  Most importantly I don't know how to start the whole thing in debug
> >     
> >     mode. Do I need to modify the ant script to make it wait for debugger
> >     
> >     connection?
> >     
> 
> You can pass java options through the netbeans launcher via
> 
> "-J<javaarg>". This will run netbeans with debugging enabled:
> 
> /bin/netbeans -J-agentlib:jdwp=transport=dt_socket,suspend=y,server=y,address=9009
> 
> To run a freshly build netbeans you can invoke:
> 
> ant -Ddebug.port=9009 tryme
> 
> This will start the build IDE with a test userdir and it will wait on
> 
> tcp port 9009 for debugger connections.
> 
> > 4.  Just people fiddling around in debugger can lead to some fixes and
> >     
> >     contributions as we're observing system's behavior.
> >     
> 
> Sure.
> 
> I hope you stay and improve the situation.
> 
> Matthias
> 
> 
> ---------------------------------------------------------------
> 
> 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


---------------------------------------------------------------------
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: Questions about contributing code and developing on top of Platform 9.0

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
Hi Gary,

Interesting -- would you like to make a short YouTube clip about that
scenario, to be added to the series?

Would be really cool.

Gj



On Sat, Jun 16, 2018 at 8:16 PM, Gary Bello <ga...@gmail.com> wrote:

> I debug netbeans by adding to etc/netbeans.conf netbeans_default_options
> string
> -J-agentlib:jdwp=transport=dt_socket,suspend=n,server=y,address=
> 127.0.0.1:61826
>
> then run that netbeans and use a 2nd instance of netbeans to attach to the
> address above
> and set breakpoints/etc.
>
> The relevant source code of netbeans is opened as a project so the
> debugging netbeans
> can show source for breakpoints.
>
> one netbeans is used as the target for debugging and the 2nd for the
> debugging.
> -Gary
>
>
> On Sat, Jun 16, 2018 at 4:24 AM, Jan Lahoda <la...@gmail.com> wrote:
>
> > Hi,
> >
> > On Fri, Jun 15, 2018 at 8:58 PM, Peter Steele <st...@gmail.com>
> > wrote:
> >
> > > Is there a guide any where for building netbeans in the netbeans ide so
> > you
> > > can use netbeans to debug things?
> > >
> >
> > To work on NetBeans itself (on a module or a set of modules from the main
> > repository), I think this approach is used typically:
> > -ensure the IDE is built (either using command line or from IDE as show
> in
> > the Geertjan's page) (this typically does only need to be done when
> > significant changes are made to the sources, often by pulling in external
> > changes).
> > -open the set of modules you want to work on
> > -then "Run", "Debug" and "Test" should work, when opening a single test
> > file, it should be possible to run and debug the test, etc. These should
> be
> > fairly fast, as these don't need to rebuild everything.
> >
> > Jan
> >
> >
> > >
> > > On Fri, 15 Jun 2018, 19:48 Dmitry Avtonomov, <
> > dmitriy.avtonomov@gmail.com>
> > > wrote:
> > >
> > > > Thanks Matthias and Gj!
> > > >
> > > > I've added the extra Debug line to confluence wiki:
> > > >
> > > > https://cwiki.apache.org/confluence/display/NETBEANS/
> > > Development+Environment
> > > >
> > > > On Fri, Jun 15, 2018 at 11:33 AM Matthias Bläsing <
> > > > mblaesing@doppel-helix.eu>
> > > > wrote:
> > > >
> > > > > Hi Dmitry,
> > > > >
> > > > > Am Freitag, den 15.06.2018, 11:02 -0700 schrieb Dmitry Avtonomov:
> > > > > > Just wanted to point out that:
> > > > > > 1) The Netbeans project is potentially loosing lots of people who
> > > would
> > > > > > have liked to contribute, but can't find a way how.
> > > > >
> > > > > the insight is good, so you obvisually went through this and could
> > > > > improve the documentation. That would help the project and you.
> > > > >
> > > > > Remember: Many current contributors are around for a long time, so
> > they
> > > > > now the places to look and the thinks to do.
> > > > >
> > > > > > 2) 10 minute turnaround time for fix-build-run-test cycle is too
> > > much.
> > > > >
> > > > > This will require some one to step up and look through the build
> > where
> > > > > the time is spend. But normally you don't need to rebuild the whole
> > > > > IDE. You build once and if you need to modify a set of modules, you
> > > > > just rebuild these.
> > > > >
> > > > > > 3) Most importantly I don't know how to start the whole thing in
> > > debug
> > > > > > mode. Do I need to modify the ant script to make it wait for
> > debugger
> > > > > > connection?
> > > > >
> > > > > You can pass java options through the netbeans launcher via
> > > > > "-J<javaarg>". This will run netbeans with debugging enabled:
> > > > >
> > > > > /bin/netbeans
> > > > > -J-agentlib:jdwp=transport=dt_socket,suspend=y,server=y,
> address=9009
> > > > >
> > > > > To run a freshly build netbeans you can invoke:
> > > > >
> > > > > ant -Ddebug.port=9009 tryme
> > > > >
> > > > > This will start the build IDE with a test userdir and it will wait
> on
> > > > > tcp port 9009 for debugger connections.
> > > > >
> > > > > > 4) Just people fiddling around in debugger can lead to some fixes
> > and
> > > > > > contributions as we're observing system's behavior.
> > > > >
> > > > > Sure.
> > > > >
> > > > > I hope you stay and improve the situation.
> > > > >
> > > > > Matthias
> > > > >
> > > > > ------------------------------------------------------------
> > ---------
> > > > > 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: Questions about contributing code and developing on top of Platform 9.0

Posted by Gary Bello <ga...@gmail.com>.
I debug netbeans by adding to etc/netbeans.conf netbeans_default_options
string
-J-agentlib:jdwp=transport=dt_socket,suspend=n,server=y,address=
127.0.0.1:61826

then run that netbeans and use a 2nd instance of netbeans to attach to the
address above
and set breakpoints/etc.

The relevant source code of netbeans is opened as a project so the
debugging netbeans
can show source for breakpoints.

one netbeans is used as the target for debugging and the 2nd for the
debugging.
-Gary


On Sat, Jun 16, 2018 at 4:24 AM, Jan Lahoda <la...@gmail.com> wrote:

> Hi,
>
> On Fri, Jun 15, 2018 at 8:58 PM, Peter Steele <st...@gmail.com>
> wrote:
>
> > Is there a guide any where for building netbeans in the netbeans ide so
> you
> > can use netbeans to debug things?
> >
>
> To work on NetBeans itself (on a module or a set of modules from the main
> repository), I think this approach is used typically:
> -ensure the IDE is built (either using command line or from IDE as show in
> the Geertjan's page) (this typically does only need to be done when
> significant changes are made to the sources, often by pulling in external
> changes).
> -open the set of modules you want to work on
> -then "Run", "Debug" and "Test" should work, when opening a single test
> file, it should be possible to run and debug the test, etc. These should be
> fairly fast, as these don't need to rebuild everything.
>
> Jan
>
>
> >
> > On Fri, 15 Jun 2018, 19:48 Dmitry Avtonomov, <
> dmitriy.avtonomov@gmail.com>
> > wrote:
> >
> > > Thanks Matthias and Gj!
> > >
> > > I've added the extra Debug line to confluence wiki:
> > >
> > > https://cwiki.apache.org/confluence/display/NETBEANS/
> > Development+Environment
> > >
> > > On Fri, Jun 15, 2018 at 11:33 AM Matthias Bläsing <
> > > mblaesing@doppel-helix.eu>
> > > wrote:
> > >
> > > > Hi Dmitry,
> > > >
> > > > Am Freitag, den 15.06.2018, 11:02 -0700 schrieb Dmitry Avtonomov:
> > > > > Just wanted to point out that:
> > > > > 1) The Netbeans project is potentially loosing lots of people who
> > would
> > > > > have liked to contribute, but can't find a way how.
> > > >
> > > > the insight is good, so you obvisually went through this and could
> > > > improve the documentation. That would help the project and you.
> > > >
> > > > Remember: Many current contributors are around for a long time, so
> they
> > > > now the places to look and the thinks to do.
> > > >
> > > > > 2) 10 minute turnaround time for fix-build-run-test cycle is too
> > much.
> > > >
> > > > This will require some one to step up and look through the build
> where
> > > > the time is spend. But normally you don't need to rebuild the whole
> > > > IDE. You build once and if you need to modify a set of modules, you
> > > > just rebuild these.
> > > >
> > > > > 3) Most importantly I don't know how to start the whole thing in
> > debug
> > > > > mode. Do I need to modify the ant script to make it wait for
> debugger
> > > > > connection?
> > > >
> > > > You can pass java options through the netbeans launcher via
> > > > "-J<javaarg>". This will run netbeans with debugging enabled:
> > > >
> > > > /bin/netbeans
> > > > -J-agentlib:jdwp=transport=dt_socket,suspend=y,server=y,address=9009
> > > >
> > > > To run a freshly build netbeans you can invoke:
> > > >
> > > > ant -Ddebug.port=9009 tryme
> > > >
> > > > This will start the build IDE with a test userdir and it will wait on
> > > > tcp port 9009 for debugger connections.
> > > >
> > > > > 4) Just people fiddling around in debugger can lead to some fixes
> and
> > > > > contributions as we're observing system's behavior.
> > > >
> > > > Sure.
> > > >
> > > > I hope you stay and improve the situation.
> > > >
> > > > Matthias
> > > >
> > > > ------------------------------------------------------------
> ---------
> > > > 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: Questions about contributing code and developing on top of Platform 9.0

Posted by Jan Lahoda <la...@gmail.com>.
Hi,

On Fri, Jun 15, 2018 at 8:58 PM, Peter Steele <st...@gmail.com> wrote:

> Is there a guide any where for building netbeans in the netbeans ide so you
> can use netbeans to debug things?
>

To work on NetBeans itself (on a module or a set of modules from the main
repository), I think this approach is used typically:
-ensure the IDE is built (either using command line or from IDE as show in
the Geertjan's page) (this typically does only need to be done when
significant changes are made to the sources, often by pulling in external
changes).
-open the set of modules you want to work on
-then "Run", "Debug" and "Test" should work, when opening a single test
file, it should be possible to run and debug the test, etc. These should be
fairly fast, as these don't need to rebuild everything.

Jan


>
> On Fri, 15 Jun 2018, 19:48 Dmitry Avtonomov, <dm...@gmail.com>
> wrote:
>
> > Thanks Matthias and Gj!
> >
> > I've added the extra Debug line to confluence wiki:
> >
> > https://cwiki.apache.org/confluence/display/NETBEANS/
> Development+Environment
> >
> > On Fri, Jun 15, 2018 at 11:33 AM Matthias Bläsing <
> > mblaesing@doppel-helix.eu>
> > wrote:
> >
> > > Hi Dmitry,
> > >
> > > Am Freitag, den 15.06.2018, 11:02 -0700 schrieb Dmitry Avtonomov:
> > > > Just wanted to point out that:
> > > > 1) The Netbeans project is potentially loosing lots of people who
> would
> > > > have liked to contribute, but can't find a way how.
> > >
> > > the insight is good, so you obvisually went through this and could
> > > improve the documentation. That would help the project and you.
> > >
> > > Remember: Many current contributors are around for a long time, so they
> > > now the places to look and the thinks to do.
> > >
> > > > 2) 10 minute turnaround time for fix-build-run-test cycle is too
> much.
> > >
> > > This will require some one to step up and look through the build where
> > > the time is spend. But normally you don't need to rebuild the whole
> > > IDE. You build once and if you need to modify a set of modules, you
> > > just rebuild these.
> > >
> > > > 3) Most importantly I don't know how to start the whole thing in
> debug
> > > > mode. Do I need to modify the ant script to make it wait for debugger
> > > > connection?
> > >
> > > You can pass java options through the netbeans launcher via
> > > "-J<javaarg>". This will run netbeans with debugging enabled:
> > >
> > > /bin/netbeans
> > > -J-agentlib:jdwp=transport=dt_socket,suspend=y,server=y,address=9009
> > >
> > > To run a freshly build netbeans you can invoke:
> > >
> > > ant -Ddebug.port=9009 tryme
> > >
> > > This will start the build IDE with a test userdir and it will wait on
> > > tcp port 9009 for debugger connections.
> > >
> > > > 4) Just people fiddling around in debugger can lead to some fixes and
> > > > contributions as we're observing system's behavior.
> > >
> > > Sure.
> > >
> > > I hope you stay and improve the situation.
> > >
> > > Matthias
> > >
> > > ---------------------------------------------------------------------
> > > 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: Questions about contributing code and developing on top of Platform 9.0

Posted by Peter Steele <st...@gmail.com>.
Geertjan

I've seen that link but running ant from netbeans is not the same as
actually running the actual java code where you can step through code and
inspect variables etc.

Regards

Peter

On Fri, 15 Jun 2018 19:59 Geertjan Wielenga,
<ge...@googlemail.com.invalid> wrote:

> Here it is:
>
>
> https://cwiki.apache.org/confluence/display/NETBEANS/Development+Environment
>
> Gj
>
> On Fri, Jun 15, 2018 at 8:58 PM, Peter Steele <st...@gmail.com>
> wrote:
>
> > Is there a guide any where for building netbeans in the netbeans ide so
> you
> > can use netbeans to debug things?
> >
> > On Fri, 15 Jun 2018, 19:48 Dmitry Avtonomov, <
> dmitriy.avtonomov@gmail.com>
> > wrote:
> >
> > > Thanks Matthias and Gj!
> > >
> > > I've added the extra Debug line to confluence wiki:
> > >
> > > https://cwiki.apache.org/confluence/display/NETBEANS/
> > Development+Environment
> > >
> > > On Fri, Jun 15, 2018 at 11:33 AM Matthias Bläsing <
> > > mblaesing@doppel-helix.eu>
> > > wrote:
> > >
> > > > Hi Dmitry,
> > > >
> > > > Am Freitag, den 15.06.2018, 11:02 -0700 schrieb Dmitry Avtonomov:
> > > > > Just wanted to point out that:
> > > > > 1) The Netbeans project is potentially loosing lots of people who
> > would
> > > > > have liked to contribute, but can't find a way how.
> > > >
> > > > the insight is good, so you obvisually went through this and could
> > > > improve the documentation. That would help the project and you.
> > > >
> > > > Remember: Many current contributors are around for a long time, so
> they
> > > > now the places to look and the thinks to do.
> > > >
> > > > > 2) 10 minute turnaround time for fix-build-run-test cycle is too
> > much.
> > > >
> > > > This will require some one to step up and look through the build
> where
> > > > the time is spend. But normally you don't need to rebuild the whole
> > > > IDE. You build once and if you need to modify a set of modules, you
> > > > just rebuild these.
> > > >
> > > > > 3) Most importantly I don't know how to start the whole thing in
> > debug
> > > > > mode. Do I need to modify the ant script to make it wait for
> debugger
> > > > > connection?
> > > >
> > > > You can pass java options through the netbeans launcher via
> > > > "-J<javaarg>". This will run netbeans with debugging enabled:
> > > >
> > > > /bin/netbeans
> > > > -J-agentlib:jdwp=transport=dt_socket,suspend=y,server=y,address=9009
> > > >
> > > > To run a freshly build netbeans you can invoke:
> > > >
> > > > ant -Ddebug.port=9009 tryme
> > > >
> > > > This will start the build IDE with a test userdir and it will wait on
> > > > tcp port 9009 for debugger connections.
> > > >
> > > > > 4) Just people fiddling around in debugger can lead to some fixes
> and
> > > > > contributions as we're observing system's behavior.
> > > >
> > > > Sure.
> > > >
> > > > I hope you stay and improve the situation.
> > > >
> > > > Matthias
> > > >
> > > > ---------------------------------------------------------------------
> > > > 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: Questions about contributing code and developing on top of Platform 9.0

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
Here it is:

https://cwiki.apache.org/confluence/display/NETBEANS/Development+Environment

Gj

On Fri, Jun 15, 2018 at 8:58 PM, Peter Steele <st...@gmail.com> wrote:

> Is there a guide any where for building netbeans in the netbeans ide so you
> can use netbeans to debug things?
>
> On Fri, 15 Jun 2018, 19:48 Dmitry Avtonomov, <dm...@gmail.com>
> wrote:
>
> > Thanks Matthias and Gj!
> >
> > I've added the extra Debug line to confluence wiki:
> >
> > https://cwiki.apache.org/confluence/display/NETBEANS/
> Development+Environment
> >
> > On Fri, Jun 15, 2018 at 11:33 AM Matthias Bläsing <
> > mblaesing@doppel-helix.eu>
> > wrote:
> >
> > > Hi Dmitry,
> > >
> > > Am Freitag, den 15.06.2018, 11:02 -0700 schrieb Dmitry Avtonomov:
> > > > Just wanted to point out that:
> > > > 1) The Netbeans project is potentially loosing lots of people who
> would
> > > > have liked to contribute, but can't find a way how.
> > >
> > > the insight is good, so you obvisually went through this and could
> > > improve the documentation. That would help the project and you.
> > >
> > > Remember: Many current contributors are around for a long time, so they
> > > now the places to look and the thinks to do.
> > >
> > > > 2) 10 minute turnaround time for fix-build-run-test cycle is too
> much.
> > >
> > > This will require some one to step up and look through the build where
> > > the time is spend. But normally you don't need to rebuild the whole
> > > IDE. You build once and if you need to modify a set of modules, you
> > > just rebuild these.
> > >
> > > > 3) Most importantly I don't know how to start the whole thing in
> debug
> > > > mode. Do I need to modify the ant script to make it wait for debugger
> > > > connection?
> > >
> > > You can pass java options through the netbeans launcher via
> > > "-J<javaarg>". This will run netbeans with debugging enabled:
> > >
> > > /bin/netbeans
> > > -J-agentlib:jdwp=transport=dt_socket,suspend=y,server=y,address=9009
> > >
> > > To run a freshly build netbeans you can invoke:
> > >
> > > ant -Ddebug.port=9009 tryme
> > >
> > > This will start the build IDE with a test userdir and it will wait on
> > > tcp port 9009 for debugger connections.
> > >
> > > > 4) Just people fiddling around in debugger can lead to some fixes and
> > > > contributions as we're observing system's behavior.
> > >
> > > Sure.
> > >
> > > I hope you stay and improve the situation.
> > >
> > > Matthias
> > >
> > > ---------------------------------------------------------------------
> > > 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: Questions about contributing code and developing on top of Platform 9.0

Posted by Peter Steele <st...@gmail.com>.
Is there a guide any where for building netbeans in the netbeans ide so you
can use netbeans to debug things?

On Fri, 15 Jun 2018, 19:48 Dmitry Avtonomov, <dm...@gmail.com>
wrote:

> Thanks Matthias and Gj!
>
> I've added the extra Debug line to confluence wiki:
>
> https://cwiki.apache.org/confluence/display/NETBEANS/Development+Environment
>
> On Fri, Jun 15, 2018 at 11:33 AM Matthias Bläsing <
> mblaesing@doppel-helix.eu>
> wrote:
>
> > Hi Dmitry,
> >
> > Am Freitag, den 15.06.2018, 11:02 -0700 schrieb Dmitry Avtonomov:
> > > Just wanted to point out that:
> > > 1) The Netbeans project is potentially loosing lots of people who would
> > > have liked to contribute, but can't find a way how.
> >
> > the insight is good, so you obvisually went through this and could
> > improve the documentation. That would help the project and you.
> >
> > Remember: Many current contributors are around for a long time, so they
> > now the places to look and the thinks to do.
> >
> > > 2) 10 minute turnaround time for fix-build-run-test cycle is too much.
> >
> > This will require some one to step up and look through the build where
> > the time is spend. But normally you don't need to rebuild the whole
> > IDE. You build once and if you need to modify a set of modules, you
> > just rebuild these.
> >
> > > 3) Most importantly I don't know how to start the whole thing in debug
> > > mode. Do I need to modify the ant script to make it wait for debugger
> > > connection?
> >
> > You can pass java options through the netbeans launcher via
> > "-J<javaarg>". This will run netbeans with debugging enabled:
> >
> > /bin/netbeans
> > -J-agentlib:jdwp=transport=dt_socket,suspend=y,server=y,address=9009
> >
> > To run a freshly build netbeans you can invoke:
> >
> > ant -Ddebug.port=9009 tryme
> >
> > This will start the build IDE with a test userdir and it will wait on
> > tcp port 9009 for debugger connections.
> >
> > > 4) Just people fiddling around in debugger can lead to some fixes and
> > > contributions as we're observing system's behavior.
> >
> > Sure.
> >
> > I hope you stay and improve the situation.
> >
> > Matthias
> >
> > ---------------------------------------------------------------------
> > 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: Questions about contributing code and developing on top of Platform 9.0

Posted by Dmitry Avtonomov <dm...@gmail.com>.
Thanks Matthias and Gj!

I've added the extra Debug line to confluence wiki:
https://cwiki.apache.org/confluence/display/NETBEANS/Development+Environment

On Fri, Jun 15, 2018 at 11:33 AM Matthias Bläsing <mb...@doppel-helix.eu>
wrote:

> Hi Dmitry,
>
> Am Freitag, den 15.06.2018, 11:02 -0700 schrieb Dmitry Avtonomov:
> > Just wanted to point out that:
> > 1) The Netbeans project is potentially loosing lots of people who would
> > have liked to contribute, but can't find a way how.
>
> the insight is good, so you obvisually went through this and could
> improve the documentation. That would help the project and you.
>
> Remember: Many current contributors are around for a long time, so they
> now the places to look and the thinks to do.
>
> > 2) 10 minute turnaround time for fix-build-run-test cycle is too much.
>
> This will require some one to step up and look through the build where
> the time is spend. But normally you don't need to rebuild the whole
> IDE. You build once and if you need to modify a set of modules, you
> just rebuild these.
>
> > 3) Most importantly I don't know how to start the whole thing in debug
> > mode. Do I need to modify the ant script to make it wait for debugger
> > connection?
>
> You can pass java options through the netbeans launcher via
> "-J<javaarg>". This will run netbeans with debugging enabled:
>
> /bin/netbeans
> -J-agentlib:jdwp=transport=dt_socket,suspend=y,server=y,address=9009
>
> To run a freshly build netbeans you can invoke:
>
> ant -Ddebug.port=9009 tryme
>
> This will start the build IDE with a test userdir and it will wait on
> tcp port 9009 for debugger connections.
>
> > 4) Just people fiddling around in debugger can lead to some fixes and
> > contributions as we're observing system's behavior.
>
> Sure.
>
> I hope you stay and improve the situation.
>
> Matthias
>
> ---------------------------------------------------------------------
> 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: Questions about contributing code and developing on top of Platform 9.0

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

Am Freitag, den 15.06.2018, 11:02 -0700 schrieb Dmitry Avtonomov:
> Just wanted to point out that:
> 1) The Netbeans project is potentially loosing lots of people who would
> have liked to contribute, but can't find a way how.

the insight is good, so you obvisually went through this and could
improve the documentation. That would help the project and you.

Remember: Many current contributors are around for a long time, so they
now the places to look and the thinks to do.

> 2) 10 minute turnaround time for fix-build-run-test cycle is too much.

This will require some one to step up and look through the build where
the time is spend. But normally you don't need to rebuild the whole
IDE. You build once and if you need to modify a set of modules, you
just rebuild these.

> 3) Most importantly I don't know how to start the whole thing in debug
> mode. Do I need to modify the ant script to make it wait for debugger
> connection?

You can pass java options through the netbeans launcher via
"-J<javaarg>". This will run netbeans with debugging enabled:

/bin/netbeans -J-agentlib:jdwp=transport=dt_socket,suspend=y,server=y,address=9009

To run a freshly build netbeans you can invoke:

ant -Ddebug.port=9009 tryme

This will start the build IDE with a test userdir and it will wait on
tcp port 9009 for debugger connections.

> 4) Just people fiddling around in debugger can lead to some fixes and
> contributions as we're observing system's behavior.

Sure.

I hope you stay and improve the situation.

Matthias

---------------------------------------------------------------------
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: Questions about contributing code and developing on top of Platform 9.0

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
That's a great document, very nice.

Maybe this is equivalent:
https://cwiki.apache.org/confluence/display/NETBEANS/Development+Environment

Gj

On Fri, Jun 15, 2018 at 8:02 PM, Dmitry Avtonomov <
dmitriy.avtonomov@gmail.com> wrote:

> Ok, so looks like as far as I got with it is actually the end of the rabbit
> hole.
>
> Just wanted to point out that:
> 1) The Netbeans project is potentially loosing lots of people who would
> have liked to contribute, but can't find a way how.
> 2) 10 minute turnaround time for fix-build-run-test cycle is too much.
> 3) Most importantly I don't know how to start the whole thing in debug
> mode. Do I need to modify the ant script to make it wait for debugger
> connection?
> 4) Just people fiddling around in debugger can lead to some fixes and
> contributions as we're observing system's behavior.
>
> Being able to run with debugger connected will benefit everyone trying to
> write plugins. Especially considering how inspection of lookups is a major
> pain - you don't know what's available there and even if you do (e.g. by
> using lookup-inspector plugin) you still don't know what those things are.
>
> By the way here's an example of what I'm asking for:
> http://batmass.org/tutorial/setting-up-development-environment/
> That's the manual that I wrote for setting up the environment for
> development of my application. Mostly for myself so that I didn't forget
> how to start from scratch a year or two down the road. It's not too long,
> only about 3 pages.
>
>
>
>
> On Fri, Jun 15, 2018 at 3:38 AM Geertjan Wielenga
> <ge...@googlemail.com.invalid> wrote:
>
> > On Fri, Jun 15, 2018 at 2:51 AM, Dmitry Avtonomov <
> > dmitriy.avtonomov@gmail.com> wrote:
> >
> > >
> > >
> > > How do I try out my changes? The download
> > > <https://netbeans.apache.org/download/index.html> page tells you how
> to
> > > build IDE from scratch, but that takes forever.
> >
> >
> >
> > Less than 10 minutes.
> >
> > And, indeed, if you have no idea what you want to contribute, it's going
> to
> > be difficult.
> >
> > Start by thinking about what's missing or what's broken.
> >
> > Take a look at this, for example, i.e., this guy just shows up because he
> > had a problem, then identified the cause, and provided a patch and pull
> > request:
> >
> >
> > https://lists.apache.org/thread.html/5c4907191ac953b02434a81ae2a40b
> a92a1f0d62bb03597b00254e08@%3Cdev.netbeans.apache.org%3E
> >
> > In short, without an itch you're going to have a hard time scratching...
> > :-)
> >
> > Gj
> >
> >
> >
> >
> >
> >
> > > The only way I see is to
> > > generate an NBM and try installing it into the running IDE, which also
> > > doesn't look the right way.
> > >
> > > I've already asked in this mailing list if there is an example of an
> app
> > > built on top of platform 9.0 and Gj pointed to visualvm
> > > <https://github.com/oracle/visualvm>. That one comes with its own
> > platform
> > > build
> > > <https://github.com/oracle/visualvm/blob/master/visualvm/
> > > nb90_visualvm_12022018.zip>.
> > > How do we make our own with only the clusters needed?
> > >
> > > This email starts getting too long, but I guess the premise is clear -
> > > what's the entry point for contributions? I'm following this project
> and
> > > the dev mailing list, and still I couldn't find anything in a
> reasonable
> > > amount of time.
> > >
> > > One suggestion is to choose one specific commit on github right now,
> use
> > it
> > > as a starting point of the codebase. Also select one simple issue from
> > JIRA
> > > (better probably to create a fake one to use as an example) and walk
> > > through all the steps from getting the code to fixing the issue and
> > > publishing the PR.
> > >
> > > Best,
> > > Dmitry
> > >
> >
>

Re: Questions about contributing code and developing on top of Platform 9.0

Posted by Dmitry Avtonomov <dm...@gmail.com>.
Ok, so looks like as far as I got with it is actually the end of the rabbit
hole.

Just wanted to point out that:
1) The Netbeans project is potentially loosing lots of people who would
have liked to contribute, but can't find a way how.
2) 10 minute turnaround time for fix-build-run-test cycle is too much.
3) Most importantly I don't know how to start the whole thing in debug
mode. Do I need to modify the ant script to make it wait for debugger
connection?
4) Just people fiddling around in debugger can lead to some fixes and
contributions as we're observing system's behavior.

Being able to run with debugger connected will benefit everyone trying to
write plugins. Especially considering how inspection of lookups is a major
pain - you don't know what's available there and even if you do (e.g. by
using lookup-inspector plugin) you still don't know what those things are.

By the way here's an example of what I'm asking for:
http://batmass.org/tutorial/setting-up-development-environment/
That's the manual that I wrote for setting up the environment for
development of my application. Mostly for myself so that I didn't forget
how to start from scratch a year or two down the road. It's not too long,
only about 3 pages.




On Fri, Jun 15, 2018 at 3:38 AM Geertjan Wielenga
<ge...@googlemail.com.invalid> wrote:

> On Fri, Jun 15, 2018 at 2:51 AM, Dmitry Avtonomov <
> dmitriy.avtonomov@gmail.com> wrote:
>
> >
> >
> > How do I try out my changes? The download
> > <https://netbeans.apache.org/download/index.html> page tells you how to
> > build IDE from scratch, but that takes forever.
>
>
>
> Less than 10 minutes.
>
> And, indeed, if you have no idea what you want to contribute, it's going to
> be difficult.
>
> Start by thinking about what's missing or what's broken.
>
> Take a look at this, for example, i.e., this guy just shows up because he
> had a problem, then identified the cause, and provided a patch and pull
> request:
>
>
> https://lists.apache.org/thread.html/5c4907191ac953b02434a81ae2a40ba92a1f0d62bb03597b00254e08@%3Cdev.netbeans.apache.org%3E
>
> In short, without an itch you're going to have a hard time scratching...
> :-)
>
> Gj
>
>
>
>
>
>
> > The only way I see is to
> > generate an NBM and try installing it into the running IDE, which also
> > doesn't look the right way.
> >
> > I've already asked in this mailing list if there is an example of an app
> > built on top of platform 9.0 and Gj pointed to visualvm
> > <https://github.com/oracle/visualvm>. That one comes with its own
> platform
> > build
> > <https://github.com/oracle/visualvm/blob/master/visualvm/
> > nb90_visualvm_12022018.zip>.
> > How do we make our own with only the clusters needed?
> >
> > This email starts getting too long, but I guess the premise is clear -
> > what's the entry point for contributions? I'm following this project and
> > the dev mailing list, and still I couldn't find anything in a reasonable
> > amount of time.
> >
> > One suggestion is to choose one specific commit on github right now, use
> it
> > as a starting point of the codebase. Also select one simple issue from
> JIRA
> > (better probably to create a fake one to use as an example) and walk
> > through all the steps from getting the code to fixing the issue and
> > publishing the PR.
> >
> > Best,
> > Dmitry
> >
>

Re: Questions about contributing code and developing on top of Platform 9.0

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
On Fri, Jun 15, 2018 at 2:51 AM, Dmitry Avtonomov <
dmitriy.avtonomov@gmail.com> wrote:

>
>
> How do I try out my changes? The download
> <https://netbeans.apache.org/download/index.html> page tells you how to
> build IDE from scratch, but that takes forever.



Less than 10 minutes.

And, indeed, if you have no idea what you want to contribute, it's going to
be difficult.

Start by thinking about what's missing or what's broken.

Take a look at this, for example, i.e., this guy just shows up because he
had a problem, then identified the cause, and provided a patch and pull
request:

https://lists.apache.org/thread.html/5c4907191ac953b02434a81ae2a40ba92a1f0d62bb03597b00254e08@%3Cdev.netbeans.apache.org%3E

In short, without an itch you're going to have a hard time scratching... :-)

Gj






> The only way I see is to
> generate an NBM and try installing it into the running IDE, which also
> doesn't look the right way.
>
> I've already asked in this mailing list if there is an example of an app
> built on top of platform 9.0 and Gj pointed to visualvm
> <https://github.com/oracle/visualvm>. That one comes with its own platform
> build
> <https://github.com/oracle/visualvm/blob/master/visualvm/
> nb90_visualvm_12022018.zip>.
> How do we make our own with only the clusters needed?
>
> This email starts getting too long, but I guess the premise is clear -
> what's the entry point for contributions? I'm following this project and
> the dev mailing list, and still I couldn't find anything in a reasonable
> amount of time.
>
> One suggestion is to choose one specific commit on github right now, use it
> as a starting point of the codebase. Also select one simple issue from JIRA
> (better probably to create a fake one to use as an example) and walk
> through all the steps from getting the code to fixing the issue and
> publishing the PR.
>
> Best,
> Dmitry
>

Re: Questions about contributing code and developing on top of Platform 9.0

Posted by Emilian Bold <em...@protonmail.ch.INVALID>.
What I have sometimes seen is that the more you document something the less people will read. You need *some* documentation but there is a fine line after which you are not only doing it for nothing, you are actually discouraging readers.

So, if I were to change *any* project I would just need a way to build and run the product, correct?

If I can build and run the project, I can then dig through the sources, tweak something, rebuild and see if I fixed my thing.

Change something -- build -- run -- test.

The toplevel README tells you that `ant` builds the IDE while `ant tryme` runs what you just built.

This should be sufficient for you to try fix something.

You can see here https://reviews.apache.org/groups/netbeans/ and here https://github.com/apache/incubator-netbeans/pulls contributions if you want an example.

I assume what you also need is some JIRA label applied to easier bugs that would allow you to get over the hurdle of your 1st contribution.

--emi

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On 15 June 2018 3:51 AM, Dmitry Avtonomov <dm...@gmail.com> wrote:

> Hi everyone,
> 
> A few weeks ago someone named Toni asked a question here how could he help
> 
> with contributing code, asking for directions on what to do.
> 
> Here's the thread link:
> 
> http://mail-archives.apache.org/mod_mbox/netbeans-dev/201805.mbox/<CA...@mail.gmail.com>
> 
> The response was to go try help someone else develop springboot plugin, but
> 
> no clear directions.
> 
> Here I am in the same situation, trying to reboot my NBP development and
> 
> wondering once again how to actually contribute.
> 
> I first headed to: https://netbeans.apache.org/ one of the big links says "
> 
> Participate https://netbeans.apache.org/participate/index.html". Ok.
> 
> There's a separate page for "Contributing Code
> 
> https://netbeans.apache.org/participate/submit-pr.html", but it doesn't
> 
> give much useful info, it tells you there's a JIRA instance with a link
> 
> leading to some strange summary page
> 
> https://issues.apache.org/jira/projects/NETBEANS/summary and tells you
> 
> how to set up git, but it doesn't tell you anything about setting up the
> 
> project/dev env.
> 
> So I cloned the github repo once again. I see a gazillion folders which are
> 
> all NB modules. I don't see a single module suite or nbp app that can be
> 
> run. How should one proceed? Can you please show an example of a simple
> 
> "contribution" (which can be anything)?
> 
> I can open each module separately in the IDE, but AFAIK each module's
> 
> dependencies at this point actually come from the platform that comes with
> 
> the IDE itself. At least that's what I see when I right click a module and
> 
> select properties. That doesn't look right.
> 
> How do I try out my changes? The download
> 
> https://netbeans.apache.org/download/index.html page tells you how to
> 
> build IDE from scratch, but that takes forever. The only way I see is to
> 
> generate an NBM and try installing it into the running IDE, which also
> 
> doesn't look the right way.
> 
> I've already asked in this mailing list if there is an example of an app
> 
> built on top of platform 9.0 and Gj pointed to visualvm
> 
> https://github.com/oracle/visualvm. That one comes with its own platform
> 
> build
> 
> https://github.com/oracle/visualvm/blob/master/visualvm/nb90_visualvm_12022018.zip.
> 
> How do we make our own with only the clusters needed?
> 
> This email starts getting too long, but I guess the premise is clear -
> 
> what's the entry point for contributions? I'm following this project and
> 
> the dev mailing list, and still I couldn't find anything in a reasonable
> 
> amount of time.
> 
> One suggestion is to choose one specific commit on github right now, use it
> 
> as a starting point of the codebase. Also select one simple issue from JIRA
> 
> (better probably to create a fake one to use as an example) and walk
> 
> through all the steps from getting the code to fixing the issue and
> 
> publishing the PR.
> 
> Best,
> 
> Dmitry


---------------------------------------------------------------------
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