Re: defaultCacheDir="Dev/Null" ?

2011-06-20 Thread Richard_Senior
Geoff Clitheroe-2 wrote: > > 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 > Tha

defaultCacheDir="Dev/Null" ?

2011-06-17 Thread Richard_Senior
Is there a way to disable the default resolution and repository caches in ivy using configuration? It is possible on Unix machines to set the default cache dir to dev/null but this is not possible on windows machines... Also it's a bit drastic. There are several situations in which you don't wan

Ivy tries to resolve src even type set to jar

2011-05-03 Thread Richard_Senior
Hello, Even though I've specified type="jar" in my retrieve ant task, I get the following : [ivy:retrieve] :: problems summary :: [ivy:retrieve] WARNINGS [ivy:retrieve] [FAILED ] com.springsource.bundlor#com.springsource.bundlor;1.0.0.RELEASE!com.springsource.bundlor-sources.

Re: How to add a complex project such as Spring or Hibernate to an ivy private Repository?

2011-04-14 Thread Richard_Senior
Adib-5 wrote: > > Hi, > > I am trying to figure out how to add a complex project such as > hibernate to a private ivy repository. > Do you know about the springsource bundle repository? http://ebr.springsource.com/repository/app/ If you're creating a spring/hibernate app then everything you

Re: how do I exclude the downloading of source jars?

2011-04-13 Thread Richard_Senior
Jonathan Williams-10 wrote: > > Use configurations... > Sorry, it's not part of publishing that's the problem. When I retrieve a dependency, the ivy file that accompanies it tells ivy that there are source jars available. Ivy then tries to download the source jars, but the maven proxy we're us

how do I exclude the downloading of source jars?

2011-04-13 Thread Richard_Senior
Hello, How do I tell ivy that even though a dependancy stipulates a source jar as part of it's published artifacts, I don't want the source jars downloading? -- View this message in context: http://old.nabble.com/how-do-I-exclude-the-downloading-of-source-jars--tp31388590p31388590.html Sent fro

Re: Web based ivy repository...

2011-04-12 Thread Richard_Senior
Richard_Senior wrote: > > I need to be able to publish and consume dependancies from a remote > repository. > Is there a web application that will allow http put or some other method > of publishing dependancies directly to it using ivy:publish? > Artifactory... Am ve

Re: Web based ivy repository...

2011-04-12 Thread Richard_Senior
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 this message in context: http://old.nabble.com/Web-based-ivy-repository...-tp3

Web based ivy repository...

2011-04-12 Thread Richard_Senior
Hello, I need to be able to publish and consume dependancies from a remote repository. Is there a web application that will allow http put or some other method of publishing dependancies directly to it using ivy:publish? I've tried codehaus maven-proxy but it doesn't allow publishing. When I set

Hopefullly my last set of questions ... :)

2011-04-11 Thread Richard_Senior
Hello, I've been trying to get IVY to do my bidding for a couple of weeks now and I have it doing what I need it to do more or less. I know for sure that I'm mis-using ivy but I have not the time to learn how to do it properly right now. Over the next few months I'm going to try and fix these pro

Why does it not download my dependancies?

2011-04-04 Thread Richard_Senior
Hello, I publish my module and all works. But when I come to use my module as a dependancy in another module the first module's dependancies do not come down even though I'm specifying what I believe to be a good ivy file in the resolver? Any ideas what this might be? -- View this message in con

Re: extra attributes on the dependancy tag...

2011-03-31 Thread Richard_Senior
Richard_Senior wrote: > > Hello, > > Can you pass extra attributes on the dependancy tag that can be used or > ignored by each individual resolver? > So for example : > I found 'extras'. But now I have this problem : temporary: bad cruisedate found in C:\ecl

extra attributes on the dependancy tag...

2011-03-31 Thread Richard_Senior
Hello, Can you pass extra attributes on the dependancy tag that can be used or ignored by each individual resolver? So for example : Then in one resolver I could write : http://cruise/artifacts/[organisation]/[OPTIONALPARAMETER]/[module]/[artifact]-[revision].[ext]"; />

Re: Publishing...

2011-03-24 Thread Richard_Senior
I'm trying to build artifacts that look like com.blah.blah-1.0.0.jar etc. but I think what I need is to append those files.. So the named cruise builds would be com.blah.blah-1.0.0-build.12.jar and my local builds would be com.blah.blah-1.0.0-dev.jar (or something). this is probably the 'ivy' way

Re: Publishing...

2011-03-24 Thread Richard_Senior
Tim Brown-12 wrote: > > I believe you're confusing the purposes of repositories and caches. > Please review the cache concept - > http://ant.apache.org/ivy/history/latest-milestone/concept.html#cache > I probably am... The way I see it a resolver finds a file : 1) and puts it in the cache. 2

Re: Publishing...

2011-03-24 Thread Richard_Senior
In my opinion, Ivy needs the ability to publish to caches, as well as resolvers. We also need the ability to wipe individual caches by name. Better yet there should be an ant task that allows for dependancies marked in a particular way to be wiped from the local cache. -- View this message in con

Re: Publishing...

2011-03-24 Thread Richard_Senior
I have found a solution using the resolvers 'cache' attribute and multiple caches. So each module publishes to the temporary resolver. At the top of a build which kicks off builds for all modules, the temporary cache folder can be deleted.

Re: Publishing...

2011-03-23 Thread Richard_Senior
Tim Brown-12 wrote: > > Can you elaborate on your process here? Is your goal to publish them > locally > and then reference the resulting binary instead of project references? > Hmm now I come to try I find it difficult and I think I now know why Essentially when the build runs in cruisec

RE: Publishing...

2011-03-23 Thread Richard_Senior
Kirby Files wrote: > > More to the point, it's hard to imagine a useful pattern which doesn't > include organization and module, and probably type (you would had to end > up with a source and javadoc jar having the same location/name as the > binary jar). > > Also, you'll want to add the ivy pa

Re: Publishing...

2011-03-23 Thread Richard_Senior
Ach... fixed part of my problem.. I was missing the revision in the pattern ; should have been ${dist.dir.live}/[artifact].[revision].[ext] -- View this message in context: http://old.nabble.com/Publishing...-tp31221641p31221704.html Sent from the ivy-user mailing list archive at Nabble.com.

Publishing...

2011-03-23 Thread Richard_Senior
Once again, sorry for spamming the forums... I have a successful build of my module. Now I want to publish the artifacts that my build script produced. I have created a resolver which points to a local directory on my machine. Now I want to get my artifacts into that resolver. It seems that the a

Re: Just the artifact I want...

2011-03-23 Thread Richard_Senior
topher1120 wrote: > > I believe it does the same, just in a different scope. I personally use > the > attribute on "dependency" so I can pick and choose. > Thanks, > Topher > On Mar 23, 2011 8:25 AM, "Richard_Senior" > wrote: > Yes your solu

Re: Just the artifact I want...

2011-03-23 Thread Richard_Senior
Archie Cobbs wrote: > > Try adding transitive="false" to your definition. > > I use this often to define a "javac" configuration (here's an > example > ). > -- > Archie L. Cobbs > Perfect. Thanks! I did look here : http://ant.apache.o

Re: A couple of errant artifacts...

2011-03-23 Thread Richard_Senior
Richard_Senior wrote: > > I'm sorry if this is not the right place... but i'm a bit stuck. > > I need to get the following from public repositories : > j2ee.jar > and the code coverage tool jars : > emma.jar > emma_ant.jar > also : > org.osgi.core-4.1

Just the artifact I want...

2011-03-23 Thread Richard_Senior
Hello, Sorry for spamming the forum, but this is my first few days using Ivy so this is when I need the forum the most.. I have a situation where I am asking for a dependancy that itself has a lot of dependancies that I don't need. Is there a way that I can tell IVY that for this one single depe

Re: A couple of errant artifacts...

2011-03-23 Thread Richard_Senior
Richard_Senior wrote: > > I'm sorry if this is not the right place... but i'm a bit stuck. > > I need to get the following from public repositories : > j2ee.jar > and the code coverage tool jars : > emma.jar > emma_ant.jar > also : > org.osgi.core-4.1

A couple of errant artifacts...

2011-03-22 Thread Richard_Senior
I'm sorry if this is not the right place... but i'm a bit stuck. I need to get the following from public repositories : j2ee.jar and the code coverage tool jars : emma.jar emma_ant.jar also : org.osgi.core-4.1.0.jar (which annoyingly doesn't seem to be in the Springsource Bundle Repository) Doe

Re: Just the artifacts...

2011-03-22 Thread Richard_Senior
Ok all.. It's fixed. My problems were : 1) Wrong version of Ivy 2) My Cache dir was my lib dir 3) I didn't wait until the end of the build when there is quite obviously a 'copy' task that puts all the artifacts in lib. Thanks all for your time. -- View this message in context: http://old.nabble

Re: Just the artifacts...

2011-03-22 Thread Richard_Senior
Steve Miller-26 wrote: > > conf="runtime" type="jar"/> > Make sure you clear the lib dir. Or add sync="true". It should work the > same in version 2 as well. > No, it's still not giving me things in the pattern you show above. I'm getting the default [organisation]/[module]/[type]s/[artifact]

Re: Just the artifacts...

2011-03-22 Thread Richard_Senior
Nope, still not working even with the latest version of Ivy -- View this message in context: http://old.nabble.com/Just-the-artifacts...-tp31211016p31211194.html Sent from the ivy-user mailing list archive at Nabble.com.

Re: Just the artifacts...

2011-03-22 Thread Richard_Senior
Actually could it just be that I seem to be using an old version of ivy? I'm using 2 instead of 2.2 -- View this message in context: http://old.nabble.com/Just-the-artifacts...-tp31211016p31211160.html Sent from the ivy-user mailing list archive at Nabble.com.

Re: Just the artifacts...

2011-03-22 Thread Richard_Senior
Steve Miller-26 wrote: > > Try > Thanks for the quick response! Still not working.. it's putting everything in ./lib in the full repository structure of [org] complete with all ivy's. I think there's a thing called ivyPattern and artifactPattern you can use in the cache settings but I'v

Just the artifacts...

2011-03-22 Thread Richard_Senior
Hello, This is my first 'modular' build and I've discovered Ivy.. which I immediately like. I'm trying to replace my existing build scripts which do what Ivy does manually using the ant get task. What I want to do is simply get all the dependancy jars into my /lib folder but I'm getting all the s