...
If you plan to submit changes, then you should fork the Apache NetBeans GitHub repo, to do this please follow the steps here on GitHub - just replace the example repository for https://github.com/apache/incubator-netbeans. If you don't plan to submit changes and want to just browse the codebase beforehand, you can always clone the main GitHub repository, but you won't be able to submit pull requests from this.
In the examples below, if you have created a fork then please clone your fork and not the apache repository.
Step | Without NetBeans | With NetBeans |
---|
Clone | Clone the Apache NetBeans Git Repo (https://github.com/apache/ incubator-netbeans) Code Block |
---|
| $ git clone git@github.com:apache/ |
incubator-incubator-
Info |
---|
If you are cloning your own fork, then the clone command would be different, please have a look at your fork in GitHub. |
| Clone the Apache NetBeans Git Repo (https://github.com/apache/ incubator-netbeans) Image Modified Info |
---|
If you are cloning your own fork, then the clone command would be different, please have a look at your fork in GitHub. |
|
---|
Build |
| |
---|
Run |
| |
---|
Debug | You can pass java options through the netbeans launcher via -J<javaarg> . This will run netbeans with debugging enabled: Code Block |
---|
language | bash |
---|
title | Start pre-built NetBeans and wait for debugger to attach |
---|
| $ /bin/netbeans
-J-agentlib:jdwp=transport=dt_socket,suspend=y,server=y,address=9009 |
To run a freshly build netbeans you can invoke: Code Block |
---|
language | bash |
---|
title | Run development version through Ant waiting for debugger |
---|
| $ 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.
|
|
---|
...