Eclipse建working set

转自:http://www.techiesafari.com/tech/tute/tu/totorial_9.1.jsp


Real World Problem

Suppose you are having a requirment in which you have atleast 10 projects in your Workspace where the Eclipse is pointing & you want that the package explorer will show only the project on which you are working on and not display the other packages/Folders?

You may have different solution for this problem Like

1.Move the project into different workspace.

2.In project explorer,Closed the project on which you are not working and custumize the view to exclude the close projects.

3.In package explorer,Closed the project on which you are not working and filter the items to exclude the closed projects.

4.But the simple and best solution is define the working sets

Working sets are simply, as their name suggests, a sub-set of files/classes/folders/projects that represent a certain developer workflow.Developer have so many options while dealing with a working set.Working set allows you to group many projects in a single group that belongs to single application.Working sets are defined as global means they are available with each perspective.

Now to create a working set let us we have 6 project in our Eclipse in package explorer

To Open Package Explorer

Windows->show View ->package Explorer

In package Explorer,Click on View Menu and select Working set

Windows like below will open there click on New it will open an other window where you can have choices which kind of working set you want to have is it a resource,Breakpoint,java etc

As we are creating a working set for Java so click on that

Now a window will open here,give the name of working set,after that select the projects Testing,Testing_1,Testing_2,Testing_4 and say add,This will add the project in working set and then click Finish

After you click on finish you will get a window like below where you can Select the working set created and say ok

If you see in the package Explorer only 4 projects which we have selected in Working set will be available

You can also deselect the working set by clicking Deselect working set


  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值