ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niklas Matthies <ml_ivy-u...@nmhq.net>
Subject Re: advanced ivy retrieve syntax
Date Thu, 04 Mar 2010 19:25:26 GMT
On Thu 2010-03-04 at 10:44h, Juha Ranta wrote on ivy-user:
:
> Now that I thought of it, I'd like it if I could do something like this:
> 
> <dependency org="xxx" module="dom4j" conf="runtime->default"
> e:localdir="mbeantypes"/>
> 
> and then use the localdir or whatever extra attribute I defined in the
> dependency in my retrieve task. 
> 
> I don't think it's always a good idea to expect that a single jar should
> know whether it is placed in war, ear, APP-INF/lib, classpath, as a BEA
> shared library, in the mbeantypes directory, in the classpath, or whatever,
> and publish all the confs that the user may need. 

Well, can't the user instead define appropriate private confs in his
module, one per target directory, with the respective dependencies,
and then perform multiple retrieves, one for each conf?

-- Niklas Matthies

Mime
View raw message