# Building Gradle from sources

**URL:** <https://discuss.gradle.org/t/building-gradle-from-sources/5656>\
**Category:** Old Forum Archive\
**Created:** [October 24, 2013, 8:24pm UTC](https://discuss.gradle.org/t/building-gradle-from-sources/5656 "2013-10-24T20:24:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Radim\_Kubacki](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/radim_kubacki/32/1032_2.png) [@Radim\_Kubacki](https://discuss.gradle.org/u/Radim_Kubacki)\
**Post date:** [October 24, 2013, 8:24pm UTC](https://discuss.gradle.org/t/building-gradle-from-sources/5656/1 "2013-10-24T20:24:00Z")

</div>

Hi,

I’m trying to build Gradle from sources (current master) and hit some problems:

SamplesToolingApiIntegrationTest in :tooling-api:integTest are failing due some Javac bug - [https://gist.github.com/radimk/7143446](https://gist.github.com/radimk/7143446) Debian Linux, JDK6u45. Is this a know problem? Any way how to avoid that?

MavenConversionIntegrationTest in :buildInit:integTest fails if I keep my ~/.m2/settings.xml in place. It sets up a mirror for Maven central repository. Pretty much same confing as in [http://books.sonatype.com/nexus-book/reference/maven-sect-single-group.html](http://books.sonatype.com/nexus-book/reference/maven-sect-single-group.html) with servers section added to specify authentication for this Nexus. Test output shows that my Nexus responds with 401 to requests performed during test run. I can temporarily move the file but it would be better if I could make the test more robust.

:performance:integTest - I don’t know what is the problem here yet. There are some outliers in the results but sometimes measured values are really above accepted threshold.

-Radim

---

<div class="post-metadata">

**Author:** ![Peter\_Niederwieser](https://avatars.discourse-cdn.com/v4/letter/p/9f8e36/32.png) [@Peter\_Niederwieser](https://discuss.gradle.org/u/Peter_Niederwieser)\
**Post date:** [October 25, 2013, 5:34am UTC](https://discuss.gradle.org/t/building-gradle-from-sources/5656/2 "2013-10-25T05:34:00Z")

</div>

SamplesToolingApiIntegrationTest: use a newer (or perhaps older) JDK. Not sure about MavenConversionIntegrationTest; pull requests are welcome. And perhaps run performance tests separately (or not at all). We only run them on CI, and only on a dedicated performance test agent.

---

<div class="post-metadata">

**Author:** ![luke\_daley](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/luke_daley/32/9890_2.png) [@luke\_daley](https://discuss.gradle.org/u/luke_daley)\
**Post date:** [October 25, 2013, 9:02am UTC](https://discuss.gradle.org/t/building-gradle-from-sources/5656/3 "2013-10-25T09:02:00Z")

</div>

> MavenConversionIntegrationTest in :buildInit:integTest fails if I keep my ~/.m2/settings.xml in place. It sets up a mirror for Maven central repository.

The test is bugged. They aren’t using the necessary test fixtures. Which tests are failing?

> :performance:integTest - I don’t know what is the problem here yet. There are some outliers in the results but sometimes measured values are really above accepted threshold.

These tests currently are failing.

---

<div class="post-metadata">

**Author:** ![Radim\_Kubacki](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/radim_kubacki/32/1032_2.png) [@Radim\_Kubacki](https://discuss.gradle.org/u/Radim_Kubacki)\
**Post date:** [October 25, 2013, 2:45pm UTC](https://discuss.gradle.org/t/building-gradle-from-sources/5656/4 "2013-10-25T14:45:00Z")

</div>

MavenConversionIntegrationTest. enforcerplugin MavenConversionIntegrationTest. singleModule MavenConversionIntegrationTest. testjar are failing.

I’ll check if I can isolate the problem with javac and see if changing JDK helps.

I thought that I can try performance tests again at some point with more controlled environment (use my desktop or turn off CPU frequency adjusting).

Thanks.
