ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim White <...@pagesmiths.com>
Subject Re: Classifier frustration
Date Sat, 19 Apr 2008 09:45:46 GMT
Xavier Hanin wrote:

> On Thu, Apr 17, 2008 at 11:54 AM, Jim White <jim@pagesmiths.com> wrote:
> ... 
>>
>>I put an attribute named 'xmlns:m2' in the root element and then I can do
>>this:
>>
>>XWINGS.IVY {
>>  info(organisation:"org.ifcx", module:"WingsIvyTest")
>>  dependencies {
>>      dependency(org:'net.sf.json-lib', name:'json-lib', rev:'2.2.1'
>>          , conf:'default->runtime')
>>      {
>>          artifact(name:'json-lib', type:'jar'
>>              , 'm2:classifier':'jdk15')
>>      }
>>  }
>>}
>>
>>And that works to get the right artifact the first time.
>>
>>Now the trouble is that if you change the value of the classifier Ivy
>>doesn't notice that the artifact in the local cache is wrong.  I think that
>>the classifier needs to be appended to the module name in the cache for this
>>to work properly.
> 
> You're probably right, could you plse open an issue in jira? Obviously the
> workaround is to set the cache pattern yourself.

https://issues.apache.org/jira/browse/IVY-803

I spent a fair while fiddling with patterns (although most was wasted 
because I didn't recognized the difference between 'local' and 'cache'), 
and never did figure out what to set where.

Jim


Mime
View raw message