ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Grenyer <paul.gren...@gmail.com>
Subject [Solved] Re: Depedencies in shared repository
Date Wed, 05 Aug 2009 08:19:31 GMT
Hi

Here's my problem:

<!-- ivysettings-purple-shared.xml -->
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ivysettings>
<ivysettings>
 <resolvers>
   <url name="shared">
       <artifact
pattern="http://localhost/ivy/[organisation]/[module]/[type]s/[artifact]-[revision].[ext]"/>
       <ivy pattern="http://localhost/ivy/[organisation]/[artifact]/ivys/ivy-[revision].xml"/>
   </url>
 </resolvers>
</ivysettings>

The problem is my Ivy pattern:
http://localhost/ivy/[organisation]/[artifact]/ivys/ivy-[revision].xml

For some reason, when specifying Ivy patterns, [artifact] is no longer
the same as [module] (can you tell there's something I don't
understand here? ;-)). So if I change the pattern to:
http://localhost/ivy/[organisation]/[module]/ivys/ivy-[revision].xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ivysettings>
<ivysettings>
  <resolvers>
    <url name="shared">
    	<artifact pattern="http://localhost/ivy/[organisation]/[module]/[type]s/[artifact]-[revision].[ext]"
/>
    	<ivy pattern="http://localhost/ivy/[organisation]/[module]/ivys/ivy-[revision].xml"/>
    </url>
  </resolvers>
</ivysettings>

Everything, including IvyDE works as expected.

Many thanks for bearing with me! I apologise if it's been hard work,
but we got there in the end!

-- 
Thanks
Paul

Paul Grenyer
e: paul.grenyer@gmail.com
w: http://www.marauder-consulting.co.uk
b: paulgrenyer.blogspot.com

Mime
View raw message