I had a similar(?) problem and realized my difficulty was that the "ext"
attribute does not default to "*".
So I have
<exclude type="source" ext="*"/> <!-- must specify ext="*" or else it
defaults to same value as "type" -->
<exclude type="javadoc" ext="*"/>
Not sure that this is related to your question however.
-Nate
> -----Original Message-----
> From: Alan Chaney [mailto:[email protected]]
> Sent: 21 April 2010 10:30
> To: [email protected]
> Subject: problems with ivyroundup and oro and 'exclude'
>
> Hi
>
> I've been trying to use ivy roundup to get cobertura. This has a
> dependency upon apache oro. Sadly, the site referenced in the packager
> file (http://www.urlstructure.com) appears to be dead. So I thought I'd
> simply exclude oro from the dependency by going:
>
> <dependency org="net.sourceforge.cobertura" name="cobertura"
> rev="1.9+" conf="test->default">
> <exclude name="oro" />
> </dependency>
>
> and that I'd manually add an oro from somewhere else (and file a bug
> report on ivyroundup)
>
> The above didn't seem to work - and I tried a number of variations. I
> kept getting messages saying:
>
> download failed: org.apache.oro#oro;2.0.8!javadoc.zip(javadoc)
>
> it didn't seem to matter what other options I put in there - I was
> always getting the javadoc thing.
>
> In the end, I've just switched to transitive="true" and manually added
> both dependencies, but I still don't understand why the exclude doesn't
> work.
>
> This is with Ivy 2.1.0 IvyDE 2.0.0-final and Eclipse 3.5.2
>
> TIA
>
> Alan Chaney