ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimir Ritz Bossicard <vladi...@ritz-bossicard.com>
Subject Re: "Portable" Ivy
Date Thu, 15 Jul 2010 07:57:01 GMT
Michael,
> I can't seem to find some way to
> have Ivy use a repository whose location might change from invocation to
> invocation.  The problem is that depending on the physical configuration my
> Ivy installation (and attendant repository) might be on a
I solved a similar problem by adding placeholders in the ivyconf.xml file:

<filesystem name="localrepo" checkmodified="true">
<artifact 
pattern="${localrepo.dir}/[organisation]/[module]/[revision]/conf/[artifact].[ext]" 
/>
<artifact 
pattern="${localrepo.dir}/[organisation]/[module]/[revision]/lib/[artifact]-[revision].[ext]"

/>
<artifact 
pattern="${localrepo.dir}/[organisation]/[module]/[revision]/lib/[artifact].[ext]" 
/>
</filesystem>

with ${localrepo.dir} simply being an Ant property.

hth

-Vladimir

Mime
View raw message