buildr-commits mailing list archives

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

    [ https://issues.apache.org/jira/browse/BUILDR-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12597676#action_12597676
] 

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 maven.org 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: https://issues.apache.org/jira/browse/BUILDR-69
>             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:2.0.11.1 
> Downloading http://repo1.maven.org/maven2/org/apache/struts/struts2-core/2.0.11.1/struts2-core-2.0.11.1.jar
> 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.


Mime
View raw message