File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes server filesets in eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "server filesets in eclipse" Watch "server filesets in eclipse" New topic

server filesets in eclipse

nimo frey
Ranch Hand

Joined: Jun 28, 2008
Posts: 580
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

Joined: Jun 28, 2008
Posts: 580
okay solved, I had to restart the IDE and it works.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17416

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.
I agree. Here's the link:
subject: server filesets in eclipse
It's not a secret anymore!