Ask Your Question

rosjava Gradle build: Could not copy MANIFEST.MF [closed]

asked 2013-03-25 01:53:39 -0500

updated 2014-01-28 17:15:53 -0500

When I try to build rosjava, I am running into this very strange error:


FAILURE: Build failed with an exception.

  • What went wrong: Could not copy MANIFEST.MF to '/Users/Yeison/ros_java/rosjava_core/rosjava_messages/build/tmp/jar/MANIFEST.MF'.

When I listed the file, it shows the proper permissions. The file is owned by me. However, it contains 0 Bytes. I even tried deleting the file and rerunning the gradle install. The same problem persisted.

-rw-r--r--  1 Yeison  staff     0B Mar 25 06:45 /Users/Yeison/ros_java/rosjava_core/rosjava_messages/build/tmp/jar/MANIFEST.MF

Is something creating the file prematurely? I'll take a look to see if I can find that.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Closed for the following reason "the question is answered, right answer was accepted" by Yeison Rodriguez
close date 2013-03-25 05:38:08

1 answer

Sort by ยป oldest newest most voted

answered 2013-03-25 02:56:04 -0500

This problem can be resolved by making sure that the setup.bash file is sourced. I accidentally opened a new terminal and forgot to re-source.

edit flag offensive delete link more


Asked: 2013-03-25 01:53:39 -0500

Seen: 456 times

Last updated: Mar 25 '13