IDEA SVN integration and branches

Hi,
Could anyone suggest usage of subj in case of multiple branches parallel development. Is it possible without separate working copies?

Thanks,
Dmitry

5 comments

Hello Dmitry,

DK> Could anyone suggest usage of subj in case of multiple branches
DK> parallel development. Is it possible without separate working
DK> copies?

Why do you want to avoid multiple working copies? Having different branches
of the code checked out to different directories in the local filesystem
is the expected way to use branches, and that's what we use for IDEA itself.
Every branch has a separate .ipr file, and we can keep the project files
from different branches open at the same time if necessary.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0

Why do you want to avoid multiple working copies? Having different
branches of the code checked out to different directories in the local
filesystem is the expected way to use branches, and that's what we use
for IDEA itself. Every branch has a separate .ipr file, and we can keep
the project files from different branches open at the same time if
necessary.

Could you please detail how you do that?
In case of pure java modules it might be simpler.
But how do you do it for webapplications?
Do you use different projects or the same project, just different modules?

AFAIK if it's the same project all the modules use the same JDK so it's not
possible to have an older branch with an older JDK.

Thanks in advance,

Ahmed.

0

Hello Ahmed,

>> Why do you want to avoid multiple working copies? Having different
>> branches of the code checked out to different directories in the
>> local filesystem is the expected way to use branches, and that's what
>> we use for IDEA itself. Every branch has a separate .ipr file, and we
>> can keep the project files from different branches open at the same
>> time if necessary.
>>
AM> Could you please detail how you do that?
AM> In case of pure java modules it might be simpler.
AM> But how do you do it for webapplications?
AM> Do you use different projects or the same project, just different
AM> modules?

Obviously IDEA is not a Web application, and we don't have any internal experience
developing Web apps with SVN and multiple branches. For IDEA, we use completely
separate projects (the .ipr file is branched to multiple locations together
with the source code).

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0

Thanks Dmitry your info very helpful.
I was confused by 'switch' command which as I understand correctly allow share same working copy but in reality it is not very convenient as for me.

0

The svn switch command is basically like a limited form of the cvs update command used to change the contents of your working directory to a different repo location, i.e. branch or tag.

In theory, you could switch part of a working copy to another branch and it should just work, but that would be rather confusing.

0

Please sign in to leave a comment.