buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Assaf Arkin (JIRA)" <>
Subject [jira] Commented: (BUILDR-69) Certain artifacts don't download properly from remote repository
Date Sat, 17 May 2008 01:25:55 GMT


Assaf Arkin commented on BUILDR-69:

I think that happens when the server returns a response without the Content-Length header.
  I'll add a fix for Buildr to avoid the exception.

However, you're accessing the repository here, which runs on Apache.  Apache always
returns the Content-Length header (essentially the file size), so if you're getting a 200
OK response with no Content-Header, check the proxy server.  Unfortunately, if the proxy server
decides to send back empty responses, you may end up with zero-sized JARs in your local repository.

> Certain artifacts don't download properly from remote repository
> ----------------------------------------------------------------
>                 Key: BUILDR-69
>                 URL:
>             Project: Buildr
>          Issue Type: Bug
>          Components: Dependency management
>    Affects Versions: 1.2.10
>         Environment: Windoze
>            Reporter: Shane Witbeck
>            Priority: Minor
> Certain dependencies don't download as expected from a remote repository. I notice that
the icon for the struts2-core on the repository is different (not a folder like the others)
if I use a browser. I suspect it's a symlink/redirect that Buildr doesn't know how to handle?
> Downloading org.apache.struts:struts2-core:jar: 
> Downloading
> undefined method `zero?' for nil:NilClass

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message