Skip to content

Unable to build an offline buildpack #53

@kjhawar

Description

@kjhawar

Hi,
I am trying to build an offline buildpack and upload it to my CF PaaS(installed using CF Nise installer) so that my CF wont need internet when i push my Java webapp.

Bundler version: 1.6.2
Ruby version: ruby 1.9.3p545 (2014-02-24) [i386-mingw32]

i cloned this repo, did a 'bundle install', followed by 'bundle exec rake package OFFLINE=true'. i am getting the following error:

C:\Users\kjhawar\ws\java-buildpack>bundle exec rake package OFFLINE=true > log
.txt
The system cannot find the path specified.
The system cannot find the path specified.
[DownloadCache] WARN Request failure 1, retrying: Content has
invalid size. Was 4041, should be 3976.
[DownloadCache] WARN Request failure 2, retrying: Content has
invalid size. Was 4041, should be 3976.
[DownloadCache] WARN Request failure 3, retrying: Content has
invalid size. Was 4041, should be 3976.
[DownloadCache] WARN Request failure 4, retrying: Content has
invalid size. Was 4041, should be 3976.
[DownloadCache] WARN Request failure 5, retrying: Content has
invalid size. Was 4041, should be 3976.
[InternetAvailability] WARN Internet availability set to false: Reque
st failed: Content has invalid size. Was 4041, should be 3976.
[DownloadCache] WARN Unable to download http://download.run.pi
votal.io/groovy/index.yml into cache build/staging/resources/cache: Content has
invalid size. Was 4041, should be 3976.
rake aborted!
Unable to find cached file for http://download.run.pivotal.io/groovy/index.yml
C:/Users/kjhawar/ws/java-buildpack/lib/java_buildpack/util/cache/download_cache.
rb:65:in get' C:/Users/kjhawar/ws/java-buildpack/rakelib/dependency_cache_task.rb:144:inbloc
k (2 levels) in uris'
C:/Users/kjhawar/ws/java-buildpack/rakelib/dependency_cache_task.rb:141:in each ' C:/Users/kjhawar/ws/java-buildpack/rakelib/dependency_cache_task.rb:141:inbloc
k in uris'
C:/Users/kjhawar/ws/java-buildpack/rakelib/dependency_cache_task.rb:140:in each ' C:/Users/kjhawar/ws/java-buildpack/rakelib/dependency_cache_task.rb:140:inuris
'
C:/Users/kjhawar/ws/java-buildpack/rakelib/dependency_cache_task.rb:42:in initi alize' C:/Users/kjhawar/ws/java-buildpack/Rakefile:40:innew'
C:/Users/kjhawar/ws/java-buildpack/Rakefile:40:in `<top (required)>'
(See full trace by running task with --trace)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions