Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 - 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.

StepWithout NetBeansWith NetBeans
Clone

Clonethe Apache NetBeans Git Repo (https://github.com/apache/incubator-netbeans)

Code Block
languagebash
$ git clone git@github.com:apache/incubator-netbeans.git
$ cd incubator-netbeans
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)

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
Code Block
languagebash
$ ant
 Image Added
Run
Code Block
languagebash
$ ant tryme
 

 

Quick Steps For Newbies

...

How to get started locally

To get started you have 2 options.  Firstly if you just want to build the code and have a look around then this can be done by cloning the Apache NetBeans GitHub repository directly.  Alternatively, if you think that you might submit patches, or something more, then you might want to create a fork of the Apache NetBeans GitHub repository and then work with this, and submit Pull Requests, see here for more info for working with Pull Requests.

 

To clone the Apache GitHub Repository / Your own fork, this can be done in NetBeans via the Team -> Git menu items, or via the command line:

  1. Clone the Apache NetBeans Git Repo (https://github.com/apache/incubator-netbeans)

    Code Block
    languagebash
    $ git clone git@github.com:apache/incubator-netbeans.git
    $ cd incubator-netbeans
    Info

    If you are cloning your own fork, then the clone command would be different, please have a look at your fork in GitHub.

  2. Build Apache NetBeans

    Code Block
    languagebash
    $ ant
  3. Run Apache NetBeans

    Code Block
    languagebash
    $ ant tryme

 

 

Image Added