# How can i get the source code

**URL:** https://discuss.elastic.co/t/how-can-i-get-the-source-code/5687
**Category:** Elasticsearch
**Created:** [October 26, 2011, 10:01am UTC](https://discuss.elastic.co/t/how-can-i-get-the-source-code/5687 "2011-10-26T10:01:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![chuter](https://avatars.discourse-cdn.com/v4/letter/c/f04885/32.png) [@chuter](https://discuss.elastic.co/u/chuter)
#### Post date: [October 26, 2011, 10:01am UTC](https://discuss.elastic.co/t/how-can-i-get-the-source-code/5687/1 "2011-10-26T10:01:52Z")

</div>

I wanna research the elasticsearch source code, but i found that there  
lack some source files, i.e. (org.elasticsearch.common.base.\*)

but after build, the jar file contains them, Why?  
My questions is How i can i get the source code?  
Thanks！

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [October 26, 2011, 10:11am UTC](https://discuss.elastic.co/t/how-can-i-get-the-source-code/5687/2 "2011-10-26T10:11:22Z")

</div>

Answer is here : [https://github.com/elasticsearch/elasticsearch/blob/master/modules/jarjar/build.gradle](https://github.com/elasticsearch/elasticsearch/blob/master/modules/jarjar/build.gradle)

David 😉

Le 26 oct. 2011 à 12:01, chuter [topgun.chuter@gmail.com](mailto:topgun.chuter@gmail.com) a écrit :

> I wanna research the elasticsearch source code, but i found that there  
> lack some source files, i.e. (org.elasticsearch.common.base.\*)
> 
> but after build, the jar file contains them, Why?  
> My questions is How i can i get the source code?  
> Thanks！

---

<div class="post-metadata">

### Author: ![chuter](https://avatars.discourse-cdn.com/v4/letter/c/f04885/32.png) [@chuter](https://discuss.elastic.co/u/chuter)
#### Post date: [October 26, 2011, 10:26am UTC](https://discuss.elastic.co/t/how-can-i-get-the-source-code/5687/3 "2011-10-26T10:26:44Z")

</div>

got it! 🙂  
Thanks.

On Oct 26, 6:11 pm, David Pilato [da...@pilato.fr](mailto:da...@pilato.fr) wrote:

> Answer is here :[https://github.com/elasticsearch/elasticsearch/blob/master/modules/ja](https://github.com/elasticsearch/elasticsearch/blob/master/modules/ja)...
> 
> David 😉
> 
> Le 26 oct. 2011 à 12:01, chuter [topgun.chu...@gmail.com](mailto:topgun.chu...@gmail.com) a écrit :
> 
> > I wanna research the elasticsearch source code, but i found that there  
> > lack some source files, i.e. (org.elasticsearch.common.base.\*)
> 
> > but after build, the jar file contains them, Why?  
> > My questions is How i can i get the source code?  
> > Thanks！

---

<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, 3:50am UTC](https://discuss.elastic.co/t/how-can-i-get-the-source-code/5687/4 "2017-07-06T03:50:54Z")

</div>


