GITHUB Projects and Eclipse


(cs.irfan) #1

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.
For more options, visit https://groups.google.com/groups/opt_out.


(Steinar Bang) #2

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/
  2. install egit in eclipse, http://eclipse.org/egit/download/
  3. clone the github projects in a directory outside the workspace
    mkdir ~/git
    cd ~/git/
    git clone 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
  10. open ~/git/elasticsearch-river-streaming-json
  11. click the "OK" button
  12. select the projects found in that directory
  13. click the "Finish" button
  14. in the "Package Explorer", open the right mouse button menu on the
    elasticsearch-river-streaming-json project, and select Team->Share Project...
  15. in the "Share Project" dialog:
  16. select "git"
  17. click on the "Next" button
  18. check the option "Use or create repository in parent folder of project"
  19. select the git repo in the "." directory (or the closest parent in
    the case of nested projects)
  20. 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.
For more options, visit https://groups.google.com/groups/opt_out.


(Shuai Lin) #3

Hi,

Just as said on 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 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.
For more options, visit 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.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #4