On Tue, Mar 22, 2011 at 6:24 PM, Merlyn Albery-Speyer <
[email protected]> wrote:

> Hi all,
>
> I've a gradle project with a reasonable number of dependencies*. I'm
> using an Artifactory server as my mavenCentral. When I get a fresh
> checkout of my project and generate an idea project it takes a full
> two minutes. (Not if I run it the second time immediately afterwards,
> as by then Ivy/Artifactory has cached the response the information).
> Looking at the debug output I see a lot of these lines:
>

I added exclude patterns on all repositories in artifactory: Admin ->
Repositories -> Remote Repositories -> Exclude pattern **/*-sources.jar -
thats a very general match, but you can add more specific source patterns if
necessary. Generally we never use -source packages though, so you could
adapt to suit your requirements.



>
> 09:17:22.776 [DEBUG]
> [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper]
> trying
> http://myartifactoryhost:8080/artifactory/repo/asm/asm/3.1/asm-3.1-sources.jar
> 09:17:22.776 [DEBUG]
> [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper]
>                tried
> http://myartifactoryhost:8080/artifactory/repo/asm/asm/3.1/asm-3.1-sources.jar
> 09:17:29.250 [DEBUG]
> [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] HTTP
> response status: 404
> url=
> http://myartifactoryhost:8080/artifactory/repo/asm/asm/3.1/asm-3.1-sources.jar
>
> Any suggestions?
>
> Cheers,
> Merlyn
>
> ------------------------------------------------------------
> Gradle 1.0-milestone-1
> ------------------------------------------------------------
>
> Gradle build time: Sunday, 27 February 2011 02:13:20 PM EST
> Groovy: 1.7.8
> Ant: Apache Ant(TM) version 1.8.2 compiled on December 20 2010
> Ivy: 2.2.0
> JVM: 1.6.0_22 (Apple Inc. 17.1-b03-307)
> OS: Mac OS X 10.5.8 x86_64
>
> $ gradle dependencies | wc -l
>      30
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>


-- 
Brett Cave
Systems Architect
Jemstep, Inc

www.jemstep.com

Reply via email to