Saturday 15 February 2014

What's the Purpose of Workspaces in Eclipse -



What's the Purpose of Workspaces in Eclipse -

eclipse has projects, what's purpose of workspace appears grouping projects? projects live in directory tree isn't more natural way of organizing different projects?

when first start eclipse not knowing much it, feels unnecessary layer of bloat new users have accustomed first. you're forced set organizing construction that, although specific eclipse, wants live in rather general-sounding place ~/workspace.

the workspace collection of projects , metadata cannot included in project because it's not portable (references paths , resources on specific system) or because pertains eclipse whole.

without workspace concept, opening project in eclipse followed multiple steps of getting things configured. info lost when eclipse closed or projects ever work on have share same configuration.

examples of metadata stored in workspace:

locations of available jdk's , jre's. project references jre name, workspace metadata needed resolve reference.

locations of application servers.

path variables.

open perspectives, layout of views, etc. consider 1 application need git , app server vs application need svn , android development tools. views you'd want maintain open , how you'd arrange these views different 2 applications.

eclipse

No comments:

Post a Comment