Ask Your Question
0

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

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

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

ngrennan gravatar image

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

:rosjava_messages:jar

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 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 10:38:08

Comments

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-03-25 07: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 publish link more

Stats

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

Seen: 352 times

Last updated: Mar 25 '13