|
|
|
Re: Multiple branches / projects [message #655332 is a reply to message #654857] |
Sat, 19 February 2011 13:09 |
Eclipse User |
|
|
|
Originally posted by: coolsnoopy.gmx.net
Hi Jan,
to state it clearly:
* every branch of a (java) project is a new /different project in
eclipse, they have nothing to do with each other. Btw.: you will have to
change the project-name in .project if you want to have different
versions of the same project in one workspace: the project-name must be
unique. So e.g. change it from DEVEL-myProject to MAINT-1.0-myProject etc..
* if you work with lot's of projects it is good practice to seperate
them in different workspaces: one for devel, one for maint etc..
you can than launch eclipse 2 times with different workspaces.
Use the option to set a name in the titlebar of eclipse to avoid mixing
up things.
* in eclipse you can group projects using working-sets in the
project-explorer. simple but good to organize your projects
* if neccessary you can define depenencies: project B opens / closes if
project A is opened / closed. Myself does not use it, but kight be an idea.
* mylyn, mmhh... I tried it a few weeks, but it was to "noisy" and
didn't help me that way I needed it. I think it's no good tipp to use it.
* another option / idea: depending on the decoratos you have it might be
possible to color the filenames in the project-explorer-tree with
different colors. E.g. "blue" for devel-soource, brown for maint-soruce
etc..
Btw, I do not understand what you wanna say with:
<<<
but closing one project does not hide the files opened while working
with that project.
<<<
If you close a project, every source / editor in this project is closed.
If not, file a bug to eclipse!
Regards, Norbert
Am 17.02.2011 14:08, schrieb Jan Sindberg:
> While working on one or more new branches, I also have to be able to
> bugfix existing products.
>
> I would like to be able to switch between these tasks, and have Eclipse
> view files for the task at focus, while hiding those belonging to
> another branch (It is not fun when you by accident make corrections in
> the right file at the wrong branch :( )
> I have tried creating different projects, but closing one project does
> not hide the files opened while working with that project. Also opening
> a new project does not hide files from other projects.
>
> Is there a better way than creating multiple workspaces and changing
> workspace? Or is that the purpose of workspace?
>
> There must be some documentation on best practices for this, I just
> haven't found it ?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08026 seconds