Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gradle distribution fails #5

Closed
rafalkrupinski opened this issue Jan 16, 2015 · 10 comments
Closed

gradle distribution fails #5

rafalkrupinski opened this issue Jan 16, 2015 · 10 comments

Comments

@rafalkrupinski
Copy link
Contributor

Download http://www.rio-project.org/maven2/org/rioproject/distribution/5.0/distribution-5.0.zip
:distribution:gatherDeps FAILED

FAILURE: Build failed with an exception.

  • Where:
    Build file '/home/rufio/sorcer/SORCER/distribution/build.gradle' line: 119

  • What went wrong:
    Execution failed for task ':distribution:gatherDeps'.

    Could not resolve all dependencies for configuration ':distribution:distribution'.
    Could not download artifact 'org.rioproject:distribution:5.0:distribution.zip'
    Failed to download resource 'http://www.rio-project.org/maven2/org/rioproject/distribution/5.0/distribution-5.0.zip'.
    > Premature end of Content-Length delimited message body (expected: 26347449; received: 25144236

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

@mwsobol
Copy link
Owner

mwsobol commented Jan 16, 2015

Rafał,

Nie wiem co robisz, przed chwilą sprawdziłem - nie żadnego problemu.
Ja pracuję w branch develop jak i moi studenci w mom wykładzie w PJATK, dzisiaj mam ostatni wykład.
Przełączylem się do master i jest OK.

Pierwszy krok jest zbudowanie dystrybucji, bez tego nic nie działa. A więc bo sklonowaniu SORCER-a z gitHub:

  1. gradle dist
  2. gradlle bootSorcer
  3. gradle browser
  4. cd examples/sml
  5. gradle test
  6. gradle terminateSorcer

Template dla zrobienia service jest w examples/service
Tutorials na project site: http://sorcersoft.org/project/site/

Pozdrawiam,

  • ms

On Jan 16, 2015, at 11:23 AM, Rafał Krupiński notifications@github.com wrote:

Download http://www.rio-project.org/maven2/org/rioproject/distribution/5.0/distribution-5.0.zip http://www.rio-project.org/maven2/org/rioproject/distribution/5.0/distribution-5.0.zip
:distribution:gatherDeps FAILED

FAILURE: Build failed with an exception.

Where:
Build file '/home/rufio/sorcer/SORCER/distribution/build.gradle' line: 119

What went wrong:
Execution failed for task ':distribution:gatherDeps'.

Could not resolve all dependencies for configuration ':distribution:distribution'.
Could not download artifact 'org.rioproject:distribution:5.0:distribution.zip'
Failed to download resource 'http://www.rio-project.org/maven2/org/rioproject/distribution/5.0/distribution-5.0.zip http://www.rio-project.org/maven2/org/rioproject/distribution/5.0/distribution-5.0.zip'.

Premature end of Content-Length delimited message body (expected: 26347449; received: 25144236

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED


Reply to this email directly or view it on GitHub #5.

@rafalkrupinski
Copy link
Contributor Author

gradle dist działa
gradle distribution nie działa

@mwsobol
Copy link
Owner

mwsobol commented Jan 16, 2015

Rafał,

To jest ten sam task, ja używam skrótu “dist".

  • ms

On Jan 16, 2015, at 12:03 PM, Rafał Krupiński notifications@github.com wrote:

gradle dist działa
gradle distribution nie działa


Reply to this email directly or view it on GitHub #5 (comment).

@rafalkrupinski
Copy link
Contributor Author

To w takim razie gdzieś urywa, czasem distrybucja rio się ściąga, czasem nie. Paweł też to ma

@rafalkrupinski
Copy link
Contributor Author

Problem pojawia się w dalszym ciągu, nie mogę zbudować dystrybucji. Proszę o naprawienie

@rafalkrupinski rafalkrupinski reopened this Mar 3, 2015
@dreedyman
Copy link
Collaborator

This is unreproducable for me. Although sometimes a retry is required. Additionally, you seem to be using an outdated version of the project, since the latest depends on Rio 5.1.2

@rafalkrupinski
Copy link
Contributor Author

When a retry isn't required? It would seem that rio distribution gets downloaded every time

@dreedyman
Copy link
Collaborator

The rio distribution does not get downloaded every time you build the sorcer distro, just if you do not have it. Once you have it, it just uses it.

@rafalkrupinski
Copy link
Contributor Author

Sounds reasonable, only it never actually managed to build. I can download the file manually, maybe you could tell me where to put it?

@mwsobol
Copy link
Owner

mwsobol commented Feb 6, 2017 via email

@rafalkrupinski rafalkrupinski closed this as not planned Won't fix, can't repro, duplicate, stale Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants