English 中文(简体)
缩略语 - 产生集体档案的决心结果
原标题:Ivy - output the results of a resolve to an ivy file

在解决了我的<代码>ivy.xml文档后,我谨制作一份新的<代码>-solved-ivy.xml文档,其中包括该决心中发现的所有transitive Dependencies。 <>?

这不同于一项交付,(我认为)该交付只是从您的<编码>ivy.xml,而不是从中依赖者那里勾销直接依赖。 http://ant.apache.org/ivy/history/2.2.0/use/deliver.html>。 任务确实有<条码>肝脏目标属性,在文件上照此办理。 在实践中,它只针对同一组织的单元(并非一般针对所有受扶养人)开展工作,并生成每个单元的档案。

这与<代码>ivy-report也不同。 XML文档是在决心期间产生的,但并不大不相同。 如果我无法做什么,那么我就在这个档案中就坐在黑板上,我会说。

www.un.org/spanish/ecosoc 这里的背景是设法使可重复再造的建筑,包括在存放处有变化(新图书馆,版本)。 内部网上有一些员额试图这样做,而我没有发现能够适当这样做。

  • Additions to the Ivy repository can change resolve results, in particular if any dependencies anywhere in the repository (not just your project) have range dependencies. Example: A depends on B;[2.0,4.0] and B;3.1 is later added to the repository.
  • Idea is to resolve as normal, write the resolve as a flattened Ivy file, save that in your project s VCS for that tag (or whatever) and subsequently resolve against that file with transitive="false". Assuming that existing items in the repository do not change, this allows repeatable builds.
  • If anyone has any better ideas for doing this, I m all ears. At the moment I m expecting to have to hack some combination of the ResolveEngine to make the ResolveReport available, then add a custom DeliverEngine to use it.
最佳回答

页: 1 该编码为<代码>ivy.xml文档,在此情况下可作为规格,并产生相应的文档,例如ivy-resolved.xml<>/code>,所有过境依赖物均已解决。

问题回答

人工授精;可能有助于。

利用交付任务,以形成动态版本制约因素,代之以静态版本限制(即[2.0,3.0[改为2.2.1):

<ivy:deliver conf="*(public)" deliverpattern="${dist.dir}/ivy.xml"/>

然后利用该档案中的决心,为艺术品报告做准备。

<ivy:resolve file="${dist.dir}/ivy.xml"
             conf="*(public)"
             refresh="true"
             type="ivy" />

最后,精通的报告将解决瞬间依赖问题。

<ivy:artifactreport tofile="${dist.dir}/artifactreport.xml" />

艺术品报告。

<modules>
<module organisation="com.googlecode.flyway" name="flyway" rev="1.7" status="release"/>
<module organisation="org.postgresql" name="postgresql-jdbc" rev="9.0" status="release"/>
<module organisation="org.hibernate" name="hibernate" rev="3.3.2" status="release"/>
<module organisation="org.apache.commons" name="commons-daemon" rev="1.0.2" status="release"/>
...

利用XSLT生产聚乙烯。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...