Build Working Set > Select Working Set from the menu."> Build Working Set > Select Working Set from the menu.">
Working Sets: Q1.What Is Working Set ?
Working Sets: Q1.What Is Working Set ?
Working Sets
Q1.What is Working Set ?
A Working Set is a subset of Eclipse projects. We can create
different Working Sets and then select which Working Set to display in the
Navigator view.
They allow the developer to represent the information in various forms and with
different angles. Most of these views are navigation oriented: a perfect example
for this is the projects view or the Outline view.
Q2.When to use Working Sets in eclipse?
Over the time more projects, more resources are added to the project, and at a
certain time things get overwhelmed. Let say, I have a lot of projects, and I do
not want to switch between workspace too often. Yes, I can open and close
projects, but this gets cumbersome too. Thankfully, there we use Working Sets
In Eclipse .
Working sets are a great way of filtering sets of projects in the Navigator view.
They are particularly handy when you have sets of projects that go together. For
instance you might have a 'domain' project and a 'view' project and a 'utility'
project and a 'build' project that all go together for one work assignment, yet
you might have another assignment that consists of three other interrelated
projects. You could create a Working Set for each of these assignments and
switch between the sets using the Working Set pulldown menu available by
clicking on the white downward arrow.
1
Use of Working sets in Eclipse-By Bikash Kumar Sethy
Thankfully, Eclipse has 'Working Sets', which can help solve this problem.
2
Use of Working sets in Eclipse-By Bikash Kumar Sethy
When we create a new working set you can choose from different types of working sets. In the
example below you can create a resource working set, a Java working set or a help working set.
If we create a new resource working set we will be able to select the working set resources as shown
below. The same wizard is used to edit an existing working set. Different types of working sets provide
different kinds of working set editing wizards.
3
Use of Working sets in Eclipse-By Bikash Kumar Sethy
Working sets may also be a part of a manual build workflow. With autobuild disabled the Project >
Build Working Set menu becomes enabled. From here you are able to selectively build working sets
of your choosing.
Note: Newly created resources are not automatically included in the active working set. They are
implicitly included in a working set if they are children of an existing working set element. If you want
to include other resources after you have created them you have to explicitly add them to the working
set.