English 中文(简体)
我可以使用2份集体档案?
原标题:can I use 2 ivy files?
  • 时间:2010-05-04 15:26:40
  •  标签:
  • java
  • ant
  • ivy

I. 建造第三方开发商的环境。 I, to provide them with a ivy.xml which a 3 ́ ́ >,and a ivy->, they should change.xml.

<target name="resolve" depends="download-ivy">
    <ivy:resolve file="ivy.xml"/>
    <ivy:resolve file="ivy-custom.xml"/>
</target>

然而,这似乎不可行。 ivy-custom.xml似乎篡改了原来的ivy.xml。 是否有任何人知道这样做的方法? 感谢。

问题回答

您可考虑将其分成两个单独的单元。 第一个是依靠您的活力,并把它出版到您的宝库中。 (said org=“com.abc”,名称=“your-module”,版本1.0)

那么,您的3个政党的开发商可以使用集体-核心-xml,把“your-module”作为依赖物之一。

<dependency org="com.abc" name="your-module" rev="1.0" transitive="true"/>

您的开发商可以进入贵处。





相关问题
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 ...

热门标签