1

Possible Duplicate:
Auto refresh eclipse project upon folder update

I have been working with Java projects using Eclipse (both Ganymede and Helios). I have noticed that when I generate a file, for instance if I create and write data to a text file, or if I serialize some objects, then although the file is visible if I search outside of eclipse (i.e. using windows explorer or the places on linux) it is not appearing in my project folder.

If I try and import this file into my project, then Eclipse tells me that I can't do this because the file is already in my project structure. So I have to move the file manually outside of this folder using windows explorer etc and then import it into the eclipse project before I can see it.

Is there a way to make these generated files appear automatically? What ias the reason they're not already doing so?

Thanks in advance

Community
  • 1
  • 1
Joe
  • 4,852
  • 10
  • 63
  • 82

3 Answers3

9

right click on the project -> refresh

or press F5

windm
  • 642
  • 3
  • 12
1

Refresh your Eclispe project (F5).

chance
  • 6,307
  • 13
  • 46
  • 70
1

If you are writing those files programmatically, you might be interested in either Auto refresh as Beau suggested, or, if you can, switch to the Eclipse IO API if you wish tighter integration with Eclipse, which will directly take care of this.

Community
  • 1
  • 1
Volker Stolz
  • 7,274
  • 1
  • 32
  • 50