Tools
You need tools below to import ardublock source code to Eclipse.
- Git tools
- can find tools for your operating system from github: https://help.github.com/set-up-git-redirect
- Eclipse
- Maven
- We use maven to manage java packages.
- M2Eclipse
- I am very to recommend you install a maven plugin, if you develop openblocks. it will help you raising development efficiency.

Prepare The code
First, you need to clone the source code from github. Ardublock is depended on Openblocks. You can find these two repo here
https://github.com/heqichen/ardublock.git
https://github.com/heqichen/openblocks.git
you will find the git clone url on the right or page.
then you need to clone this two repos. for example ardublock clone url is https://github.com/heqichen/ardublock.git and openblocks clone url is https://github.com/heqichen/openblocks.git
now open your terminal, and go to your development directory. For example, my development directory is ~/ardublock/
|
1 2 3 |
$ cd ~/ardublock/ $ git clone git@github.com:heqichen/ardublock.git $ git clone git@github.com:heqichen/openblocks.git |
46,531 total views, 5 views today