+1

Building OpenICE from Source failed

K. Ebeling 10 years ago updated by Jeff Peterson 10 years ago 3
Hi,
I have cloned the repo of mdpnp with git. The java jdk I use is 1.8.0_40 (Oracle Corporation 25.40-b25) and gradle is version 2.3. I work on Mac OS X 10.10.4 x86_64. If I try to build OpenICE with command "gradle build" from root directory of mdpnp following error is thrown:
FAILURE: Build failed with an exception.

* Where:
Build file '/Users/kieb/Documents/workspace_openICE/mdpnp/interop-lab/demo-apps/build.gradle' line: 16

* What went wrong:
A problem occurred evaluating project ':interop-lab:demo-apps'.
> Could not resolve all dependencies for configuration 'classpath'.
> Could not resolve org.bitbucket.shemnon.javafxplugin:gradle-javafx-plugin:8.1.2-SNAPSHOT.
Required by:
unspecified:unspecified:unspecified
> Could not HEAD 'http://repository-javafx-gradle-plugin.forge.cloudbees.com/snapshot/org/bitbucket/shemnon/javafxplugin/gradle-javafx-plugin/8.1.2-SNAPSHOT/gradle-javafx-plugin-8.1.2-20141008.214348-1.pom'.
> org.apache.http.client.ClientProtocolException (no error message)

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

BUILD FAILED

I also have tried to import OpenICE as Gradle-project into Eclipse Luna (4.4.2) with same result. I switched to openICE-tag 0.6.3 - same result. What is wrong?
Under review
I haven't been able to reproduce this problem. The error indicated is a bad HTTP response from a server hosting libraries used in the OpenICE software. Have you retried the build (and thus the HTTP request) since then? Often network errors are transient. If the problem persists it may have to do with your network connection or the performance of the hosting server. I've built several times here and received correct responses from all artifact servers each time.

Thanks
Jeff

Thank you for your reply! I have tried it today with same result.

You are right with network problem: If I run with stacktrace option, the message is "Caused by: org.apache.http.ProtocolException: The server failed to respond with a valid HTTP response ...". But if I copy the URL http://repository-javafx-gradle-plugin.forge.cloudbees.com/snapshot/org/bitbucket/shemnon/javafxplugin/gradle-javafx-plugin/8.1.2-SNAPSHOT/gradle-javafx-plugin-8.1.2-20141008.214348-1.pom to my Browser, I can read the *.pom. Now I tried another network, wich is not secured with firewall - this error not appear. In our firewall the http protocol and port is open, also for https! Can you say, what other I must consider?

Unfortunately, if the problem is a transient network problem, I'm not sure if there's much I can do to help. If the build is working on another network, it sounds like your problem network is not configured properly.


Jeff