Convention for branched svn projects?

Let's say I have      /trunk/MyApp   and /branches/MyApp/VERSION_1
should I have a seperate IDEA project for each to be safe? I know there have been some issues re: IDEA's switch interface (http://www.jetbrains.net/devnet/thread/269706)
so I am wondering if people are just using separate idea projects (or modules)  to hande each location.

3 comments
Comment actions Permalink

Let's say I have /trunk/MyApp and /branches/MyApp/VERSION_1


You better should have /MyApp/trunk and /MyApp/branches/VERSION_1.

Tom

0
Comment actions Permalink

Yes, from past discussions I'd say that most people simple check out the
branch to a different directory. If you have *.ipr and *.iml in version
control too, then you can simply open the branched project from the new
location.
I have never experienced any problems this way.

OTOH there had been a couple of issues when you simply switch your project.
I don't know, though, which of those issues are still unresolved.

To be safe, I'd say, do a separate checkout.

Vincent Storm wrote:

Let's say I have /trunk/MyApp and /branches/MyApp/VERSION_1
should I have a seperate IDEA project for each to be safe? I know there have been some issues re: IDEA's switch interface (http://www.jetbrains.net/devnet/thread/269706)
so I am wondering if people are just using separate idea projects (or modules) to hande each location.

---
Original message URL: http://www.jetbrains.net/devnet/message/5229641#5229641

0
Comment actions Permalink

I have a seperate project for trunk and any branches I work on. I put the .ipr and .iml files under source control and you can open the branches from those.

The switch command is actually an update command so you can get conflicts.

0

Please sign in to leave a comment.