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

Error while building rosjava.jar

asked 2011-09-12 05:06:25 -0500

sskk89 gravatar image

updated 2011-09-12 19:58:40 -0500

kwc gravatar image

Hi,

I have problem building rosjava.jar.

i tried to rosmake rosjava. and then ant dist. these are the errors i get:

after rosmake, IOError: [Errno 13] Permission denied: 'dependencies.xml'

after ant dist, BUILD FAILED /opt/ros/electric/stacks/rosjava_core/rosjava/build.xml:6: Cannot find /opt/ros/electric/stacks/rosjava_core/rosjava/dependencies.xml imported from /opt/ros/electric/stacks/rosjava_core/rosjava/build.xml

Please help. Thank you!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2011-09-12 19:58:21 -0500

kwc gravatar image

updated 2011-09-13 08:29:20 -0500

If you install rosjava from debian packages, it has already been built and is read-only. Thus, you cannot run 'ant dist' anymore -- there should already be a jar file inside of rosjava_core that you can use in your projects.

EDIT: Also check that your debian packages are up-to-date with:

apt-get install ros-electric-rosjava-core
edit flag offensive delete link more

Comments

how do I install rosjava from debian packages? i can't find the jar file inside rosjava_core. thanks for the reply
sskk89 gravatar image sskk89  ( 2011-09-12 21:58:09 -0500 )edit
It looks like you already installed it from debian packages. Does `ls ls /opt/ros/electric/stacks/rosjava_core/rosjava/dist` show `rosjava.jar`? If yes, it's installed correctly.
Lorenz gravatar image Lorenz  ( 2011-09-12 22:04:53 -0500 )edit
I don't see the 'dist' folder inside /opt/ros/electric/stacks/rosjava_core/rosjava
sskk89 gravatar image sskk89  ( 2011-09-12 22:09:28 -0500 )edit
Installing from debian packages means running 'apt-get install ros-electric-rosjava-core'. If you did that and are in the situation you are, I'm not sure what happened. I'm going to attempt to do another release of rosjava today.
kwc gravatar image kwc  ( 2011-09-13 04:43:54 -0500 )edit
reinstalling from debian solves the problem. Thanks for helping! It helps alot! life saver!
sskk89 gravatar image sskk89  ( 2011-09-13 07:01:31 -0500 )edit

Question Tools

Stats

Asked: 2011-09-12 05:06:25 -0500

Seen: 361 times

Last updated: Sep 13 '11