ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Louis Boudart" <jboud...@linagora.com>
Subject Re: offline builds
Date Mon, 18 Aug 2008 16:47:56 GMT
I'm using ivy in an unix environment and i have the same issues,
i've opened an issue on jira about it =>
https://issues.apache.org/jira/browse/IVY-879

I hope that it will be soon fixed


> Has anyone tried doing a completely offline (e.g., on a laptop that's
> not got any network connection) build with Ivy with out using different
> targets that avoid actually calling Ivy?
>
> I figure with the dynamic version resolution caching in beta2, this
> should be possible, but it seems like it's not caching the version
> resolutions.
>
>
>   <caches default="resolved-version-cache">
>      <cache name="resolved-version-cache">
>       <ttl duration="14d" />
>      </cache>
>   </caches>
>
>
> This is what I have for my cache, which I would think would mean that
> I'd be able to do offline builds, as long there was a previous build
> that was successful.   But Ivy still tries to talk to the repos for
> dynamic version resolution.
>
>
>
>
> I'm seeing this in my debug log:
>
> [ivy:resolve] artifactory: Checking cache for: dependency:
> commons-collections#commons-collections;[2.1,) {compile=[compile(*),
> master(*)], runtime=[runtime(*)]}
> [ivy:resolve] no cached resolved revision for
> commons-collections#commons-collections;[2.1,)
>
>
> I'm wondering if this is a problem because I'm using Windows and the
> "[2.1,)" is causing problems.  Glancing through the caching code, it
> looks to me like it's looking for a properties file with "[2.1,)" in its
> name (I can't find any code that's escaping the comma).
>
>
>



Mime
View raw message