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

Unofficial msgs tutorial - rosjava

asked 2014-04-07 04:16:25 -0600

viccro gravatar image

updated 2014-04-07 04:16:45 -0600

I'm going through the rosjava tutorials, and I'm running up against problems with making unofficial messages.

I followed all of the steps in section 2.1, but when I attempt to catkin_make, my build fails. I get the following: .

:my_java_library:jar UP-TO-DATE
:foo_msgs:generateSources UP-TO-DATE
:foo_msgs:compileJava UP-TO-DATE
:foo_msgs:processResources UP-TO-DATE
:foo_msgs:classes UP-TO-DATE

FAILURE: Build failed with an exception.

* What went wrong:
Could not copy MANIFEST.MF to '/home/team5/RSS-hydro/src/myjava_msgs/foo_msgs/build/tmp/jar/MANIFEST.MF'.
> A Jar can only accept a valid file or directory: /home/team5/RSS-hydro/src/myjava_msgs/foo_msgs/build/classes/main

I'm not sure what I need to do to fix this...have you seen it before? I've gotten through the Publisher/Listener tutorials, set up launch files, etc, so I thought that I was on the right track...but I have no clue where to run with this one.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-04-09 14:40:42 -0600

Daniel Stonier gravatar image

Just following up on here with what I posed to the rosjava sig group. I suspect this means you haven't created, or don't have the real foo_msgs package on your ROS_PACKAGE_PATH. If that's correct, I probably need to add this point more explicitly on the tutorial.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-04-07 04:16:25 -0600

Seen: 321 times

Last updated: Apr 09 '14