ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom <t...@tbee.org>
Subject Re: Configurations and Ivy file confusion... AHA!
Date Fri, 24 Apr 2009 08:03:47 GMT

>> OK, many projects have source and jar artifacts with the same name, 
>> so you really want to either set a retrieve pattern which includes 
>> the type of the artifact for disambiguation. If you cannot do this, 
>> you'll need to specify an exclusion rule for your dependencies to 
>> only include type jar. Here are examples of both:
>>
>>         <ivy:retrieve 
>> pattern="${ivy.lib.dir}/[type]/[artifact]-[revision].[ext]" 
>> haltonfailure="true" conf="build" sync="true"/>
>>
>>         <dependencies>
>>           <exclude type="source"/>
>>         </dependencies>
>>

Yes. Finally. I get it. The pattern, more specifically the omitting of 
[type], causes two different files to be copied to the same destination 
(enunciate-rt.jar and enunciate-rt-sources.jar) .

Mime
View raw message