This appears to be caused by a bug in the JDK: http://bugs.sun.com/view_bug.do?bug_id=6724345
I've pushed a workaround for this problem. Please update your checkout of rosjava and try again.
Originally posted by damonkohler with karma: 3838 on 2012-04-23
This answer was ACCEPTED on the original site
Post score: 1
Original comments
Comment by LucaGhera on 2012-04-24:
It still fails for me with a new error: * What went wrong: Execution failed for task ':rosjava_messages:generateSources'. > Command '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java' finished with (non-zero) exit value 1.
Comment by damonkohler on 2012-04-25:
Please run gradlew with --info or --stacktrace and open a new question.
Comment by ira on 2012-04-26:
Thanks, it is successfully built now.
Comment by Yeison Rodriguez on 2013-03-24:
What was the resolution to this problem? I'm having the new issue listed here.