# GITHUB Projects and Eclipse

**URL:** https://discuss.elastic.co/t/github-projects-and-eclipse/14316
**Category:** Elasticsearch
**Created:** [November 8, 2013, 3:44am UTC](https://discuss.elastic.co/t/github-projects-and-eclipse/14316 "2013-11-08T03:44:18Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![cs\_irfan](https://avatars.discourse-cdn.com/v4/letter/c/e8c25b/32.png) [@cs\_irfan](https://discuss.elastic.co/u/cs_irfan)
#### Post date: [November 8, 2013, 3:44am UTC](https://discuss.elastic.co/t/github-projects-and-eclipse/14316/1 "2013-11-08T03:44:18Z")

</div>

Dear All,  
Is there any tutorial or method for loading github projects into eclipse so  
that one can work on it. e.g., How ScrutMyDocs project can be loaded into  
Eclipse and integrated with ElasticSearch cluster, so that one can  
customize it for his/her needs.  
Thanks in Advance

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Steinar\_Bang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steinar_bang/32/122285_2.png) [@Steinar\_Bang](https://discuss.elastic.co/u/Steinar_Bang)
#### Post date: [November 9, 2013, 7:06pm UTC](https://discuss.elastic.co/t/github-projects-and-eclipse/14316/2 "2013-11-09T19:06:26Z")

</div>

> > > > > cs.irfan@upesh.edu.pk:

> Is there any tutorial or method for loading github projects into  
> eclipse so that one can work on it. e.g., How ScrutMyDocs project can  
> be loaded into Eclipse and integrated with Elasticsearch cluster, so  
> that one can customize it for his/her needs.

I do it this way:

1. install m2e in eclipse, [http://www.eclipse.org/m2e/download/](http://www.eclipse.org/m2e/download/)
2. install egit in eclipse, [EGit - Download | The Eclipse Foundation](http://eclipse.org/egit/download/)
3. clone the github projects in a directory outside the workspace  
mkdir ~/git  
cd ~/git/  
git clone [GitHub - spinscale/elasticsearch-river-streaming-json: A sample elasticsearch river able to stream json data in](https://github.com/spinscale/elasticsearch-river-streaming-json.git)
4. in eclipse, do File-\>Import...
5. in the dialog "Import":
6. open Maven-\>Existing Maven Projects
7. click the "Next" button
8. click "Browse..." button
9. in the "Select Root Folder" dialog  
1. open ~/git/elasticsearch-river-streaming-json  
2. click the "OK" button
10. select the projects found in that directory
11. click the "Finish" button
12. in the "Package Explorer", open the right mouse button menu on the  
elasticsearch-river-streaming-json project, and select Team-\>Share Project...
13. in the "Share Project" dialog:
14. select "git"
15. click on the "Next" button
16. check the option "Use or create repository in parent folder of project"
17. select the git repo in the "." directory (or the closest parent in  
the case of nested projects)
18. click on the "Finish" button

That's it!

If you need to just add a subproject of a large tree, you can decide to  
import only that project into eclipse.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Shuai\_Lin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shuai_lin/32/1980_2.png) [@Shuai\_Lin](https://discuss.elastic.co/u/Shuai_Lin)
#### Post date: [November 10, 2013, 2:41am UTC](https://discuss.elastic.co/t/github-projects-and-eclipse/14316/3 "2013-11-10T02:41:38Z")

</div>

Hi,

Just as said on [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/contributing-to-elasticsearch/)  
:

Make sure you have Maven installed, as Elasticsearch uses it as its build

> system. Integration with IntelliJ and Eclipse should work out of the box.  
> Eclipse users can automatically configure their IDE by running _mvn  
> eclipse:eclipse_ and then importing the project into their workspace:  
> File \> Import \> Existing project into workspace.

Regards.

On Fri, Nov 8, 2013 at 11:44 AM, [cs.irfan@upesh.edu.pk](mailto:cs.irfan@upesh.edu.pk) wrote:

> Dear All,  
> Is there any tutorial or method for loading github projects into eclipse  
> so that one can work on it. e.g., How ScrutMyDocs project can be loaded  
> into Eclipse and integrated with Elasticsearch cluster, so that one can  
> customize it for his/her needs.  
> Thanks in Advance
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 2:07am UTC](https://discuss.elastic.co/t/github-projects-and-eclipse/14316/4 "2017-07-06T02:07:59Z")

</div>


