ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

rosjava_core build error ':apache_xmlrpc_common:compile'

asked 2012-08-31 06:47:04 -0600

Bernd Kampl gravatar image

Hi! I tried building rosjava_core as per [1], but it always gives me the same build error. I will present the steps I took to hopefully tell you enough to be able to help me.

  1. I start out with a fresh install of Ubuntu 11.10 64-bit on vmware.
  2. I install ROS electric (ros-electric-desktop-full) following the steps from [2].
  3. I install the Android SDK (but I don't think this is of relevance for rosjava_core to build correctly).
  4. I install gradle and mercurial via apt-get (sudo apt-get install mercurial gradle).
  5. I install the Sun JDK 6u35 64-bit (because I read somewhere else that OpenJDK could turn out to be a problem if libraries are missing) and set it as my Java SDK. I also tried this step with OpenJDK as my SDK.
  6. I follow the instructions on [3] to install the rest of the other software and initialize my workspace.
  7. This is the step where it fails. When I execute "./gradlew install" [4], I get the following error message:

----------

user@ubuntu:~/my_workspace/rosjava_core$ ./gradlew install

Building > :apache_xmlrpc_common:compileJava > Resolving dependencies ':apache:apache_xmlrpc_common:compileJava

FAILURE: Build failed with an exception.

BUILD FAILED

Total time: 6 mins 25.964 secs

----------

I would be very grateful if somebody could point out what I need to do it right to build rosjava_core. Cheers, Bernd


[1] http://docs.rosjava.googlecode.com/hg/rosjava_core/html/index.html

[2] http://www.ros.org/wiki/electric/Installation/Ubuntu

[3] http://docs.rosjava.googlecode.com/hg/rosjava_core/html/installing.html

[4] http://docs.rosjava.googlecode.com/hg/rosjava_core/html/building.html

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

answered 2012-09-12 02:13:53 -0600

damonkohler gravatar image

The better solution is to use the "mavenCentral()" (similar to "mavenLocal()") method. This change will be applied everywhere soon.

edit flag offensive delete link more
2

answered 2012-09-02 00:30:37 -0600

Bernd Kampl gravatar image

Turns out I found a solution to this, although it might not be perfect. In the folder "rosjava_core" open up the file "build.gradle" and on line 39 replace

url 'http://robotbrains.hideho.org/nexus/content/groups/ros-public'

with

url 'https://maven-us.nuxeo.org/nexus/content/repositories/public'

and then it will compile.

edit flag offensive delete link more
0

answered 2012-09-12 03:41:03 -0600

LargeBearCat gravatar image

Nice... how did you come up with the maven public repository?

http://maven-us.nuxeo.org/nexus/content/repositories/public worked for me.

edit flag offensive delete link more

Comments

a little bit of google-ing and just guesswork basically.

Bernd Kampl gravatar image Bernd Kampl  ( 2012-09-17 21:15:15 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2012-08-31 06:47:04 -0600

Seen: 1,747 times

Last updated: Sep 12 '12