RE: how to exclude dependency from ALL dependencies....

2011-02-05 Thread Hiller, Dean (Contractor)
Sweet, thanks, Dean -Original Message- From: Geoff Clitheroe [mailto:g.clithe...@gmail.com] Sent: Friday, February 04, 2011 5:15 PM To: ivy-user@ant.apache.org Subject: Re: how to exclude dependency from ALL dependencies Yes, you can use exclude http://ant.apache.org/ivy/history

how to exclude dependency from ALL dependencies....

2011-02-04 Thread Hiller, Dean (Contractor)
I have about 6 things that depend on commons logging and I am trying to pull in slf4j and it's commons api, jdk api, log4j api, but I have to go add 6 different exclude and worse yet if we add a new dependency, we could end up accidentally sucking the commons jar back in again. Is there a way

Re: how to exclude dependency from ALL dependencies....

2011-02-04 Thread Geoff Clitheroe
Yes, you can use exclude http://ant.apache.org/ivy/history/latest-milestone/ivyfile/exclude.html http://ant.apache.org/ivy/history/latest-milestone/ivyfile/exclude.htmle.g., this in my ivy.xml does exactly what you imagine ... exclude org=commons-httpclient/ /dependencies FWIW I tend to

exclude dependency

2008-07-17 Thread James Cowan
Hi I have started using ivy and am moving a maven project over. In my pom.xml I have a dependency that loads in spring 2.5.4 dependency groupIdorg.springframework/groupId artifactIdspring/artifactId version2.5.4/version /dependency This downloads a few files. In my ivy.xml I

Re: exclude dependency

2008-07-17 Thread Archie Cobbs
The usual way you would do this is to specify an ivy configuration in your dependency. Since you are not specifying one, you are implicitly specifying config=* i.e., the union of all possible configurations (and their dependencies). You'll have to look in spring's ivy.xml to see what

RE: exclude dependency but resolve *its* dependencies

2008-04-22 Thread Clements Mark
-Original Message- From: Jing Xue [mailto:[EMAIL PROTECTED] Quoting Clements Mark [EMAIL PROTECTED]: Hi, I would like to be able to define a dependency in ivy.xml something like this: dependency name=OFACOF rev=HEAD conf=compile,run changing=true exclude

RE: exclude dependency but resolve *its* dependencies

2008-04-22 Thread Clements Mark
-Original Message- From: Xavier Hanin [mailto:[EMAIL PROTECTED] On Mon, Apr 21, 2008 at 4:31 PM, Clements Mark [EMAIL PROTECTED] wrote: I would like to be able to define a dependency in ivy.xml something like this: dependency name=OFACOF rev=HEAD conf=compile,run

Re: exclude dependency but resolve *its* dependencies

2008-04-22 Thread Xavier Hanin
On Tue, Apr 22, 2008 at 9:57 AM, Clements Mark [EMAIL PROTECTED] wrote: -Original Message- From: Xavier Hanin [mailto:[EMAIL PROTECTED] On Mon, Apr 21, 2008 at 4:31 PM, Clements Mark [EMAIL PROTECTED] wrote: I would like to be able to define a dependency in ivy.xml something

Re: exclude dependency but resolve *its* dependencies

2008-04-21 Thread Jing Xue
Quoting Clements Mark [EMAIL PROTECTED]: Hi, I would like to be able to define a dependency in ivy.xml something like this: dependency name=OFACOF rev=HEAD conf=compile,run changing=true exclude name=OFACOF/ /dependency ie resolving and retrieving the dependencies of OFACOF, but