trying to Ivy-fy the Ant script task

2008-12-18 Thread Mitch Gitman
I'm trying to do some inline Ant scripting via the Ant *script *task. The same could go for the Ant *scriptdef *task . And I'm trying to make Ivy be the provider of all the libraries

RE: how to import artifacts

2008-12-18 Thread Kirby Files
I cannot defeat our mail server's virus-scanning attachment-killer, so here's the script inline: -- #!/usr/bin/perl # Looks for jars in the incoming directory, attemps to parse the # needed ivy info from the filename, and if successful, publishes # the jar to the

RE: how to import artifacts

2008-12-18 Thread Kirby Files
Sorry, let's try that *with* an attachment. --- Kirby Files Software Architect Masergy Communications kfi...@masergy.com -Original Message- From: Kirby Files [mailto:kirby.fi...@masergy.com] Sent: Thursday, December 18, 2008 11:27 PM To: ivy-user@ant.apache.org Subject: RE: how to import

RE: how to import artifacts

2008-12-18 Thread Kirby Files
I use this script: -- #!/bin/csh if ($1 == "") then echo "Usage: installjar" else /usr/local/ant/bin/ant -Dorg="$1" -Dmodule="$2" -Drev="$3" -Dinstall.path="$4" $5 $6 $7 $8 $9 endif -- With the following build t

RE: how to import artifacts

2008-12-18 Thread Jim Newsham
That's no help. Read my second paragraph. From what I can tell, "install" copies artifacts from one repository to another, rather than actually installing a new artifact. Thanks, Jim > -Original Message- > From: Daniel Becheanu [mailto:daniel.beche...@gmail.com] > Sent: Thursday, Decem

Re: how to import artifacts

2008-12-18 Thread Daniel Becheanu
Look at http://ant.apache.org/ivy/history/latest-milestone/use/install.html On Thu, Dec 18, 2008 at 8:24 PM, Jim Newsham wrote: > > > I'd like to integrate ivy into our development process. In order to do so, > I would need to import all the existing dependencies (typically jars) that > our proj

how to import artifacts

2008-12-18 Thread Jim Newsham
I'd like to integrate ivy into our development process. In order to do so, I would need to import all the existing dependencies (typically jars) that our project currently uses, into a shared repository. I couldn't find this anywhere in the documentation, so. what is the magical incantation to

Re: Noob Question, Transitive Dependencies?

2008-12-18 Thread Mitch Gitman
The publications passage you cite below would go in the ivy.xml for your hibernate/hibernate module. The dependency element you cite below would go in the ivy.xml for the *dependent *module. I think that's the part of the equation you weren't getting. On Thu, Dec 18, 2008 at 1:23 PM, Griffith, Mic

RE: Noob Question, Transitive Dependencies?

2008-12-18 Thread Griffith, Michael *
Mitch, Thanks for the reply. It seems as though I still have to go through and add each jar as an artifact. I'm not sure what the distinction is between a publication and a dependency... MG -Original Message- From: Mitch Gitman [mailto:mgit...@gmail.com] Sent: Thursday, December 18, 2

Re: Noob Question, Transitive Dependencies?

2008-12-18 Thread Mitch Gitman
If you're putting those other JARs in the same location in your Ivy repository, then the easiest approach is to also make them publications in the ivy.xml in that location. Something like: ... Note that when your dependency specifies name="hibernate"-

Noob Question, Transitive Dependencies?

2008-12-18 Thread Griffith, Michael *
Please forgive me if this message is posted to the mail list twice, I did not receive any confirmation when I mailed it previously. Hi everyone, I've been looking over the documentation, and something basic is eluding me. I have a dependency setup for a library say Hibernate. The dependency is d

Resolving problem - resolve terminates without error..

2008-12-18 Thread Zmaj
Hello, i have the problem that when i try to resolve the org.springframework.integration 1.0 jars from http://s3browse.com/explore/repository.springsource.com/maven/bundles/release/ the rsolve terminates without further expainations.. here my dep und the debug output .. [ivy:install] :: inst