# Java source file missing from elasticsearch git repo

**URL:** <https://discuss.elastic.co/t/java-source-file-missing-from-elasticsearch-git-repo/4435>\
**Category:** Elasticsearch\
**Created:** [May 19, 2011, 6:33am UTC](https://discuss.elastic.co/t/java-source-file-missing-from-elasticsearch-git-repo/4435 "2011-05-19T06:33:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![allwefantasy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/allwefantasy/32/3143_2.png) [@allwefantasy](https://discuss.elastic.co/u/allwefantasy)\
**Post date:** [May 19, 2011, 6:33am UTC](https://discuss.elastic.co/t/java-source-file-missing-from-elasticsearch-git-repo/4435/1 "2011-05-19T06:33:25Z")

</div>

i find there are some problems with the source code from git . lots of Java source file missing.eg. org.elasticsearch.common.inject.Injector ,org.elasticsearch.common.collect.Sets;  
kimchy told me "After you clone, make sure to run "gradlew release" which will generate it. "  
and i did find them in elasticsearch-0.17.0-SNAPSHOT.zip.But in module folders i still can not find these java files.Are they dynamically generated? How i can i get the source code?  
i really confused .  
Thanks  
William

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [May 20, 2011, 8:38pm UTC](https://discuss.elastic.co/t/java-source-file-missing-from-elasticsearch-git-repo/4435/2 "2011-05-20T20:38:15Z")

</div>

A jarjar file gets created that includes it, it resides under modules/jarjar/build/libs/jarjar-....jar . In the final build, it gets embedded into the elasticsearch jar.  
On Thursday, May 19, 2011 at 9:33 AM, allwefantasy wrote:

> i find there are some problems with the source code from git . lots of Java  
> source file missing.eg. org.elasticsearch.common.inject.Injector  
> ,org.elasticsearch.common.collect.Sets;  
> kimchy told me "After you clone, make sure to run "gradlew release" which  
> will generate it. "  
> and i did find them in elasticsearch-0.17.0-SNAPSHOT.zip.But in module  
> folders i still can not find these java files.Are they dynamically  
> generated? How i can i get the source code?  
> i really confused .  
> Thanks  
> William
> 
> --  
> View this message in context: [http://elasticsearch-users.115913.n3.nabble.com/Java-source-file-missing-from-elasticsearch-git-repo-tp2960227p2960227.html](http://elasticsearch-users.115913.n3.nabble.com/Java-source-file-missing-from-elasticsearch-git-repo-tp2960227p2960227.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<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, 4:05am UTC](https://discuss.elastic.co/t/java-source-file-missing-from-elasticsearch-git-repo/4435/3 "2017-07-06T04:05:44Z")

</div>


