Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between Java working set and Resource working set in Eclipse

Tags:

java

eclipse

What is the difference between Java working set and Resource working set in Eclipse?

The Resource working set is more general and it can include not only the Java applications / projects, but let me put it this way:

Let's assume a daily life of a Java developer. Do you suggest him/her to use Resource working set over Java working set? Is there any specific situation in which you prefer one over the other?

like image 361
sheidaei Avatar asked Dec 11 '12 16:12

sheidaei


People also ask

What is Java working set in Eclipse?

A Working Set is a subset of your Eclipse projects. You can create different Working Sets and then select which Working Set to display in the Navigator view. To create a Working Set, you can click the small downward arrow in the upper right corner of the Navigator view and go to 'Select Working Set...'

What is work space in Eclipse?

The workspace is a directory on the disk where the Eclipse platform and all the installed plug-ins store preferences, configurations and temporary information. Subsequent Eclipse invocations will use this storage to restore the previous state. As the name suggests, it is your "space of work".


1 Answers

It sounds like this should have answered the question:

  • http://www.avajava.com/tutorials/lessons/what-is-a-working-set-and-how-do-i-use-it.html

A Working Set is a subset of your Eclipse projects. You can create different Working Sets and then select which Working Set to display in the Navigator view.

Specifically:

  1. "Working set" (in this particular context), is an "Eclipse thing"

  2. The purpose of Eclipse working sets is to help organize your projects

  3. A project consists of "stuff": source code, bitmap graphics files, WSDL's, CSS style sheets - just about anything imagineable.

  4. Consequently, Eclipse projects are organized (glancing at my J2EE perspective, for example) into subsections like "src", "WebContent", "Services" and so on. A project itself can be one of many different types: a "Java project", a "Java Swing Design project", and "Dynamic Web Project" and so on.

  5. Similarly, an Eclipse Working set can be one of several different types: a "Java working set", a "Breakpoint working set ... and a "Resource working set".

  6. As with Eclipse "Views" and Perspectives", you can usually access any project resource you need any time you need it. Selecting one or another perspective simply makes the object (e.g. "Problems pane" or "Build list") easier to get to.

  7. Which kind of "Working Set" you choose - or whether or not you use working sets at all - is largely just a matter of personal preference and convenience.

Please let us know if you still have any further questions.

PS: Additional links:

https://www.ibm.com/developerworks/library/os-eclipse-visualstudio/

As mentioned, many developers load all their projects into a single Eclipse workspace. It's convenient, but it can sometimes create too much clutter. In addition to closing unnecessary projects, you can define working sets: groups of elements (projects, folders, classes, etc.). Eclipse can use working sets in different views (such as Package Explorer) and operations (like searching).

...and:

help.eclipse.org: Working Sets

like image 138
paulsm4 Avatar answered Oct 14 '22 03:10

paulsm4