ivy

Understanding the Eclipse classpath declarations

帅比萌擦擦* 提交于 2020-01-01 02:34:36
问题 I'm trying to understand the Eclipse classpath file, in particular, I want to know this: How is the JRE using it (i.e. is the JVM reading this xml file directly, or is eclipse somehow feeding it into its internal compiler)? How are the complex entries (like the ivy path below) parsed and incorporated into the JVM ClassLoader when I run my classes from my IDE? Context: I have a strange bug which is that eclipse is using the "wrong" version of a class, whereas my ivy / ant build is using the

Ivy not installing some JARs

回眸只為那壹抹淺笑 提交于 2019-12-30 05:44:09
问题 I'm using Ivy for project dependency management and it's been working well aside from one issue which I've always had. There are certain dependencies that Ivy is downloading but it's not installing them into my project. For example, log4j.jar is not being put in the project's lib folder even though it's listed as a dependency and is being downloaded successfully. Here's the output from my resolve: ivy-resolve: [ivy:configure] :: Ivy 2.2.0 - 20100923230623 :: http://ant.apache.org/ivy/ :: [ivy

Trouble getting Hibernate Core and Hibernate Annotations using Apache Ivy (but it's also Maven2 related.)

大憨熊 提交于 2019-12-30 04:02:06
问题 It's a long one! ;-) There are a lot of copy pasted text in this question which makes it look complicated. And to be honest, it's a lot of information! However to an experienced person a lot of it might be unnecessary and easy to skim over. In its essence I'm only wondering why my basic Hibernate Core + Hibernate Annotations test project doesn't work. I suspect missing dependencies, but I'm using Apache Ivy which I thought would get transitive dependencies automatically from the Maven2

ivy simple shared repository

前提是你 提交于 2019-12-28 04:28:10
问题 I am trying to compile all sub projects of one big project at my company into many jars with managed dependencies, so that not everybody who works at one project only needs to download the latest jars from a shared repository. ivy seems to be the solution for our problem, because ivy says that it integrates with ant (out build system) very well. But I cant get through the tutorials, they are all somehow more confusing than helpful. All I want to achieve for the beginning is to have two small

What's wrong with this Ivy changingPattern / SNAPSHOT configuration?

拟墨画扇 提交于 2019-12-28 04:10:37
问题 I can't get Ivy to update cache when snapshot dependencies are updated. The resolver (to has the following settings: <url name="xxx" m2compatible="false" checkmodified="true" changingMatcher="regexp" changingPattern=".*-SNAPSHOT.*"> An example artifact filename (in Artifactory) is: my-jar-1.999-SNAPSHOT.jar A detailed Ant log of resolve includes: [NOT REQUIRED] com.myorg#my-module;1.999-SNAPSHOT!my-jar.jar There is no POM on the artifact. The resolver is underneath a chain resolver; they both

How to publish custom jars to local Apache Ivy repository

心不动则不痛 提交于 2019-12-25 08:15:39
问题 I've read all the tutorials and examples, and still cannot publish a set of custom jars in my local Ivy repository. Edit: Basically I want the same behavior as maven-install-plugin. Here's my setup. I have an Ant task which produces the jars in a given folder. The folder name is not fixed but rather passed as a property in file. I want to get all the jars in this folder and install them in my local Ivy repo so that I can use them on a next step. Here is my Ant from where I call the ivy

How do I use a local folder as an ivy repository?

喜夏-厌秋 提交于 2019-12-25 03:26:40
问题 What if I have already jars in my project lib folder and I want to use that folder as my repository instead of downloading and install it into my iv2/local folder. Right now its first downloading jars from maven to my local repository. Some jars are not found in the repository, but I have them in a lib folder and would lie to retrieve them from there. 回答1: You need to create an ivysettings.xml where you define two resolvers in a chain: FileSystemResolver Maven Repository Resolver This could

Issues using ivy

梦想的初衷 提交于 2019-12-24 19:25:33
问题 I am new bie to ivy. I am using packager resolver and that packager resolver resolves the zip file, unzip it, extracts the jar file from it in temp build file, but it stays temporarily and only the jar file which i specified as a module name gets copied to destination rest of all are ignored. Is there a way i can get all the jar files? I use preseverBuildDirectories but is there a better way to do it? Also is it possible for me to publish an artifact to svn using normal ivy? I got error while

dependency not resolved: DocumentBuilderFactory class need dependency of javax.xml.parsers in openJDK 11

让人想犯罪 __ 提交于 2019-12-24 15:15:55
问题 Advance thanks to, whom, will going to help me, rather down vote the question :) Story: I was using JDK8 and IVY as dependency manager with ANT Builder. everything was fine. My DocumentBuilderFactory class able to find javax.xml.parsers dependency. Issue: Now I am shifted to Open JDK11, Now DocumentBuilderFactory not able to find javax.xml.parsers dependency. Eclipse gives me suggestions to import, but when i Import nothing happens, and already import says the import javax.xml.parsers

Other Ivy Tokens Available?

偶尔善良 提交于 2019-12-24 15:13:44
问题 Is there a way when designating a resolver ivy pattern to be able to produce the following output? C:/MyRepository/MyCompany/MyModule/1.2.3/4/ivy.xml Currently, the [revision] token resolves to the full 4-digit version number. I'd like to be able to use the first three digits of the revision for a part of the pattern and use the last digit for a subfolder below that. Is this possible or would I have to write custom ant code to do this? Something like this: <resolvers> <filesystem name=