ivy

Proxy settings with ivy...

Hi, I have an issue where in I have defined dependancies in ivy.xml on our internal corporate svn. I am able to access this svn site without any proxy task in ant. While my dependencies resides on ibiblio, that’s something outside our corporate, and needs proxy inorder to download something. I am facing problem using ivy here: I have f...

Problems using dual resolver

Hi, I ma using dual resolver and having a problem. Following is what i get when i run through ant in debug and verbose mode([http://repo1.maven.org/maven2/axis2/axis2/working@commons-lang/[email protected]]) [ivy:retrieve] resolved ivy file produced in c:\temp\ivy\[email protected] [ivy:...

how to ignore ivy revision number?

Guys, I have certain jar files without revision number. But as rev is mandatory attribute for ivy dependency, i am providing the revision attribute. But i have something like (-[revision]) in url resolver. but its taking the module number instead of ignoring the revision attribute. I know it wont ignore the revision attribute as its not...

IvyDE + WTP: How to workaround that ivy library is ignored by WTP?

I have found IvyDE which allows me to solve an outstanding problem of having a frozen core version of a web application, which needs to be able to pull in extra code from an update library so it is on the classpath of the web application. For development speed I've found that the "Resolve in Workspace" facility allows Eclipse to put the...

Issue with Ivy custome resolver

Hi, Can anyone help me with creating custom ivy resolver. I wish to extend URLResolver, such that it will have a new class say called ProxyURLResolver where i will set the proxy, resolve the artifact and then remove the proxy setting. I tried extending URLResolver directly before calling setRepository method and reseting after and had t...

ivy dependency on external JAR

Dear All: I am battling with Ivy (I tried maven but had an event more difficult time setting up the JBoss repository for Hibernate). Quick question - I am using this wonderful package: http://ooweb.sourceforge.net/index.html Unfortunately, the JAR is only available through Sourceforge: http://sourceforge.net/projects/ooweb/files/ooweb...

Ivy and Snapshots (Nexus)

Hey folks, I'm using ant, ivy and nexus repo manager to build and store my artifacts. I managed to get everything working: dependency resolution and publishing. Until I hit a problem... (of course!). I was publishing to a 'release' repo in nexus, which is locked to 'disable redeploy' (even if you change the setting to 'allow redeploy' ...

Reporting on release changes when using JIRA, Ivy and SVN

Hey guys, Our team has a number of independant services, and (possibly nested) dependant versioned libraries - currently managed in Ivy. Whenever a dependant library is updated, all libraries and services dependant on this need to be re-released. Therefore the author of a change can carry other people's changes out to Production. We wa...

Can I use properties in an ivy.xml file to avoid repeating version numbers of dependencies?

Here's what part of my ivy.xml looks like right now: <dependency org="org.springframework" name="org.springframework.core" rev="3.0.2.RELEASE" /> <dependency org="org.springframework" name="org.springframework.context" rev="3.0.2.RELEASE" /> <dependency org="org.springframework" name="org.springframework.jdbc" rev="3.0.2.RELEASE" /> <de...

http authentication between using ant/ivy retrieving dependency from nexus?

I have an issue when attempting to retrieve a dependency from a nexus repository when running ant with ivy. the dependency is never resolved, when running with verbose output the suspect line is '[ivy:retrieve] authentication: k='@' c='null'. I have tried many different variations of providing the credentials configuration to ivy, but ...

How can I add Snapshot and test variations to my ivy.xml

Hey folks, I'm using ant+ivy+nexus to build and publish my java OSGi projects (just good old jars if you're unfamiliar with OSGi). After the usual mind-melting period one has when engaging with new tech I've got a mostly functional system. But, I now have two dimensions of artifact variation: snapshot/release and main/test. The main/t...

Gradle/ivy use cached repos?

Dear All: I would like Grade/Ivy to use cached versions of my jars, as it takes ~20 seconds to check every time for updates. Is this possible? Thank you Misha ...

How to exclude a particular package form a dependancy?

When specifing a dependancies using ant ivy, is there a way to exclude a particular package? eg: I am putting a dependency to MyJar.jar it has packages com.test.one com.test.one.first com.test.one.second com.test.two etc. i want to exclude the package com.text.one.first if there is a way, how can i do that? ...

Declarative dependency handling for multi-module source projects in version-control.

We have a number of products that consist of a large number of modules, some of which are shared between some of the products. They are spread out over a few version control repositories. Products are built by master Ant scripts that are responsible for checking out all modules and building them in the correct order. The modules don't h...

Get ivy:retrieve to not copy a jar into two configurations?

I'm trying to set up my ant build so that the targets which run Ivy functions are completely separated from the ones that the continuous build and most developers run. I want one target to download updated dependencies, which I'll check in. Other targets will set up their classpath by including *.jar from the relevant directory. I hav...

ivy - create local repository to pull multiple jar files from same location

I have a local repository, in which i can put one jar and retrieve it using ivy. Now for svnant, I want to put 4 jar files in one folder and try to use ivy to retrieve it. my patten in org/module/version/module-version.jar. how do i perform this. ...

Resolving XSD's using Ivy

Forgive the double post but I am keen on an answer to this. I would like some advice as to the approach I am taking. I am using Ivy for dependency management and am able to download and use all my jar files no issues. I would like to also run the <schemavalidate> task in Ant and would like to use Ivy to download the xsd's and dtd's as s...

Which tools to use for Grails Development

I've recently started using Grails and I have the following questions about the available tools for development on the framework: I tried using maven with the a project, but that wasn't working so I switched to the in-built ant/ivy system. It works fine and is easy to use, but I'm curious if down the road there may be problems - i.e. d...

Configure SBT's Ivy cache directory, per-user or system-wide

I am using SBT as my build tool for building a Scala project. My problem is, I can't let SBT download its dependencies to my user home directory. Therefore I am looking for a per-user or even better a system-wide setting to tell SBT to put the Ivy cache directory somewhere else. With maven there is the per-user settings.xml that can be...

Access internal maven repo from IVY

Hereabouts, we use a Sonatype Maven repository. This is jolly nice for our maven projetcs, but we have a legacy application that uses Ant+IVY for dependency management which now needs a dep from Maven. My IVY settings file looks like: <ivysettings> <property name="dsnexus-root" value="http://internal-url/" override="false"/> <...