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

rosjava gradle compilation loop

asked 2012-03-20 11:19:11 -0500

kurmis gravatar image

updated 2014-01-28 17:11:41 -0500

ngrennan gravatar image

trying to compile rosjava using gradle following:

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

i managed to get to fourth step, when i run: ./gradlew rosjava:install everything seems to compile good, but once i hit

Building > :rosjava:test > 19 tests completed

it seems to freeze, i ran it with ./gradlew rosjava:isntall --debug and it seems to loop this forever:

23:15:47.667 [DEBUG] [org.gradle.messaging.remote.internal.WorkerProtocol] Dispatching request to worker: [Request consumer: 702b4444-12e7-4914-be76-28b05bff8732, payload: [MethodInvocation method: output()]]
23:15:47.667 [DEBUG] [org.gradle.messaging.remote.internal.WorkerProtocol] Dispatching request to worker: [Request consumer: 702b4444-12e7-4914-be76-28b05bff8732, payload: [MethodInvocation method: output()]]
> Building > :rosjava:test > 19 tests completed

using:

------------------------------------------------------------
Gradle 1.0-milestone-9
------------------------------------------------------------

Gradle build time: Tuesday, March 13, 2012 4:10:09 PM UTC
Groovy: 1.8.6
Ant: Apache Ant(TM) version 1.8.2 compiled on December 20 2010
Ivy: 2.2.0
JVM: 1.6.0_23 (Sun Microsystems Inc. 20.0-b11)
OS: Linux 3.0.0-16-generic-pae i386

Apache Maven 3.0.4 (r1232337; 2012-01-17 10:44:56+0200)
Maven home: /home/vaida/programs/apache-maven-3.0.4
Java version: 1.6.0_23, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-6-openjdk/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.0.0-16-generic-pae", arch: "i386", family: "unix"

Ubuntu 11.10

Anyone know what might be causing that loop or how to turn off that test?

edit retag flag offensive close merge delete

Comments

managed to compile it with: ./gradlew rosjava:install -x tests

kurmis gravatar image kurmis  ( 2012-03-25 11:45:57 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-03-27 02:20:54 -0500

damonkohler gravatar image

As you said in your comment, a workaround is to use ./gradlew rosjava:install -x tests.

However, please file an issue and specify which test is failing to complete. You should be able to figure that out with ./gradle rosjava:test --info.

See http://code.google.com/p/rosjava/issues/list

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-03-20 11:19:11 -0500

Seen: 464 times

Last updated: Mar 27 '12