File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes How To Synchronize a workspace in eclipse with 2 SVN repositories Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "How To Synchronize a workspace in eclipse with 2 SVN repositories" Watch "How To Synchronize a workspace in eclipse with 2 SVN repositories" New topic
Author

How To Synchronize a workspace in eclipse with 2 SVN repositories

Akash Singla
Greenhorn

Joined: Jul 22, 2009
Posts: 27
Hi,

We are developing an application and we have a 2 teams (say X and Y) that are at different places.
Both these teams have 5 member each.
Both Teams do not work at the same time, if X team works for 9 hrs at Place A, Y team works at Place B for next 9 hrs.

Currently we are using a Visual SVN server on one of our local machine at Place A and all the team members of X team use it to sync their workspace using the Eclipse Plugin for SVN. This works fine. At the end of the day, we send the war file to Team Y at Place B. They again have the same setup and the same process.

This is becoming a trouble for us to keep the application in sync.
One of my frnd told me to use online SVN. I tried one at unfuddle.com. But I have few problems with it:

Ours is a big applicationa nd we dont have a very fast internet connection. We are looking for a solution such that all the team members of a particular place use the Local Visual SVN server to commit, update the workspace and then at the end of day, someone at Place A sync this workspace with the online workspace. Now one person at Place B can get latest code from online workspace and then the team members at location B can use it at their local server.

The problem i m facing is that I dont know how to compare a workspace with a different repository in eclipse.

Any help will be appreciated.

Please excuse me for such a long mail

TIA

David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

That strikes me as being very error-prone. Are you sure you can't just use the same repository?
Akash Singla
Greenhorn

Joined: Jul 22, 2009
Posts: 27
David Newton wrote:That strikes me as being very error-prone. Are you sure you can't just use the same repository?


HiDavid, As I have told we have a slow internet connection. And as the update/commits are frequent in the reposittory, SO it won't be possible for our developers to do it efficientely with the online SVN. Thats why we are maintaining a local SVN.
But to keep the development work in sync with the other team we need an online SVN as well,

I am not sure if there is a solution for what I have asked.....but is there a better way to do this???
Thanks
Akash
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

You could use a different version control system, one that doesn't use a central server in the same way; Git comes to mind.


[Jess in Action][AskingGoodQuestions]
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Yep; you definitely need a distributed source control system.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

Ernest Friedman-Hill wrote:You could use a different version control system, one that doesn't use a central server in the same way; Git comes to mind.


Quite so. In fact, I think that Git was specifically designed for this sort of stuff, even including slow data links. If I haven't got my wires crossed, Git supports the ability to have local Subversion repositories that run disconnected but can be synced-up through a Git repository. Which is a really neat feature if you're developing while on the road.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How To Synchronize a workspace in eclipse with 2 SVN repositories