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

Updating package under eclipse

asked 2011-12-21 23:44:48 -0600

alfa_80 gravatar image

updated 2014-01-28 17:11:02 -0600

ngrennan gravatar image

I have added another source file in my package and run some commands like in the answer in this link (by running "make clean; make eclipse-project command and restart Eclipse"). However, the working package is not updated under eclipse.

I know that it will work out of the box, if I again go through the import package procedure, but, it is tiring doing it every time I add some new files in the package.

Is there any elegant way of doing it?

edit retag flag offensive close merge delete


What are the errors that you're receiving?
DimitriProsser gravatar image DimitriProsser  ( 2011-12-22 00:54:59 -0600 )edit
@DimitriProsser: There is no error but second source file that I've just added in the package is not updated in eclipse project tree. I simply cannot see it. Am I missing something?
alfa_80 gravatar image alfa_80  ( 2011-12-22 01:04:47 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2011-12-22 01:24:52 -0600

DimitriProsser gravatar image

Click on the Eclipse project tree for your package and press F5. This will update the Eclipse package manager.

edit flag offensive delete link more


You really made my day :-) Thanks a lot for the fix!
alfa_80 gravatar image alfa_80  ( 2011-12-22 01:26:05 -0600 )edit
By the way, just for sharing, I've press F5 before but not clicking to the "Eclipse project tree for your package" prior to press it. Luckily, got an eclipse expert like you here.
alfa_80 gravatar image alfa_80  ( 2011-12-22 01:28:29 -0600 )edit

answered 2011-12-22 01:42:36 -0600

tom gravatar image

Apart from the solution mentioned by Dimitri, it is also sometimes necessary to update Eclipse's index for the contextual help to work (right click on project -> Index -> Rebuild / Freshen with modified files / Freshen all files). Could help you some day too.

edit flag offensive delete link more


Thanks for the sharing!
alfa_80 gravatar image alfa_80  ( 2011-12-22 02:01:20 -0600 )edit

Question Tools


Asked: 2011-12-21 23:44:48 -0600

Seen: 1,315 times

Last updated: Dec 22 '11