score:1

up to you! i've always found keeping the related versions of different projects, which belong to the same release in a given workspace a cleaner approach. that way, i could switch between workspaces whenever i need to refer to something in a separate release, and switch back to the current release workspace. it also saves me from the hassle of checking-out, or browsing the repository.

score:1

you may also want to keep in mind that you can open multiple instances of eclipse as long as they are looking at different workspaces. not sure if that is important to you, but i like doing that from time to time.

score:1

i like to use several decoupled workspaces (which differ depending on the type of project), which import projects from various locations. easy to move things around, without creating a ton of similar workspaces. plays nice with my scm too.

score:1

depends on how many projects do you work?if you work on many projects, i'd use same workspace, because if you use several you can easily forget what is where and that can be frustrating to say at least. however i always use different workspace for different programming languages that way its less confusing, when you're in java workspace you think java :d

score:2

i have all my projects in single workspace and use working sets to manage them.

score:3

i would use separate workspaces for different "groups" of projects. for example you might want to combine your main app project and the unit testing project together in the same workspace.

score:3

maybe i'm unlucky, but eclipse often (once a month, say) dies on startup, typically in the "initializing java tooling" stage. the recommended solution seems to be to create a new workspace. if you have all your projects in one workspace, this can be a pain. i think smaller workspaces may mean the crash is less likely to occur.

score:3

as the preferences are workspace-specific, i tend to have a enormous workspace open - i'm too lazy to sync some settings between workspaces (e.g. repositories...).

on the other having too much projects open in a single workspace can slow down eclipse - so the least i have to do is to close projects i'm not working with. i manage a lot of relative short-term projects (at most one month) in eclipse, that reside in the same workspace (and in most cases the same repository), so this setup gives me a bigger flexibility.

if you have several, interrelated projects, then keep them in the same workspace. if you can identify group of projects, that are always used together, but the groups are used independently, then put such project sets into different workspaces. in that case that should be the logical structure.

score:3

we have a situation where we have several projects, some on branches, which frankly is too impractical to keep in the same workspace - and working sets are a joke. unfortunately. also having projects open you do not use, may accidentially be chosen from completion menues, etc. error prone.

the really nifty feature for us, was when team -> project sets were added (in eclipse 3.3 i believe) as this allowed us to have a single file describing the many projects making up the whole application, which can be imported in eclipse with team->import. need a given project? check it out of cvs, locate the projectset.psf file inside of it, and import that.

this has proven to work well for us.

score:3

i have one workspace per type of project. ex: plain java, web application, python etc.

the reason being i can share libraries that are similar without copying or pointing to them. also, i close the unrelated projects from eclipse to avoid clutter.

score:6

if the projects are interrelated (i.e. have dependencies on each other) then it quite often makes sense to have them in the same workspace. also, if you are working on several projects to solve a related problem, the same applies.

you will waste a lot of time changing workspaces unnecessarily otherwise, especially when the ide will immediately show you the impact the changes in one project has on another.

score:7

not only do i keep separate workspaces for each project but i keep separate copies of eclipse also. this is because i typically have to put projects on ice for long periods and return to them (with little notice) and they absolutely must build. i can't take the chance that some plugin i've installed for my latest project (maven based) will interfere with the build process of one of the legacy systems (ant based). for the record i do document the eclipse environment for those legacy systems but i don't have time to mess with eclipse when patching a production bug.

score:28

i create eclipse workspaces around products, because for me, a product can have multiple projects within them, for example like having core libraries compiled into one jar in a project, this is used by other projects.

in terms of production environment, you would want products running in different directory structures, much cleaner that way. and in eclipse the workspace creates a directory with workspace name. so, create workspaces based on product/app rather than one or more projects within them.

score:30

i used to keep separate workspaces, but got tired of the difficulty in keeping settings consistent between them. now what i do is create working sets for different projects and change the current window working set to filter out everything except what i want to work on. so far this has worked fine for me.

since each project can have multiple working sets, and the window working set can be any combination of working sets, it's quite easy to only see what you want at any given time this way.


Related Query

More Query from same tag