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 praveen babu <to...@yahoo.com> on 2008/03/06 11:11:54 UTC
Is "rev" argument must in dependency tag of ivy.xml ?
Hi,
I was trying to load a jar file which name is not telling about the version. (i.e, axis.jar). When I try to use it in one dependency in my project, ivy was throwing an error.
1. I put an empty string in <dependency org="axis" name="axis" rev=""/>. It downloaded properly, but downloaded file name has a "-" (hypen) suffixed.
2. Is there any way to resolve this issue.
I appreciate you suggestion.
Thanks in advance,
-Praveen.
Did you know? You can CHAT without downloading messenger. Go to http://in.messenger.yahoo.com/webmessengerpromo.php/
Re: Is "rev" argument must in dependency tag of ivy.xml ?
Posted by Xavier Hanin <xa...@gmail.com>.
On Thu, Mar 6, 2008 at 11:11 AM, praveen babu <to...@yahoo.com> wrote:
> Hi,
>
> I was trying to load a jar file which name is not telling about the
> version. (i.e, axis.jar). When I try to use it in one dependency in my
> project, ivy was throwing an error.
>
> 1. I put an empty string in <dependency org="axis" name="axis" rev=""/>.
> It downloaded properly, but downloaded file name has a "-" (hypen) suffixed.
> 2. Is there any way to resolve this issue.
You can put the revision as an optional part in your pattern:
[artifact](-[revision]).[ext] for instance). But having dependencies with no
revision is a bad practice I strongly discourage.
Xavier
>
>
> I appreciate you suggestion.
>
> Thanks in advance,
> -Praveen.
>
>
>
>
> Did you know? You can CHAT without downloading messenger. Go to
> http://in.messenger.yahoo.com/webmessengerpromo.php/
--
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://ant.apache.org/ivy/
http://www.xoocode.org/