multiple start up scripts generated for rosjava package

asked 2016-02-15 09:51:05 -0600

Manuel gravatar image

I have made a rosjava package following the instructions at http://wiki.ros.org/rosjava_build_too... . However, it generates multiple executables. So, when I try to execute my package:

pete@Machine:~/catkin_ws$ rosrun mypackage_rosjava mySubproject_rosjava  com.github.mypackage_rosjava.mySubproject_rosjava.MyMain

[rosrun] You have chosen a non-unique executable, please pick one of the following:
1) /home/pete/catkin_ws/src/mypackage_rosjava/mySubproject_rosjava/build/scripts/mySubproject_rosjava
2) /home/pete/catkin_ws/src/mypackage_rosjava/mySubproject_rosjava/build/install/mySubproject_rosjava/bin/mySubproject_rosjava
3) /home/pete/catkin_ws/src/mypackage_rosjava/mySubproject_rosjava/build/scripts/mySubproject_rosjava
4) /home/pete/catkin_ws/src/mypackage_rosjava/mySubproject_rosjava/build/install/mySubproject_rosjava/bin/mySubproject_rosjava
#? 

If I delete scripts from build/script, everything works nice, but it's annoying. Am I doing something wrong?

Thanks

edit retag flag offensive close merge delete