Mark Stephens Mark Stephens has been working with Java and PDF since 1999 and has diversified into HTML5, SVG and JavaFX. He also enjoys speaking at conferences and has been a Speaker at user groups, Business of Software, Seybold and JavaOne conferences. He has a very dry sense of humor and an MA in Medieval History for which he has not yet found a practical use.

Hacking the NetBeans IDE – 1. Getting NetBeans up and Running from source

57 sec read

NetBeans logo

To help us prepare for our talks for our talks at Oracle CodeOne – “Writing Better Code (Faster) in the Apache NetBeans IDE [BOF4759]” and “Hacking the NetBeans IDE [BOF4760]”, we have been writing some blog posts on NetBeans. We hope you find them useful…

 

Spoiler alert

Since NetBeans is now an Apache project, it is really easy to download and hack the code. Here is a little spoiler to show what we are trying to do (with multiple history selection in the IDE)…..

NetBeans local history

Introduction

There is an excellent tutorial on the NetBeans Apache website showing how to download and run it. If you are used to Maven, you will just need to remember to have a version of Ant installed on your machine which will save some head scratching.

Follow the instructions to build and run with the 2 ant target build-nozip and tryme.

Poking around

Inside your NetBeans project directory, you will find a directory called incubator-netbeans. This contains LOTS of NetBeans modules. For the moment, just open the NetBeans build module.

NetBeans build module

Inside the files view you will find the modules directory where all the code has been built.

modules directory

 

If you delete a module (say Local History) and then run the code with tryme, you will find the feature has gone.

 

Next time I will put it back dynamically without having to recompile all the code…..

 

If you’re a first-time reader, or simply want to be notified when we post new articles and updates, you can keep up to date by social media (Twitter, Facebook and Google+) or the Blog RSS.

Mark Stephens Mark Stephens has been working with Java and PDF since 1999 and has diversified into HTML5, SVG and JavaFX. He also enjoys speaking at conferences and has been a Speaker at user groups, Business of Software, Seybold and JavaOne conferences. He has a very dry sense of humor and an MA in Medieval History for which he has not yet found a practical use.

Hacking the NetBeans IDE – 4. Changing the way…

To help us prepare for our talks for our talks at Oracle CodeOne – “Writing Better Code (Faster) in the Apache NetBeans IDE ” and “Hacking...
Mark Stephens
1 min read

Leave a Reply

Your email address will not be published. Required fields are marked *