You can then build BaseX with [[Maven]]. Using Eclipse is optional.
==Using Git & Eclipse==
# (Optional) Head over to https://github.com/BaseXdb and create an account
# Fork BaseX, so you have a version on your own
# Make yourself familiar with git (see the end of this page)
# Open Eclipse
# Install egit (Eclipse: ''Help'' → ''Marketplace'' → Search for ''egit'' '''or''' get it from http://www.eclipse.org/egit/)
<table cellspacing='0' cellpadding='0'>
</td><td valign='top'>
==Using Git & Eclipse =Clone===
# (Optional) Head over to https://github.com/BaseXdb and create an account# Fork BaseX, so you have a version on your own# Make yourself familiar with git (see the end of this page)# Open Eclipse# Install egit (Eclipse: ''Help'' → ''Marketplace'' → Search for ''egit'' '''or''' get it from http://www.eclipse.org/egit/) * In the '''Package Explorer''' to the left use right-click and choose Import... * Select "'''Projects from Git'''" and click Next > ===Clone === * Click "'''Clone...'''" to create a local copy of the remote repository. This copy will include the full project history * Copy & Paste the github URI in the Location field. If you want to use SSH make sure you provided GitHub with your public key to allow write-access. If in doubt use the HTTPS URI and authenticate yourself with your GitHub credentials. * Select the master branch (or arbitrary branches you like) * Now choose a location where the local repository is stored: Create <workspace>'''/repos/BaseX'''and click "'''Finish'''".
===Create the project ===
* Select our newly cloned repository and click Next * Select "'''Import Existing Projects'''" and depending on your Eclipse version enable automatic sharing. More recent versions will not offer this feature as sharing is enabled by default. * Click next to select the Project to import * Check "basex" to checkout and click finish * You are now ready to contribute.
===EGit & SSH===
</pre>
===Pulling Changes from Upstream Repository to Local Repository===
When some changes are made in the upstream repository, they can be pulled to the local repository as follows: