开发者

Running two projects (trunk & branch) at the same time in Eclipse

I was wondering if it's possible to run two projects at the same time in Eclipse, for example by using two different instances of JVM (if that makes any sense).

A bit of the background: I have a project that executes relatively long experiments (6-8h). I have recently managed to come to a point in development where I could branch of开发者_Go百科f to develop different strategies for improving/adding code to the project. However at the same time I need to get some experiments done, and as the experiments take a long while to finish I'd like to make use of the long waiting time, and work on the branch code.

In short my ideal scenario is: start an experiment on the trunk in Eclipse, switch to the branch and develop code/run shorter experiments on the branch when I need to test functionality. Is this possible, or do I need to come up with an alternative strategy?

Thanks in advance!

EDIT: I have realized that the the word choice "test" was misleading as it could be misunderstood. I mean executing the program as it's supposed to run, not testing with JUnit or anything like that. I apologize for the inconvenience.


I just check out different branches as different projects. MyProjectTrunk, MyProjectBranch1, MyProjectBranch2 etc. No problem. The projects will never run on on the same JVM if you're using Run as Application.


Of course it is possible - you just need to have them configured as two separate projects with separate run configurations for each of them.

Unfortunately as far as I remember when you close a project all the associated running tasks (svn commits, debugs, runs, etc.) shut down as well and having two separate branches of the same project open in the same time might get very confusing when using keyboard shortcuts for class browsing.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜