This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
(I want to view or edit these files within eclipse without going to the directory and open it manually).
For example, I have integrated jboss server in eclipse and want to reference files such as the files within
"..\jboss\server\default\conf" - so I guess, I have to create a new fileset (via file filter), or?
Creating new File Filter gives me the following options:
Name, RootDirectory, Includes, Excludes.
But doing so, does not show me the files within the given directory, even I declared that no files should be excluded and all files should be included.
What is wrong?
I use eclipse 3.4.
Joined: Jun 28, 2008
okay solved, I had to restart the IDE and it works.
Eclipse doesn't do dynamic updating of its file views. There's been a hint that it's because not all OS's it might run under have mechanisms (or at least write-once/run-anywhere mechanisms) to support that, and I presume that the alternative (periodically scanning every directory) wasn't considered reasonable. Obviously, not everyone cares about portability as much, so some of their competitors are more accommodating on that score.
However, any file/directory that gets changed outside of Eclipse, whether it's a server or just a simple data directory in a stand-alone application project requires that Eclipse be notified that it needs to rescan and update its internal (and displayed) knowledge. That's done using the "Refresh" menu command, which usually (but not always) can be kicked off via the F5 key.
An IDE is no substitute for an Intelligent Developer.