How to rosmake rosjava from source?
I have tried to follow the tutorials regarding building rosjava:
First, I installed rosjava from source, as described here: http://www.ros.org/wiki/rosjava/Tutorials/Install
Next, I tried to build it: roscd rosjava_core rosmake There were no errors, but plenty of warnings, including: [rosmake-0] Finished <<< rosjava No Makefile in package rosjava
What steps am I missing? Do I create a makefile by hand as described for a new package? Ant does not work, because there is not a build.xml file. There is, however, a build.gradle file. However running gradle returns an error.
Basically, I would like to compile rosjava from source and then run the tutorial as described here: http://www.ros.org/wiki/rosjava/Tutorials/Running%20rosjava_tutorial_pubsub
What am I missing to get rosjava installed and built?
Thanks in advance.
Update: I should add that when I tried to run 'gradle build' in the rosjava_core directory, the error was something like, "Could not find method maven() for arguments". Then, I updated my gradle by downloading it, to version 1.0-milestone-8a, and that error went away.
Now, when I try to run 'gradle build', it gets much farther, but then stops at another error: Could not resolve all dependencies for configuration ':rosjava:compile'.
Could not find group:ros, module:message.std_msgs, version:0.0.0-SNAPSHOT. Required by: ros.rosjava_core:rosjava:0.0.0-SNAPSHOT Could not find group:ros, module:message.rosgraph_msgs, version:0.0.0-SNAPSHOT. Required by: ros.rosjava_core:rosjava:0.0.0-SNAPSHOT
This seems very similar to an unresolved issue: http://forums.gradle.org/gradle/topics/maven_plugin_install_task_not_being_called
Perhaps the current source snapshot of rosjava is not buildable? Please correct me if I am building this incorrectly, the tutorial seems to be out of date. Thanks.