Page 1 of 1

BTS: Refactoring and "Find usages"; (how) can I contribute?

PostPosted: Mon Dec 07, 2015 6:31 pm
by c01d
Dear board,

Thank you for accepting my registration.

A few days ago I already wrote a comment at the Python plugin's website (http://forums.nbpython.org/viewtopic.php?f=17&t=117).

Before that, I did not have a look into the BTS. One of the bugs already was and is tracked there (https://netbeans.org/bugzilla/show_bug.cgi?id=255466), another one was new (https://netbeans.org/bugzilla/show_bug.cgi?id=256991).

mr_lou_d thankfully put me into the BTS-CC regarding the mentioned tracking numbers.

Well, I wonder whether I can contribute in any way (so as to help with my two to cent make Netbeans my "swiss-army-knife").

I am a computer scientist and familiar with programming (Java, Python, ..., blabla), but only in "small scale" projects (scientific stuff). So either testing or even contributing code could (maybe?) be an option for me, as long as I supply the skills necessary (and have the time to spare).

I read that my nick in the forum should somehow relate to my real name. I would be willing to re-register and to install the dev-release of Netbeans (as explained in another post somewhere here).

So, if you want to, please feel free to drop me a line with any instructions (for example to re-register) or questions.

Thank you a lot, best regards from Germany.
Benjamin

Re: BTS: Refactoring and "Find usages"; (how) can I contribu

PostPosted: Wed Dec 09, 2015 3:01 am
by mr_lou_d
Hi Benjamin,

I don't think you don't need to re-register. Just let me know what you want your username to be and I'll make the change. The only caveat being that your username won't match your NetBeans username, so it might be a little confusing for some at first...

You can install NetBeans IDE Dev version if you like. To install the Plugin from development from inside the IDE via Tools->Plugins, you will need to add the Development Update Center (Dev UC) into the Plugins Wizard. See http://wiki.netbeans.org/FaqPluginsInDevelopment

Development: A proper development environment requires a relatively modern multi-core cpu, 2Gb ram (at very least) and will take up a minimum 11 GB of disk. As is usually the case, builds are disk-bound (SSDs are preferred, but not essential).

Verify you have (or download and install): Java jdk1.7.0_79, Apache Ant, and Mercurial. TortoiseHG can be useful as well... Make sure Ant and Mercurial are added to your PATH.

http://wiki.netbeans.org/NbPythonHgBuild explains cloning the sources, but I haven't yet updated the build instructions. You don't need to change user.build.properties, just follow this:
First, you will need to set (or export) ANT_OPTS=-Xmx960m or something like that, and set (or export) JAVA_HOME=[path to Java]\jdk1.7.0_79
I find myself flipping JAVA_HOME back and forth between 7 and 8, but the build requires jdk 7 (for now).

To build the IDE, navigate to the main directory and execute: ant build
To build the Python bits, (still in the main directory) execute: ant -Dcluster.config=python build

I found it's useful to redirect the build output to a file like: ant -Dcluster.config=python build > \temp\buildpython.txt

For some programming hints, see http://forums.nbpython.org/viewtopic.php?f=9&t=94
More later.

Best regards,
Lou Dasaro

Re: BTS: Refactoring and "Find usages"; (how) can I contribu

PostPosted: Wed Dec 09, 2015 1:59 pm
by c01d
Hi mr_lou_d!

Thank you for the reply and also for the message (I had no permission to answer directly via PM).
Already yesterday I was looking to free space on my 128G SSD (this is not a joke); have to go to work tomorrow to put something onto my external HDD.

I _will_ stay in contact.

Thank you again.
Benjamin