Sync between laptop and PC for eclipse projects
I work on eclipse IDE mainly for php and java. I own a PC and a laptop both of which I need to use for coding. Now how do i sync code ad resources between two instances of eclipse between these two I think SVN and git are overkill for this. I own a portable U开发者_运维问答SB drive. Is there some nice way to sync these two seamlessly?
Btw I dont need a dynamic sync. I wont be working on both simultaneously. Ill probably work on my comp. Them sync it with laptop and continue working there when im out and then sync with pc when im back..
Actually, source control might be a pretty good solution here.
In particular, using a distributed source control like git or Mercurial could be a pretty good route, because they both don't require setting up a Subversion server (one can create a repo right from Eclipse! -- see below regarding plugins), and merging between repositories are very easy.
To make matters easier, that there are plugins available for Eclipse which integrates with git (e.g. EGit) and Mercurial (e.g. MercurialEclipse). Both are easily installable using the Eclipse Marketplace feature in Eclipse Helios (3.6).
If you're not using source control, might as well make this an opportunity to start using one! :)
If you really don't want to use source control (which is useful, I use mercurial), try DropBox, or Windows Live Mesh. Both can sync over LAN without an internet connection, AFAIK. (Definitely DropBox, anyway)
Both are free.
(P.S. if you're interested in checking out DropBox, use this link, and we'll both get extra free storage space https://www.dropbox.com/referrals/NTkxNzM4MjU5?src=global0)
I dont think that using SVN in your case is an overkill. You can setup either laptop or desktop as SVN server and both instances of eclipse as SVN clients. Besides sync you will get added benefits of having change log, ability to roll back and all other bells and whistles of a source code repository.
精彩评论