我正在使用 Ivy 来解决我的依赖关系。我们有一个很大的共享空间,我们使用的所有库都在其中,并且可以根据需要从中检索。
偶尔我们需要向现有的库版本添加一些额外的文件。例如,我们最近开始在 UI 库中使用图表组件。我们以前不需要它们,因此我获取了相关的 DLL,并将它们与现有 UI DLL 一起复制到共享空间中。
然而,默认情况下,运行 ivy 不会选择这些添加内容,大概是因为它们本地缓存在我的计算机上,而 ivy 只进行版本检查以查看它是否已经具有库 a 的 xyz 版本。它不会检查 ivy 存储库中库 a 的版本 xyz 是否已更改。
有没有办法让ivy检查存储库中库的结构更改,而不仅仅是检查本地缓存?
我尝试使用
但这似乎没有做任何事情。
谢谢。
I am using Ivy to resolve my dependencies. We have a big share space where all the libraries we use live and are retrieved from as needed.
Very occasionally we need to add some additional files to an existing library version. For example we recently started to use the charting components in a UI library. We hadn't previously needed them so I took the relevant DLLs and copied them into the share space with the existing UI DLLs.
However running ivy doesn't pick these additions up by default, presumably because they are locally cached on my machine and ivy only does a version check to see whether it already has version x.y.z of library a. It doesn't check whether version x.y.z of library a has changed in the ivy repository.
Is there a way of getting ivy to check the repository for structural changes to a library rather than just checking the local cache?
I tried using <ivy:resolve refresh="true"/>
but that didn't seem to do anything.
Thanks.
发布评论
评论(1)
如果更改依赖项的内容,它的版本号是否也应该更改?如果依赖关系仍在不断变化,也许您应该查看快照 。
If you change the content of a dependency, shouldn't its version number also change? If the dependency is still in flux, maybe you should look into snapshots.