You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by Alan Chaney <al...@writingshow.com> on 2010/04/21 16:30:03 UTC
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
Re: problems with ivyroundup and oro and 'exclude'
Posted by Archie Cobbs <ar...@gmail.com>.
On Wed, Apr 21, 2010 at 9:30 AM, Alan Chaney <al...@writingshow.com> wrote:
> 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.
>
This is not an answer to your actual question, but just FYI I fixed the
Apache oro download URL in Ivy RoundUp.
-Archie
--
Archie L. Cobbs
Re: problems with ivyroundup and oro and 'exclude'
Posted by Archie Cobbs <ar...@gmail.com>.
On Wed, Apr 21, 2010 at 1:46 PM, Alan Chaney <al...@writingshow.com> wrote:
> Could well be, but as Archie has so promptly fixed the problem in the
> repository, its difficult to test it! Thanks for the suggestion, though, and
> I'll try and replicate the problem later.
>
You can still easily test it, just tweak your resolver configuration to
point to revision 1188 of Ivy RoundUp (as described
here<http://code.google.com/p/ivyroundup/wiki/HowToConfigureIvy>).
-Archie
--
Archie L. Cobbs
Re: problems with ivyroundup and oro and 'exclude'
Posted by Alan Chaney <al...@writingshow.com>.
Hi Nathan
Nathan Franzen wrote:
> 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="*"/>
>
>
Could well be, but as Archie has so promptly fixed the problem in the
repository, its difficult to test it! Thanks for the suggestion, though,
and I'll try and replicate the problem later.
Alan
> Not sure that this is related to your question however.
>
> -Nate
>
>
>
>> -----Original Message-----
>> From: Alan Chaney [mailto:alan@writingshow.com]
>> Sent: 21 April 2010 10:30
>> To: ivy-user@ant.apache.org
>> 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
>>
>
>
>
> !DSPAM:4bcf4261252832125522884!
>
>
RE: problems with ivyroundup and oro and 'exclude'
Posted by Nathan Franzen <Na...@mmodal.com>.
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:alan@writingshow.com]
> Sent: 21 April 2010 10:30
> To: ivy-user@ant.apache.org
> 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