ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kent Larsson <kent.lars...@gmail.com>
Subject Re: Possible bug in Ivy 2.0.0? I get undeterministic behavior.
Date Tue, 03 Mar 2009 21:14:21 GMT
I did change it to * as I wanted IvyDE to pick up on source and
javadocs, which it still didn't. :-( So I might just as well change it
back to default.

On Mon, Mar 2, 2009 at 11:17 AM, Tom Widmer <tom.widmer@googlemail.com> wrote:
> Maarten Coene wrote:
>>
>> I think it's caused because Ivy automatically adds source and javadocs
>> artifacts to the maven modules if they are available. When you do the
>> ivy:retrieve, you will also retrieve these sources/javadocs, but your
>> retrieve-pattern maps the sources/javadocs artifacts to the same file as the
>> artifact with the class-files.
>>
>> You can solve it by either:
>> - add the [type] token to your retrieve pattern, or
>> - add type="jar" when calling ivy:retrieve
>>
>> Maarten
>
> Or set up your configuration mappings to avoid the javadocs and sources:
> conf="runtime->*"
> is generally a bad idea - I tend to use 'default' rather than '*' if I just
> want the compile and runtime jars.
>
> Tom

Mime
View raw message