ivy

IVY - Set the default transitive value

限于喜欢 提交于 2019-12-22 08:50:12
问题 How do you override the defalut value of transitive in IVY? 回答1: I'm assuming that you don't want ivy to download the transient dependencies of a dependency declaration in your ivy.xml file? Option 1: Transitive parameter (ivy.xml) <dependency org="foo" name="bar" revision="3.0" transitive="false"/> Option 2: Configuration mapping (ivy.xml) If the bar module is held in a Maven repository then mapping the default configuration to the master scope will omit other dependencies <dependency org=

Can Apache Ivy handle dependencies in p2 repositories?

女生的网名这么多〃 提交于 2019-12-22 08:19:59
问题 I considered using SBT (which resolves dependencies using Ivy) to build an Eclipse RCP application. Is it possible? 回答1: If you can access the p2 repository via the standard ivy resolvers(listed here: http://ant.apache.org/ivy/history/latest-milestone/settings/resolvers.html) then it should be possible. 来源: https://stackoverflow.com/questions/6256963/can-apache-ivy-handle-dependencies-in-p2-repositories

External project dependency in Vaadin

廉价感情. 提交于 2019-12-21 22:42:25
问题 I have a Vaadin project and an external Java project. I would like call code in the external project from Vaadin. I have both project imported in Eclipse and the Vaadin project references the external one in Eclipse Java Build Path . Eclipse reports no error but when I deploy the Vaadin application to Tomcat (using Project > Run As > Run on Server ), I get the following error: HTTP Status 500 - java.lang.NoClassDefFoundError: com/example/MyClass Note that the Vaadin project is based on Ivy,

Create a Private Remote Ivy Repository

可紊 提交于 2019-12-21 20:26:52
问题 I've been doing quite a bit of searching and am unable to put all the pieces together. I want to create an ivy repository on one of our servers. I want to lock it down so it is private, and then be able to publish to this repository from Gradle. I know how to publish using Gradle, and I have that working with a local ivy file system that Gradle creates: repositories { mavenCentral() ivy { name "localRepos" url "${System.properties['user.home']}/repos" } } uploadArchives { repositories { add

How to assemble a multi-project ant build system

流过昼夜 提交于 2019-12-20 21:04:12
问题 At my new gig, they use Ant and cannot be persuaded to move to Maven. I've looked everywhere for a decent example of how a multi-project ant build system should be assembled. The apache site falls short. I'm looking specifically for best practices to: Automatically build local projects that are dependencies of a project Share artifacts from project to their dependents Export a project's dependencies and generated artifacts (jars) to be inherited by dependent projects Share third-party

Find hidden dependencies in Ivy

99封情书 提交于 2019-12-20 14:10:03
问题 I'm using Apache Ivy + IvyDE for getting my project's dependencies, which are: <dependency org="com.google.guava" name="guava" rev="r08" /> <!-- logging --> <dependency org="org.slf4j" name="jcl-over-slf4j" rev="1.6.1" /> <dependency org="ch.qos.logback" name="logback-classic" rev="0.9.27" /> <!-- database --> <dependency org="org.hibernate" name="hibernate-entitymanager" rev="3.6.2.Final" /> <dependency org="org.hibernate" name="hibernate-validator" rev="4.1.0.Final" /> <dependency org="org

ivy: prevent downloading sources and .txt files

萝らか妹 提交于 2019-12-20 07:18:03
问题 How to tell IVY to not download source and .txt files. I have a dependency and it downloads license.txt files with it, when i use soemthing like this <ivy:cachepath pathid="ivy-src-classpath" conf="compile"/> it put the .txt files in the classpath which errors out while using java task Unable to obtain resource from /home/muthiah/Work/ivy/cache/org.apache.commons/com.springsource.org.apache.commons.logging/licenses/license-1.1.1.txt: java.util.zip.ZipException: error in opening zip file 回答1:

Can I publish a directory using Ivy?

删除回忆录丶 提交于 2019-12-20 05:53:09
问题 I have a python lib, and I want to use Ivy to manage my private libraries. I python lib file structure looks like: mylib\ __init__.py f1.py f2.py ... Now I want to publish mylib as a whole, instead file by file. In Ivy, I know how to publish one file by using the artifact tag. But how can I publish the whole directory? 回答1: The problem with a directory is that it's not very easy to version it's contents... The most common solution to this problem is to create a tar or zip package and publish

Using Apache Ivy with netbeans

久未见 提交于 2019-12-20 04:14:18
问题 I have an existing project that is developed using netbeans, and I would like to integrate Apache Ivy in the project. I updated the build.xml generated by netbeans to download ivy (if necesarry) and use it to retrieve the dependencies. Does anyone know how I can add the downloaded dependencies to the build path of the project, such that it will compile okay and also so that it doesn't show missing libraries errors in the interface. I would prefer to do this without using a netbeans plugin if

what does the little arrow -> do in the ivy dependency section?

若如初见. 提交于 2019-12-20 03:48:09
问题 i'm using ivy and the firm i work at has a few fun little ivy and ant tutorials. Each tutorial helpfully completely skirts around what the arrow does in an ivy build xml file, when used in the dependencies section. So, given this setup: <configurations> <conf name = "runtime" /> <conf name = "build-tests" extends="runtime" /> </configurations> ... <dependencies> ... <dependency org="blah" name="junit" rev="default" conf="build-tests->runtime"/> <dependency org="blahblah" name="xmlutil" rev=