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

Revision history [back]

click to hide/show revision 1
initial version

I solved the problem the hard way.. I copy the package to it's new place, overwrite all the files that had the previous address in some place and then remove the autogenerated files like Thomas said (thanks). I did:

grep -rlZ 'originaladdress' . | xargs -r0 perl -pi -e 's/originaladdress/newaddress/g'

All files that had the previous address in some place was modified to use the same files but in the new location, and then i deleted the autogenerated files:

rm -rf CMakeCache.txt CMakeFiles cmake_install.cmake msg_gen srv_gen src/myPackage
cmake .
rosmake

At the end i deleted the original package and run without a problem from the new location in svn folder, it's seems a lot of work just for moving a package but it was the only way that i make it work.