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: [email protected]
w: http://www.marauder-consulting.co.uk
b: paulgrenyer.blogspot.com

Reply via email to