ivy

IVY - Set the default transitive value

ぃ、小莉子 提交于 2019-12-05 15:24:53
How do you override the defalut value of transitive in IVY? 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="foo" name="bar" revision="3.0" conf="default->master"/> Option 3: Don't use information in POM files

Can Apache Ivy handle dependencies in p2 repositories?

你离开我真会死。 提交于 2019-12-05 13:56:47
I considered using SBT (which resolves dependencies using Ivy) to build an Eclipse RCP application. Is it possible? 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

Why the ivy.xml generated by `sbt publishLocal` has no configuration `default`?

浪尽此生 提交于 2019-12-05 08:39:05
When I run sbt publishLocal on a sbt project, and found the generated ivy.xml is like this: <?xml version="1.0" encoding="UTF-8"?> <ivy-module version="2.0" xmlns:e="http://ant.apache.org/ivy/extra"> <info organisation="com.thoughtworks" module="pact-jvm-provider-spring-mvc_2.11" revision="0.1" status="release" publication="20150225152253"> <description> pact-jvm-provider-spring-mvc </description> </info> <configurations> <conf name="compile" visibility="public" description=""/> <conf name="runtime" visibility="public" description="" extends="compile"/> <conf name="test" visibility="public"

resolving javadoc files with Ant and Ivy

坚强是说给别人听的谎言 提交于 2019-12-05 06:38:34
I'd like Ivy to fetch both the log4j .jar and JavaDocs. Right now, I am at a dead end. When If I use this in my ivy.xml ... <dependency org="log4j" name="log4j" rev="1.2.16"/> ... then I just get the .jar file. But when using this ivysettings.xml ... <?xml version="1.0" encoding="UTF-8"?> <ivysettings> <settings defaultResolver="default" defaultConflictManager="all" /> <resolvers> <url name="default" m2compatible="true"> <artifact pattern="http://repo1.maven.org/maven2/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/> <artifact pattern="http://repo2.maven.org/maven2/

Using NAnt and Ivy to build a VB6 project

这一生的挚爱 提交于 2019-12-05 04:52:50
问题 I am working on a continuous integration system for both .Net and VB6 applications using Subversion, CruiseControl, NAnt and Ivy. The .Net side of things isn't too much of a problem, but I need a little guidance with the VB6 side of things, more from the 'DLL-hell' side of things! My current set-up is getting all dependent files for my VB6 system, as expected and builds the various projects within ok. BUT... it's using DLLs that are already registered on my PC, and not those within my Lib

How to set up an IntelliJ Idea Scala project to recognize local Ivy2 cache?

纵然是瞬间 提交于 2019-12-05 01:48:41
As you probablu know, new versions of SBT (as 0.11) are designed to maintain a common libraries cache in ~/.ivy2/cache instead of copying the full set of dependencies inside a project directory. But IntelliJ Idea (I use the SBT plugin to generate an Idea project) default seems to be ignoring the common cache and only see the libraries put under the project directory (so, I have to configure SBT to act this legacy way). How to fix this? There are some Ivy plugins in the Idea plugin repository, but I don't know which (if any) of them can solve the problem (note that I don't want it to manage the

Apache Ivy: Difference between local Ivy cache and local repository

天涯浪子 提交于 2019-12-04 20:24:06
问题 By default Ivy installs a "local cache" under your <HOME>/.ivy2 directory. But if I decide to "host" a local repository on the same machine, say, at <HOME>/workbench/ivy/ , then how are these two concepts different? Isn't a cache the same thing as an artifact repository? 回答1: The concepts page describes the function of the ivy cache and the kinds of file it contains: http://ant.apache.org/ivy/history/latest-milestone/concept.html In a nutshell, the ivy cache is designed to improve performance

Getting rid of org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 that cannot be casted to String

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-04 19:07:30
I have just run into the Apache Ivy bug java.lang.ClassCastException: org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String ( link ) when performing Ant task ivy:config This morning I tried to install LibraryFolder ClasspathContainer plugin into my Eclipse (STS 3.6.1): installing it caused the above error every time I tried to perform ivy:retrieve . Even worse, I tried to install IvyDE plugin from Eclipse Marketplace and Eclipse started to crash at a multitude of errors, including JVM crash. Uninstalling both plugins didn't fix. I tried with a new

Ignore sources jar in Ivy retrieve

偶尔善良 提交于 2019-12-04 18:35:53
问题 I would like to retrieve ONLY the library jar when I make use of a dependency entry in my ivy.xml for Red5 (or any project for that matter). No matter how I have configured it, I still get "sources" jars for dependencies. I have scoured the docs and google and have yet to find a solution that works using Ivy 2.2.0. This set of nodes in my ivy.xml seems to work the best for most libraries, but Spring ignores them. <exclude ext="txt" /> <exclude type="src" /> <exclude artifact="!sources" /> If

External project dependency in Vaadin

你离开我真会死。 提交于 2019-12-04 16:43:33
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, not Maven. I've tried searching around for Vaadin external project dependencies with no success. I'll be