Re: "Who depends on me" report

2012-05-03 Thread Geoff Clitheroe
> me my dependencies, I want the inverse, who depends on me. This will tell > me which apps I need to upgrade and therefore regression test. > > Incidently, the ibm mq libraries don't have ivy.xml's, because, they don't, > not sure if that's a relevant fact or not.

Re: "Who depends on me" report

2012-05-03 Thread Geoff Clitheroe
I haven't done this with Ivy but it looks like it is possible with the report task: http://ant.apache.org/ivy/history/latest-milestone/use/report.html I have used Tattle Tale for this. It's really nice. http://www.jboss.org/tattletale Cheers, Geoff On Fri, May 4, 2012 at 5:10 PM, Denis Kriza

Re: Vfs resolver hangs when using FTP

2011-10-31 Thread Geoff Clitheroe
I don't know about the lvy FTP client. If your using recentish Linux and iptables then there are FTP conn track modules that will help. Cheers Geoff On Nov 1, 2011 6:31 PM, "Nelson, Ryan" wrote: > Searching the archives, I discovered this post by Peter Skeide with a > problem using a VFS/FTP res

Re: How do I get dependecies out of a maven repo?

2011-09-22 Thread Geoff Clitheroe
You most probably need to set your resolvers to be Maven compatible (in your settings file) e.g., http://download.java.net/maven/2/${ivy.shared.m2.ivy.pattern}"/> http://download.java.net/maven/2/${ivy.shared.m2.a

Re: Ivy and Scala : how to best represent platform/toolset/runtime difference?

2011-07-06 Thread Geoff Clitheroe
Hi, sorry if you have seen this already but have you tried SBT - the simple build tool for Scala? It uses Ivy under the hood to manage deps. I saw a few demos and it looked so nice I wanted to use it for pure Java projects. https://github.com/harrah/xsbt/wiki http://stackoverflow.com/questions

Re: defaultCacheDir="Dev/Null" ?

2011-06-17 Thread Geoff Clitheroe
If you're able to use dynamic revisions and come up with a suitable matching rule for artifacts from that repo then you could set a TTL rule with time 0 http://ant.apache.org/ivy/history/latest-milestone/settings/caches/ttl.html Cheers, Geoff On Fri, Jun 17, 2011 at 11:40 PM, Richard_Senior wr

Re: Strange dependency resolution

2011-05-31 Thread Geoff Clitheroe
I haven't done this but I'm pretty sure you could add an artifact child to dependency with type war. http://ant.apache.org/ivy/history/latest-milestone/ivyfile/dependency-artifact.html I would try something like the last example except with type war. Cheers, Geoff On Wed, Jun 1, 2011 at 7:15 A

Re: Using Ivy from a custom module system

2011-05-26 Thread Geoff Clitheroe
Hi Bob Total stab in the dark about what your end goal might be but http://one-jar.sourceforge.net/ Cheers Geoff On May 27, 2011 5:52 PM, "Bob Lee" wrote: > I'm trying to integrate Ivy into a custom module system. I'm using Ivy's API > directly. I want to use Ivy to resolve and download external

Re: Building a Repo -- Excludes Question

2011-05-24 Thread Geoff Clitheroe
My take; if you are ever going to share that repo with other developers or have your CI system publish to it on successful builds (we do) then use a repo manager from the start. If you want it to be local for now then is 127.0.0.1:80 local enough? Also, you asked if it is possible to install dir

Re: Building a Repo -- Excludes Question

2011-05-24 Thread Geoff Clitheroe
I don't see a direct dependency on javax.activation for cxf-rt-frontend-jaxws so something else is calling for it. http://search.maven.org/#artifactdetails%7Corg.apache.cxf%7Ccxf-rt-frontend-jaxws%7C2.4.0%7Cjar You will occasionally hit these problems. You may want to check out http://code.googl

Re: Publish ibiblio + filesystem converts organisation to directories but ibiblio + ssh does not - Where did I go wrong?

2011-05-12 Thread Geoff Clitheroe
system over > ssh and I couldn't figure out why.  Perhaps this is the reason. > > Peter > > On Thu, May 12, 2011 at 5:57 PM, Geoff Clitheroe wrote: > >> It's m2compatible that is making the difference. >> >> From >> http://ant.apache.org/ivy/history

Re: Publish ibiblio + filesystem converts organisation to directories but ibiblio + ssh does not - Where did I go wrong?

2011-05-12 Thread Geoff Clitheroe
It's m2compatible that is making the difference. >From >http://ant.apache.org/ivy/history/latest-milestone/resolver/filesystem.html ...'since 1.3 Using the m2compatible attribute, this resolver will convert dots found in organisation in slashes like maven2 does for groupId. For instance, it will

Re: How to analyse dependencies ?

2011-05-10 Thread Geoff Clitheroe
I haven't done this with straight ivy but I have used tattle tale and it was excellent for this job. http://www.jboss.org/tattletale Cheers Geoff On May 10, 2011 7:23 PM, "marc.deboeck" wrote: > > Hello, > We noticed that our dependencies are not always defined in an optimal way. > The reason i

Re: Web based ivy repository...

2011-04-12 Thread Geoff Clitheroe
18 AM, Richard_Senior wrote: > > > Geoff Clitheroe-2 wrote: >> >> FWIW we use Apache Archiva http://archiva.apache.org/ e.g., >> ... >> > Could I be cheeky and ask you for links to your ivy files please? :) > Does Archiva accept publishing via HTTP? > -- > View thi

Re: Web based ivy repository...

2011-04-12 Thread Geoff Clitheroe
FWIW we use Apache Archiva http://archiva.apache.org/ e.g., http://codegeo.org/archiva/browse/nz.org.geonet All the ant tasks to take care of publishing and credentials etc are in our build base file: http://codegeo.org/repos/codegeo/build/trunk/build-base.xml If you're using netbeans then you c

Re: IVY design opinion

2011-04-06 Thread Geoff Clitheroe
Ivy can generate poms, search for ivy-generate-pom in http://codegeo.org/repos/codegeo/build/trunk/build-base.xml FWIW we use Apache Archiva http://archiva.apache.org/ e.g., http://codegeo.org/archiva/browse/nz.org.geonet I've also rolled it myself with httpd. Either works just fine. Archiva has

Re: Does ivy add any default filters used by the ant copy task?

2011-02-04 Thread Geoff Clitheroe
We're using Netbeans generated build files with Ivy for the dependency management and it works just fine. The copy looks similar What's interesting is that all the Netbeans copy tasks seem to avoiding mixing binary and text files even though there are no filters at a

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 e.g., this in my ivy.xml does exactly what you imagine ... FWIW I tend to put this at the end of the dependencies se

Re: Issue Different Time Zone - IVY Repository

2011-01-27 Thread Geoff Clitheroe
I would try setting the timezone for the JVM running ant/ivy to the same as the server e.g., setting the JVM arg -Duser.timezone='America/Arizona' If this works then let us know... Cheers, Geoff On Fri, Jan 28, 2011 at 3:36 AM, Prakash Karnati wrote: > Hi, > > I have one query on IVY reposit

Re: Managing external tool with ivy

2011-01-10 Thread Geoff Clitheroe
Hi Pat, is it an option to use the ant 'get' task? This can use time stamping (for http) to reduce downloads http://ant.apache.org/manual/Tasks/get.html This is how we boot strap Ivy itself. We use an ant property for the Ivy version. Cheers, Geof

Re: latest strategy question

2010-10-31 Thread Geoff Clitheroe
Look like it should just work (to me) http://ant.apache.org/ivy/history/latest-milestone/settings/latest-strategies.html On Mon, Nov 1, 2010 at 7:07 AM, Max Reider wrote: > > I want to have a latest strategy t

Re: Using IVY programatically

2010-10-15 Thread Geoff Clitheroe
i, Oct 15, 2010 at 4:13 AM, Geoff Clitheroe >wrote: > > > You're more then welcome to check out the code and give it a try - > running > > 'ant setup-nb-build-environment' will use Ivy to fetch the dependencies > and > > running 'ant jar' comp

Re: Using IVY programatically

2010-10-14 Thread Geoff Clitheroe
t; > On Wed, Oct 13, 2010 at 10:51 AM, Geoff Clitheroe >wrote: > > > Sorry - you will need to be sure to look at the larger 'bin' jar which is > > the repackaged one e.g., > > > > > > > http://codegeo.org/archiva/repository/publish/nz/org/geonet/G

Re: Using IVY programatically

2010-10-13 Thread Geoff Clitheroe
Sorry - you will need to be sure to look at the larger 'bin' jar which is the repackaged one e.g., http://codegeo.org/archiva/repository/publish/nz/org/geonet/GeoNetCWBQuery/2.2.2/GeoNetCWBQuery-2.2.2-bin.jar -G On Wed, Oct 13, 2010 at 9:08 PM, Geoff Clitheroe wrote: > Yep I ge

Re: Using IVY programatically

2010-10-13 Thread Geoff Clitheroe
ach that has worked very well for us (and the users). Cheers, Geoff On Tue, Oct 12, 2010 at 7:06 AM, Shay Tessler wrote: > hey Geoff > i dont need a single jar , i need to manage dependencies smart way > problematically > > > On Mon, Oct 11, 2010 at 10:52 AM, Geoff Clitheroe

Re: Using IVY programatically

2010-10-11 Thread Geoff Clitheroe
Is it an option to repackage the dependencies along with your code into a single jar? We use progaurd to do this for a couple of projects. I can point you at some ant files for the process if your interested. http://proguard.sourceforge.net/ Cheers Geoff On 11 Oct 2010 11:27, "Shay Tessler" wro

Re: Question about documentation

2010-10-05 Thread Geoff Clitheroe
This is excellent: http://www.ibm.com/developerworks/java/library/j-ap05068/index.html?ca=drs- This has a very good chapter - it's a little old (pre move to Apache) but the concepts are the same. http://www.manning.com/loughran/ This has a section in a chapter but I haven't read the book http

Re: latest-revision latest-strategy & integration versions

2010-08-30 Thread Geoff Clitheroe
ly version with the *-SNAPSHOTx auto-incrementing. This > raises the potential for a conflict if a developer build produces > *-SNAPSHOT5 based on ivy:buildnumber because the latest version in the > shared repo is *-SNAPSHOT4 and then subsequently the shared repo gets its > own *-SNAPSHOT5. &

Re: latest-revision latest-strategy & integration versions

2010-08-24 Thread Geoff Clitheroe
Hi Mitch, I'm heading for a plane and will be away for a while. This may be useful - how we're doing snapshots (for this repo anyhow) http://codegeo.org/confluence/display/codegeo/Publishing http://codegeo.org/repos/codegeo/build/trunk/build-base.xml Cheers, Geoff On Wed, Aug 25, 2010 at 3:

Re: Reference build-path not found.

2010-08-23 Thread Geoff Clitheroe
You can pass -d to ant. Do you need ${} round dist.dir? -G On 24 Aug 2010 07:29, "Ben Cuthbert" wrote: > Apologies I think I solved this, well sort of. Now when the publish-remote gets called I get the following error > > impossible to publish artifacts for com.test#project-testmodule;work...@c

Re: making an SCM managed copy of your external artifacts

2010-08-10 Thread Geoff Clitheroe
Hi, I've used 'both approaches' 1. Use Ivy to build and maintain the repo - I use a master Ivy file with all the deps we use specified and then a resolve and rsync to the enterprise repo (which is Apache httpd). This also holds our shared ivy settings. This way I have more control over what goes

Re: ivy:install

2010-08-05 Thread Geoff Clitheroe
Hi, you need to make the filesystem resolver m2 compat. Here's what ours looks like FWIW I ran into problems with automatically determining the next build revision # from an M2 repo (was an older version of ivy) so we run two repos, one M2, o

Re: ivy.lib.dir

2010-08-03 Thread Geoff Clitheroe
Hi, we use the configurations defined in the Ivy file to resolve the dependencies to separate sub dirs of the library dir , see the ivy-resolve target here http://codegeo.org/repos/codegeo/build/trunk/build-base.xml And a bit more about the ivy.xml file and using a build-base file here http://c

Re: Suggestions for publishing to Ivy repo from Hudson using ssh

2010-06-17 Thread Geoff Clitheroe
-Windows (Linux/Unix) environment. > > Thanks, > Rich > > On Wed, Jun 16, 2010 at 6:28 PM, Geoff Clitheroe >wrote: > > > Hi Rich, > > > > Have you considered ssh key authentication? Either with an unencrypted > > private key (not so secure) or with a

Re: Suggestions for publishing to Ivy repo from Hudson using ssh

2010-06-16 Thread Geoff Clitheroe
Hi Rich, Have you considered ssh key authentication? Either with an unencrypted private key (not so secure) or with an ssh-agent holding the unencrypted key (more secure but the agent has to be restarted on server boot)? Cheers, Geoff On Thu, Jun 17, 2010 at 7:06 AM, Steele, Richard wrote: >

Re: Issue with Ivy custome resolver

2010-06-06 Thread Geoff Clitheroe
Are you trying to do something that you can't do with the existing Ant or JVM proxy options? Check the FAQ and search for proxy http://ant.apache.org/ivy/faq.html Also http://ant.apache.org/manual/proxy.html Cheers, Geoff On Sun, Jun 6, 2010 at 9:24 PM, Shaikh Almas wrote: > Hi, > Can anyone

Re: Problem Installing With com.sun.mail jars From Sun Maven Repository

2010-05-20 Thread Geoff Clitheroe
I don't think the jar you after is here there but Ivy round up is trying to solve this problem. Maybe you could contrib the correct config? http://code.google.com/p/ivyroundup/ Cheers, Geoff Hey, and don't you mean _Oracle_ published a bad pom? On Fri, May 21, 2010 at 6:40 PM, Maarten Coene wr

Re: Can I dynamically change the "defaultResolver"?

2010-05-12 Thread Geoff Clitheroe
Well I haven't actually done it but I think you can use Ivy in an 'offline' mode by slightly tweakng your cache settings to not check the source repo for update. There is some description in a bug report (!) here: https://issues.apache.org/jira/browse/IVY-879 I don't know if this is an option fo

Re: Can I dynamically change the "defaultResolver"?

2010-05-11 Thread Geoff Clitheroe
We keep our resolver chains in separate file and then configure which to use via ant properties: we have a target that sets a property This is followed by a default and a load of the ivy settings. http://repo.geonet.org.nz/ivy/repo/${geonet.

Re: Use Ivy to build XSLT dependency report

2010-05-04 Thread Geoff Clitheroe
I haven't used it for this but it would be worth looking if OXygen can help http://www.oxygenxml.com/ It's not free but for when I have to work with XML it is more than worth it. Cheers, Geoff On Wed, May 5, 2010 at 5:18 PM, Xin Chen wrote: > Thanks Michael. yes, that's what I want. I need so

Re: configuration

2010-04-28 Thread Geoff Clitheroe
On Thu, Apr 29, 2010 at 12:47 AM, Potje rode kool wrote: > I am building an webapp and I am using ivy:cachefileset to compile and to > deploy. > Some jars are both needed for compilation and runtime others like el-api > are > only needed at compile time > because Tomcat ships it allready. How can

Re: Ivy.xml changes not being published

2010-04-21 Thread Geoff Clitheroe
I haven't run into this problem (if we have to republish I blow everything away manually first) but I'm guessing you want to set forcedeliver true. http://ant.apache.org/ivy/history/latest-milestone/use/publish.html Cheers, Geoff On Thu, Apr 22, 2010 at 1:28 PM, Andrew McFague wrote: > Hello,

Re: Get current module's version in Ant

2010-03-09 Thread Geoff Clitheroe
Hi, You can use ivy:buildnumber http://ant.apache.org/ivy/history/latest-milestone/use/buildnumber.html We are frequently doing releases like 2.0.1-RC2 etc and to switch from an RC* series to finals we still use a property to be able to override the build number from the command line. Cheers, G

Re: Sharing Ivy settings file amongst developpers

2010-03-03 Thread Geoff Clitheroe
We do something very similar except the settings and an ant build-base file are located on a web server. Which ever way you go for hosting the files just think about what is essentially your public api first - ie the filename, the access mechanism, and how variables are named so that you can chang

Re: Integrating Ivy with NetBeans

2010-02-11 Thread Geoff Clitheroe
Hi, Here's how we do it. I'm busy so this isn't going to be very comprehensive but ask if you want more details. We have integrated Ivy via the netbeans ant file. The project does not need to be free form and after check out, or a change to the ivy file, we just need to run the ant target 'setu

Re: Problem publishing sources to local repository

2010-02-10 Thread Geoff Clitheroe
Hi, Depending on how your resolver is configured I think this line should be Also see if this thread helps http://markmail.org/message/p6jwwqo57y3ks5ds Cheers, Geoff On Thu, Feb 11, 2010 at 10:34 AM, David Harrigan wrote: > Hi, > > (in case of formatting problems, I've put a copy

Re: Integrating Ivy with NetBeans

2010-02-10 Thread Geoff Clitheroe
On Thu, Feb 11, 2010 at 4:53 AM, Niklas Matthies wrote: > On Wed 2010-02-10 at 10:15h, CBy wrote on ivy-user: > > On 8-2-2010 22:24, Niklas Matthies wrote: > : > > How do I distinguish between library and sources so I can add them > > to the right properties? Ivy seems to mix all jars in myproject

Re: how to install package to make ANT aware?

2009-11-23 Thread Geoff Clitheroe
Hi, Lucene core is available as a jar: http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/lucene/lucene-core/2.3.2/ If your using the default set up it _should_ just work. You may need to add more resolvers? Can you post you config and Ivy file? Cheers, Geoff On Tue, Nov 24, 2009 at 5

Re: Ivy and Maven Repository with nth-level transitive dependencies in POMs

2009-09-18 Thread Geoff Clitheroe
Hi Jim, Ivy will use Maven repos (e.g., http://mirrors.ibiblio.org/pub/mirrors/maven2/) and fetch transitive dependencies without any additional work (it will read the POMS). We've been using it like this with great success. You will run into Maven projects with bad or incorrect POM specs and hav

Re: Ivy and jar references in applets/jnlp, etc.

2009-08-21 Thread Geoff Clitheroe
Hi Dave, Sounds like a slightly tricky deployment issue... With the few applets we have we use progaurd to pack our code and all libraries into a single jar that can then be referenced in the applet tag. The name of this jar never needs to change even if it has different versions of the artifact

Re: Help with resolver pattern for publishing

2009-08-10 Thread Geoff Clitheroe
Hi Topher, some fragments from our ivy-settings and an ivy file below. The pattern in the resolver takes it's values from the settings in the ivy.xml files so in this case we publish a war, and sources and javadoc jars. Cheers, Geoff Ivy settings: ... property name="ivy.shared.m2.ivy.pattern"

Re: Depedencies in shared repository

2009-08-05 Thread Geoff Clitheroe
> So it appears that Ivy is finding net.purpletube.goodmusic-0.2.jar in > my shared repository but completely missing the fact that it's > dependant on commons-lang. Hi Paul, if it finds your jar and complains about commons-lang then it means that the ivy.xml file is probably ok and the your reso

Re: Depedencies in shared repository

2009-08-04 Thread Geoff Clitheroe
> JAR and commons-lang in my project's IVY file it works fine. But I > want to be able to do it without having to specify commons-lang in the > project ivy file. Then I think the only other option is to do an inline resolve in your build file. Look at inline, part way down the page here http://a

Re: Depedencies in shared repository

2009-08-04 Thread Geoff Clitheroe
On Wed, Aug 5, 2009 at 7:49 AM, Joshua Tharp wrote: > Shouldn't your org be org.apache.commons? There is commons-lang/commons-lang/2.* on central. Paul, what resolvers are you using? Can you post you settings files. The ivy.xml file tells Ivy about your project and it dependencies, the settings

Re: Using ivy:buildnumber with more than one url resolver

2009-07-30 Thread Geoff Clitheroe
I'm guessing you where replying to Doug but for completeness The issues I initially had are discussed (by me alone) here http://www.nabble.com/ivy%3Abuildnumber-bug-with-m2compatible-resolver--Ivy-2.1.0-rc1-to23643568.html#a23660603 This is very similar to http://issues.apache.org/jira/browse

Re: Using ivy:buildnumber with more than one url resolver

2009-07-30 Thread Geoff Clitheroe
Hi Doug, I had a lot of problems with build number and M2 compat resolvers. I eventually changed our 'publish' repo to be Ivy instead of M2 compat so that the build numbers work and then do a second publish to an enterprise repo which is M2 compat so that everything looks the same from the users

Re: S3 Resolver

2009-07-26 Thread Geoff Clitheroe
Not sure if this helps, looks like Spring have rolled their own. ivy config etc below: https://fisheye.springsource.org/browse/spring-build/trunk/project-build/common/ivysettings.xml?r=HEAD https://fisheye.springsource.org/browse/spring-build/trunk/org.springframework.build.aws.ivy/src/main/java/o

Re: conf = "default"

2009-07-26 Thread Geoff Clitheroe
"default" and not > having the conf attribute at all. > > Sent from my Archimedes A3000 > > -----Original Message- > From: Geoff Clitheroe > > Date: Mon, 27 Jul 2009 09:34:38 > To: > Subject: Re: conf = "default" > > > E, can you

Re: conf = "default"

2009-07-26 Thread Geoff Clitheroe
E, can you expalin your question a bit more then! Cheers, Geoff On Mon, Jul 27, 2009 at 9:31 AM, Paul Grenyer wrote: > Hi > > Thanks! But that's not actually the question I asked. :-) > > Paul > > Sent from my Archimedes A3000 > > -----Original Message- &

Re: conf = "default"

2009-07-26 Thread Geoff Clitheroe
Hi, you probably need to specifiy the configuration your project needs the dependency in e.g., compile->default or test->default or runtime->default etc. This lets you partition you library directory. Here is an old post with an example Ivy file and another message that Barry pointed out and fou

Re: FindBugs - doesn't seem to work correctly...

2009-07-22 Thread Geoff Clitheroe
Hi Scott, I haven't used this but Ivy Round up is aimed at curing this problem (bad POMs etc) by using the ability of Ivy to get definitions from one place and jars from another. http://code.google.com/p/ivyroundup/ It looks like there is a FindBug definition there that lists dom4j. The FindBug

Re: How to build Read/Write Enterprise repository for Ivy

2009-07-16 Thread Geoff Clitheroe
Hi Vijay, You could try adding the credential tag to your ivy settings before your resolvers ... ... We have just been through the process of setting up an enterprise repo. I found that not all Ivy features are available for an m2compatible repo. The thing I really wanted but couldn't get to

Re: revConstraint doesn't constrain with latest.integration

2009-07-10 Thread Geoff Clitheroe
Hi, I think rev="latest.integration" is letting it include SNAPSHOT. You could try either deleting revConstraint and changing rev to rev="3.0.+" or leaving revConstraint as is and setting rev="latest.release" If you can try this I'd be interested to know the answer - the documentation is thin o

Re: using ivy publish artifacts to nexus repo

2009-06-18 Thread Geoff Clitheroe
Hi, I haven't tried to publish like you describe (we do it locally to disk first, then rsync the repo) but the credentials in your xml fragment apply to the ivy:configure element and are used if your settings file is being fetched from a URL. I think to provide credentials for publishing you woul

Re: multiple ivy.xml files or configurations

2009-06-16 Thread Geoff Clitheroe
Hi Barry, configurations are definitely the way to go for what you are describing (I found it very confusing for a while). I've included an ivy file for a jar we publish. For example the project uses commons-httpclient for compilation and gets it in it's default configuration conf="compile->def

Re: Beginner question - Ivy depencency set --> ANT fileset/classpath?

2009-06-01 Thread Geoff Clitheroe
Here's how we do it (below) to use with netbeans generated build files. The resolve does use per conf directories e.g., lib/compile lib/test and I think it helps to try to use configurations as early as possible. After running 'ant ivy-resolve' we run 'ant ivy-generate-nbproject-classpaths' and we

Re: Looking for jboss-javaee.jar

2009-05-28 Thread Geoff Clitheroe
Hi, Is Jboss's own repo any use or did you already try this one? http://repository.jboss.com/maven2/org/jboss/javaee/jboss-javaee/5.0.1.GA/ Cheers, Geoff On Thu, May 28, 2009 at 2:25 PM, Erik Weibust wrote: > > I am new to Ivy and am trying to move my current project to Ant+Ivy.  The > only

Re: ivy settings, include, and offline mode

2009-05-23 Thread Geoff Clitheroe
Hi Scott, I don't think you can get ivy:include to ignore this error. You could, I think, get the functionality that you want with 'ant copy'. If you keep a copy of the ivysettings.xml in your project somewhere and ivy:include that. Then in your ant script try to copy a new version each time and

Re: sorting or ordering of resolved jars

2009-05-21 Thread Geoff Clitheroe
Hi Rob, > > I reviewed those links, but I don't think that's quite what I'm after... > > Here as sample fragment of my ivy.xml: >         >                 rev="latest.integration" > conf="*->@"/> >                 rev="latest.integration" > conf="*->@"/> >                 rev="latest.integration"

Re: sorting or ordering of resolved jars

2009-05-21 Thread Geoff Clitheroe
Hi Rob, I'm not sure that the shadowing is easy to deal with in pure Ivy (unless the vendor is providing Ivy files with nice configs or you write your own). You could look at latest strategies and conflict resolution http://ant.apache.org/ivy/history/2.1.0-rc1/settings/latest-strategies.html htt

Re: ivy:buildnumber bug with m2compatible resolver? Ivy 2.1.0-rc1

2009-05-21 Thread Geoff Clitheroe
slated", org.replace("\.","/")); Cheers, Geoff On Thu, May 21, 2009 at 9:07 AM, Geoff Clitheroe wrote: > Hi, > > I am trying to get the next build number using ivy:buildnumber to > query a m2compatible repo.  It seems like the '.' in organizat

Re: ivy:buildnumber bug with m2compatible resolver? Ivy 2.1.0-rc1

2009-05-20 Thread Geoff Clitheroe
My issue looks similar to this one: http://issues.apache.org/jira/browse/IVY-1069 On Thu, May 21, 2009 at 9:07 AM, Geoff Clitheroe wrote: > Hi, > > I am trying to get the next build number using ivy:buildnumber to > query a m2compatible repo.  It seems like the '.' in orga

ivy:buildnumber bug with m2compatible resolver? Ivy 2.1.0-rc1

2009-05-20 Thread Geoff Clitheroe
Hi, I am trying to get the next build number using ivy:buildnumber to query a m2compatible repo. It seems like the '.' in organization doesn't get translated so as to be m2compatible and so I just keep getting the default build number unless I translate organisation manually. Is there something

Re: List of public repositories

2009-05-18 Thread Geoff Clitheroe
Hi, the only list I know of is here http://ant.apache.org/ivy/links.html. It looks like you've found some more, maybe you could add a patch to the documentation? http://ant.apache.org/ivy/write-doc.html Cheers, Geoff On Tue, May 19, 2009 at 7:18 AM, Garima Bathla wrote: > Hi All, > > I am ju

Re: ivy:install and dependency attribute differences Click to flag this post

2009-05-14 Thread Geoff Clitheroe
Hi Tom, I finally got back to this. Works great, thanks a lot. Cheers, Geoff Geoff Clitheroe wrote: > Hi, > > I'm using Ivy 2.0.0-beta1. I'm have an ivy.xml file that describes > dependencies to build a project and I'm working on creating a build file > to

Useful tool for mapping dependencies

2009-05-14 Thread Geoff Clitheroe
Hi, I have been retrofitting Ivy to a couple of projects and initially the jar hell is a bit of a struggle. I have found the project below really useful for discovering the dependencies and then doing a sanity check on the results of my Ivy resolve http://www.jboss.org/tattletale Cheers, Geoff

Re: Need JAR-files not available in ibiblio (for JavaMail), suggestions

2009-05-04 Thread Geoff Clitheroe
Hi, if it's Javax things your after then a lot of it is on http://download.java.net/maven/2/ My resolver to use that looks like http://download.java.net/maven/2/${ivy.shared.m2.ivy.pattern}"/> http://download.java.net/maven/2/${ivy.shared.m2.artifact.pattern}"/> It is a good idea

ivy:install and dependency attribute differences

2009-04-20 Thread Geoff Clitheroe
Hi, I'm using Ivy 2.0.0-beta1. I'm have an ivy.xml file that describes dependencies to build a project and I'm working on creating a build file to copy those dependencies to an enterprise repo using the ivy:install task. Basically I expect to; 1. get a project with an ivy.xml file. 2. bless