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

Revision history [back]

click to hide/show revision 1
initial version

Easier way is to just add the 'eclipse' plugin to your root build.gradle file and then run ./gradlew eclipse. It will generate all the eclipse project files you need that can then be imported into eclipse. Eclipse is happy then, so you should be too.

Any time you update the dependencies in the build.gradle in subprojects, you should rerun the ./gradlew eclipse task. This will update the classpaths for eclipse.

An example of my usual workflow:

Then run catkin_make on it to make sure it's all compiling. Source the setup.bash and then go into the rocon_rosjava_core and run the gradle eclipse task.