ivy

How to use ivy integration versions against old versions of code?

↘锁芯ラ 提交于 2020-01-06 07:15:27
问题 My organization is looking into using Apache Ivy for dependency management in a multi-project configuration. We have a main project (call it MAIN) where most development takes place and a few helper library projects (call it LIBPROJ) which we keep in separate repositories. What we do right now is to build jars for the library projects when they change, and commit them to the main project, but this is a big headache and leads to project bloat. It looks like using something like ivy is a good

Create project from maven archetype via Apache Ivy

馋奶兔 提交于 2020-01-06 04:57:09
问题 If you want to create project with a Maven archetype you type mvn archetype:generate -DarchetypeGroupId=... -DarchetypeArtifactId=... \ -DarchetypeVersion=... -DgroupId=... -DartifactId=... \ -Dversion=... How this line would change if you are using Ivy? 回答1: ivy is not a drop in replacement for maven, it's a dependency manager for ant. If you want to use archetypes ivy won't be of any help 回答2: Since Ant + Ivy is all about configuration and flexibility, since this combo doesn't rely on

Android Ivy ActionBarSherlock

折月煮酒 提交于 2020-01-06 03:01:06
问题 Is it possible to use the type "apklib" for an Ivy dependency? In my project I'm using the ActionBarSherlock lib and I want to use Ivy for retrieving the dependency. Here is my not working xml: <dependency name="actionbarsherlock" conf="binaries" org="com.actionbarsherlock" rev="4.2.0" transitive="true" type="apklib" /> Thank you for your help! 回答1: In this case, all that's needed is a simple dependency declaration as follows: <dependency org="com.actionbarsherlock" name="actionbarsherlock"

Apache IVY : Chain tag

孤街醉人 提交于 2020-01-05 08:46:07
问题 I am new to the apache IVY. I was not able to download the springframework.web.servlet from the default repository(MAVEN) as this jar file is not present in maven repository so for adding a new repository which have this file i have used the Chain tag. But the problem is its downloading all the jar files from maven repo and the springframework.web.servlet from other repository but after that its again try to download all the other jar files from the second repository. ivysettings.xml

Ivy cached a dependency file, but not copy to my lib

女生的网名这么多〃 提交于 2020-01-03 17:20:30
问题 I got a strange problem. I added Guava to my ivy.xml as the following: <dependency org="com.google.guava" name="guava" rev="14.0.1" conf="test"/> When I run ant, I can see it's resolved: [ivy:retrieve] found com.google.guava#guava;14.0.1 in default And I can find the file in the ~/.ivy2/cache. But it didn't get copied to my lib directory. Other dependencies have no problem....Any advice? Thanks. 回答1: Specify the configuration mapping in ivy.xml I had the same problem and couldn't for the life

IVY Extends via ivy:resolve

一曲冷凌霜 提交于 2020-01-03 05:58:05
问题 We have recently introduced a common dependency in our build system which uses ivy:extends option within each individual ivy.xml. Common ivy.xml contents are as follows; common-ivy.xml <?xml-stylesheet type="text/xsl" href="http://repository.xyz.com/xsl/version-doc.xsl"?> <ivy-module version="2.0" xmlns:e="http://ant.apache.org/ivy/extra"> <info organisation="XYZ" branch="MAIN" module="CommonDependencies" revision="1.0.0" /> <configurations defaultconfmapping="test->test(*);compile->compile(*

Add Jars to Grails Project Using Ivy

随声附和 提交于 2020-01-02 22:01:04
问题 I'm following the Grails Mail tutorial: http://grails.org/A+simple+EmailerService and it mentions "Then copy two jar files into the application local lib: activations.jar and mail.jar.". Though I can do the manual copy, I was wondering if there's some way I could update my Ivy configuration file to do that pulling automatically instead. I'm not familiar enough with Ivy at this point to know how to look for repositories, etc.. 回答1: First of all you need to install the ivy plugin: grails

Can ivy or ivyDE add related jars into JAVA build path library automatically in Eclipse?

我是研究僧i 提交于 2020-01-01 11:37:08
问题 For example, when I open a well developed opensource project (like lucene) into Eclipse (with both ant build.xml and ivy ivysetting.xml), I can run ant with build.xml to build the whole project successfully. However, the project is full of errors in a mess of .java classes. This is caused by unlinking to the external jars. These jars are already download by ivy and stored in {user}/.ivy2/cache/. Also, when I manually put each of these jars into the build path of this project, the errors are

ivy:install from maven with classifiers

倖福魔咒の 提交于 2020-01-01 09:58:26
问题 I'm trying to ivy:install jogl and gluegen from maven to my local depository. I cannot get the native dependencies to install correctly. My ivysettings is <ivysettings> <settings defaultResolver="central" defaultConflictManager="all" /> <caches defaultCacheDir="${ivy.cache.dir}" artifactPattern="[organisation]/[module]/[type]s/[artifact]-[revision](-[classifier]).[ext]" /> <resolvers> <ibiblio name="central" m2compatible="true" pattern="[organisation]/[module]/[revision]/[artifact]-[revision]

Ivy, Ant, Jenkins - Is it good idea to to a <ivy:cleancache> on Jenkins builds?

若如初见. 提交于 2020-01-01 08:43:23
问题 We are going to be using Ivy with Ant, and we'll have Jenkins do our builds. I originally thought that having Jenkins do a <ivy:cleancache/> before running a build would be a good idea. (It would be part of the mandatory "clean" target). However, I now see that <ivy:cleancache> doesn't simply clean up stuff from <ivy:cachepath> , but really removes the entire $HOME/.ivy/cache directory. My concern is that if Jenkins does a <ivy:cleancache> on all builds before they start, it will interfere