Ok. Thanks for the information. I will raise the problem on the gradle
forums.

On Fri, Nov 25, 2011 at 8:54 PM, Luke Daley-2 [via Gradle] <
[email protected]> wrote:

> Gradle currently always ignores the cache for file:// based repositories
> when using the ivy {} repository notation. Your best bet is to stick with
> FileSystemResolver for the time being.
>
> Please raise a problem on our forums <http://forums.gradle.org> so we can
> discuss what to do about smarter behaviour with slow file based
> repositories.
>
> On 25/11/2011, at 3:11 PM, kulbhushan wrote:
>
> Dependency caching works when using the old FileSystemResolver on both
> milestone-5 and milestone-6.
>
> On Fri, Nov 25, 2011 at 8:29 PM, Luke Daley-2 [via Gradle] <<a
> href="x-msg://343/user/SendEmail.jtp?type=node&amp;node=5022984&amp;i=0"
> target="_top" rel="nofollow" link="external">[hidden email]> wrote:
>
>>
>> On 25/11/2011, at 1:16 PM, kulbhushan wrote:
>>
>> > Ever since we have upgraded to using gradle 1.0 milestone 5, the build
>> times
>> > have slowed down. The build that earlier took 1 minute is now taking
>> about
>> > 10 minutes. On investigating this issue, I found that all the
>> dependencies
>> > are being picked up from the central repository and they are never
>> cached in
>> > the gradle cache.
>> >
>> > When upgrading to milestone-5, a change was made in the way the
>> repository
>> > is defined. Now, the repository is defined as follows:
>> >
>> >    repositories {
>> >        ivy {
>> >            artifactPattern
>> >
>> "<network-location>/[organisation]/[module]/[type]s/[artifact]-[revision].[ext]"
>>
>> >            ivyPattern
>> > "<network-location>/[organisation]/[module]/ivy-[revision].xml"
>> >        }
>> >    }
>> >
>> > Before upgrade the repositories were defined using FileSystemResolver
>> and
>> > everything worked fine at that time. The repository was defined as
>> follows
>> > before upgrade:
>> >
>> >    repositories {
>> >        add(new org.apache.ivy.plugins.resolver.FileSystemResolver()) {
>> >            name = 'synygy-resolver'
>> >            addIvyPattern
>> > "<network-location>/[organisation]/[module]/ivy-[revision].xml"
>> >            addArtifactPattern
>> >
>> "<network-location>/[organisation]/[module]/[type]s/[artifact]-[revision].[ext]"
>>
>> >        }
>> >    }
>> >
>> > Please let me know what is preventing the dependencies from being
>> cached.
>> What happens if you use the same code (i.e. FileSystemResolver) with m6?
>>
>> --
>> Luke Daley
>> Principal Engineer, Gradleware
>> http://gradleware.com
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the
>> discussion below:
>>
>> http://gradle.1045684.n5.nabble.com/Dependencies-are-not-being-cached-since-upgrading-to-milestone-5-tp5022756p5022959.html
>>  To unsubscribe from Dependencies are not being cached since upgrading to
>> milestone-5, <a href="x-msg://343/" target="_blank" rel="nofollow"
>> link="external">click here.
>> NAML<http://gradle.1045684.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
> ------------------------------
> View this message in context: Re: Dependencies are not being cached since
> upgrading to 
> milestone-5<http://gradle.1045684.n5.nabble.com/Dependencies-are-not-being-cached-since-upgrading-to-milestone-5-tp5022756p5022984.html>
> Sent from the gradle-user mailing list 
> archive<http://gradle.1045684.n5.nabble.com/gradle-user-f1431424.html>at
> Nabble.com.
>
>
> --
> Luke Daley
> Principal Engineer, Gradleware
> http://gradleware.com
>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://gradle.1045684.n5.nabble.com/Dependencies-are-not-being-cached-since-upgrading-to-milestone-5-tp5022756p5023023.html
>  To unsubscribe from Dependencies are not being cached since upgrading to
> milestone-5, click 
> here<http://gradle.1045684.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5022756&code=Y29vbGt1bGJodXNoYW5AZ21haWwuY29tfDUwMjI3NTZ8MTczMzkxMzUyMw==>
> .
> NAML<http://gradle.1045684.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>


--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Dependencies-are-not-being-cached-since-upgrading-to-milestone-5-tp5022756p5024353.html
Sent from the gradle-user mailing list archive at Nabble.com.

Reply via email to