ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Cross <>
Subject Inline Retrieve Task
Date Wed, 16 May 2012 10:21:02 GMT


I have been experimenting with Ivy/Ant and have a question about the 
retrieve task.

While specifying in my build.xml

<ivy:resolve transitive="false"/>

and having an ivy.xml containing e.g.

<ivy-module version="2.0"
xsi:noNamespaceSchemaLocation="" >
     <info organisation="org.myorganisation" module="foo-5.3.0.ER2"/>
         <dependency org="org.myorganisation" name="foo" rev="5.3.0.ER2">
             <artifact name="foo" ext="zip"/>

However, what I really would like to do is in the build.xml have

<ivy:retrieve keep="true" inline="true" 
organisation="org.myorganisation" module="foo" revision="5.3.0.ER2" 

However, I cannot get it to recognise the zip extension it keeps 
attempting to download foo-version.jar.

I have tried variations of patterns in my ivysettings but that seems to 
have no effect. Currently it has:

         <chain name="default" returnFirst="true">
            <url name="SOA-BRMS-5.2" m2compatible="true">


Does anyone know how to get inline working with a zip extension?



View raw message