On Thu, Mar 6, 2008 at 11:11 AM, praveen babu <[EMAIL PROTECTED]> 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/

Reply via email to