Posted by fordfrog | Filed under Programming
Today I just found some time to ask for Gentoo overlay to put there my latest ebuilds for development version of Netbeans, that is for nightly builds of Netbeans 7.0. You can find the overlay at http://git.overlays.gentoo.org/gitweb/?p=dev/fordfrog.git. If you do not know how to use Gentoo overlays, you can find needed information in Overlay guide.
It is safe to give Netbeans 7.0 development a try on Gentoo as Netbeans 7.0 installs in separate slot so you can have in your system both Netbeans 7.0 and 6.9.1 and even older versions. Up to that, though it is still development version, it is pretty stable and I use it myself for my work for several weeks (maybe even months, my poor memory) already.
You might also notice that I have split the single ebuild into several ebuilds, one ebuild for each Netbeans cluster plus one for Netbeans JavaDoc. I decided to do so for several reasons.
First, for me, it’s much easier to manage Netbeans ebuilds when I can rebuild just single cluster instead of whole Netbeans on each change in ebuilds etc. I can also emerge several clusters in parallel using
emerge --jobs switch. That saves some time and does not load my laptop much anyway as javac does not utilize parallel compilation.
Second, for users adding/removing clusters to/from current installation does not require complete rebuild of Netbeans anymore but you emerge or unmerge just the cluster(s) that you want, so you save some time on this. Also, the same as above applies, you can emerge several clusters in parallel and save some time.
And third, there are some applications that are built on top of Netbeans Platform, like VisualVM, so these can easily reuse
dev-java/netbeans-platform package without need to pull in whole Netbeans with its huge list of dependencies.
This set of ebuilds supports applying custom patches to the Netbeans sources as the previous ebuild does. You just have to set up
NETBEANS70_PATCHES_DIR variable so that it points to directory where you have the patches that you want to apply. I have this line in
... NETBEANS70_PATCHES_DIR="/root/patches/netbeans70" ...
Leave a Reply
You must be logged in to post a comment.