Why eclipse can not find the hidden .project file until I press Ctrl-H on folder?

I am using eclipse on Ubuntu 11.10

When I try to open an project in eclipse IDE, it complains that the .project file can not be found. Now if I open the project folder in Ubuntu file browser and press Ctrl-H the hidden .project file is shown. After this, moving back to eclipse I can easily open the project.

I need to do this every time I login to ubuntu.

2

2 Answers

This may happen because of a bug in JDK. There is a similar question for Windows on StackOverflow but same may be true for Linux/Ubuntu as well. Try updating your JDK to the latest version and then test opening a project with hidden .project file.

Maybe not ideal, but a quick fix would be to always show hidden files/folders. In Nautilus, in the menu go Edit>Preferences, then under the Views tab, under Default View enable Show Hidden and Backup Files. My reason for suggesting this is that you seem more interested in quickly accessing your .project file in Eclipse than care about whether hidden files show up in the file manager. Hopefully in the future Eclipse will be able to "see" hidden files automatically.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like