Re: Packager resolver - java.lang.ClassNotFoundException: org.apache.tools.ant.taskdefs.optional.TraXLiaison

2016-02-17 Thread Zac Jacobson
The ivy debug log did not come attached to me via the list (though your IBM logo did), so I’m talking a guess at what might help you :) From reference: https://ant.apache.org/manual/running.html The default directories scanned are ANT_HOME/lib and a

Re: ivy:retrieve dependencies that do not belong to specific conf(s)

2015-05-27 Thread Zac Jacobson
If you rearrange your extends attributes on your conf elements, You can achieve what I think you’re asking. runtime compile extends runtime provided extends runtime test extends provided You would indicate that the org.myapp dependencies are in the runtime configuration. Here, when you

Re: cache busting and integration question

2015-03-22 Thread Zac Jacobson
If you set your resolver’s checkmodified flag to true, it will verify the timestamp of the published artifact and pull down a more recent version if the repo is newer than the cache. I’ve found that if you have chained resolvers, you need to do this at the top level and it affects all repos,

chain resolver and checkmodified in the chained resolvers

2015-01-05 Thread Zac Jacobson
Hi everyone; We're working with Ivy 2.4.0. We have a chain resolver containing three resolvers: - local - local dev's resolver - shared - in-house location of third-party libraries - release - release versions of locally-developed libraries For a variety of reasons, we want the

Re: Download webpage not updated

2015-01-02 Thread Zac Jacobson
Download page is updated, but front page still has rc1 on the download arrow (links to the correct download page), and there's no 2.4.0 in the news section http://ant.apache.org/ivy/ On Thu, Jan 1, 2015 at 2:10 AM, Nicolas Lalevée nicolas.lale...@hibnet.org wrote: Sorry about that, I forgot to

Re: Ways to state forward compatibility after the fact

2014-09-28 Thread Zac Jacobson
Hi Hugh, I have a few thoughts to share with you: 1. You could give an upper bound on the version of B upon which A relies, indicating that A 1.0 needs at most B 1.7: see the version range matchers. http://ant.apache.org/ivy/history/2.1.0/settings/version-matchers.html 2. You

Re: ivy buildlist producing incorrect order of dependencies

2014-09-22 Thread Zac Jacobson
Your ant script is building projects in alphabetical order, which happens to not match your ivy dependency order. So PrjDependingOnUtilPrj is built first, but it can't find a UtilPrj because that project hasn't been built/published yet. You should give your master ant file the explicit order to

Re: Invalid sha1 when downloading from Archiva repository

2014-09-09 Thread Zac Jacobson
What's the contents of http://my-box.example.com/archiva/repository/internal/org/sonatype/forge/forge-parent/6/forge-parent-6.pom.sha1 ? On Tue, Sep 9, 2014 at 2:46 AM, David North dtn-...@corefiling.co.uk wrote: I'm experimenting with using Apache Archiva to provide a local Maven repository.

Re: Overriding module-defined conflict managers

2014-06-24 Thread Zac Jacobson
latest-revision is already the default - just this one ivy file is overriding that. Have you tried, from your project's ivy file, excluding the modules in that one latest-compatible ivy file, and including them as dependencies in your own project file? Maybe a bit cumbersome, but you should be

Re: transitive dependency exclude not working how I expect

2014-05-16 Thread Zac Jacobson
Sorry for the chatter, I figured it out once I took a break form it: I had an exclude that put the org value in the module attribute, so that's why it was still getting included. On Thu, May 8, 2014 at 3:17 PM, Zac Jacobson pie@gmail.com wrote: In my ivy.xml files, I have a module moduleA

transitive dependency exclude not working how I expect

2014-05-14 Thread Zac Jacobson
In my ivy.xml files, I have a module moduleA with a dependency like this: dependency org=org.springframework name=spring-security rev=3.1.2 exclude org=javax.servlet/ /dependency And when I resolve, javax.servlet is not included, as I expected. Next, I have

Re: How do I add all jars in a zip as dependencies?

2014-04-25 Thread Zac Jacobson
I don't know an approach to generate the dependencies lines at build time. I think you'd have to by-script or by-hand create the dependency lines in an ivy file somewhere. For a package resolver, when you're defining the package you would also define an ivy.xml file with dependencies for each

Re: Ivy download page mirror selection not working over https

2014-04-01 Thread Zac Jacobson
for reporting this! Maarten Van: Zac Jacobson pie@gmail.com Aan: ivy-user@ant.apache.org Verzonden: maandag 31 maart 19:22 2014 Onderwerp: Re: Ivy download page mirror selection not working over https My observation is that https is not working

Ivy download page mirror selection not working over https

2014-03-31 Thread Zac Jacobson
I am looking to download 2.4.0rc1, but on the download page https://ant.apache.org/ivy/download.html it says my preferred mirror is [preferred], and when I select a different mirror, it sends me to, for example https://ant.apache.org/ivy/%5Blocation%5D?Preferred=[http] which of course is not found

Re: Ivy download page mirror selection not working over https

2014-03-31 Thread Zac Jacobson
, Zac Jacobson pie@gmail.com wrote: I am looking to download 2.4.0rc1, but on the download page https://ant.apache.org/ivy/download.html it says my preferred mirror is [preferred], and when I select a different mirror, it sends me to, for example https://ant.apache.org/ivy/%5Blocation

Re: Ivy download page mirror selection not working over https

2014-03-31 Thread Zac Jacobson
second rate Perl Hacker\n;' On Mar 31, 2014, at 12:24 PM, Zac Jacobson pie@gmail.com wrote: Yup, it works in the clear - was trying to let Apache know their download page isn't working on the https URL. Thanks. Zac On Mon, Mar 31, 2014 at 9:21 AM, David Weintraub qazw

Ivy download page mirror selection not working over https

2014-03-30 Thread Zac Jacobson
I am looking to download 2.4.0rc1, but on the download page https://ant.apache.org/ivy/download.html it says my preferred mirror is [preferred], and when I select a different mirror, it sends me to, for example https://ant.apache.org/ivy/%5Blocation%5D?Preferred=[http] which of course is not found

Resolver name null check

2012-05-08 Thread Zac Jacobson
According to this doc: http://ant.apache.org/ivy/history/latest-milestone/settings/resolvers.html#common the name attribute of the resolver is required. Unfortunately for me for a day or so, Ivy does not error out (I'm using the ant install task) when that attribute is missing from one of the