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" <[email protected]>
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
><[email protected]> wrote:
>
>> On Fri, Jun 15, 2018 at 2:51 AM, Dmitry Avtonomov <
>> [email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

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



Reply via email to