• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

server filesets in eclipse

 
nimo frey
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I reference files of a server in eclipse?

(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.

 
nimo frey
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
okay solved, I had to restart the IDE and it works.
 
Tim Holloway
Saloon Keeper
Posts: 18300
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic