views:

57

answers:

2

I'm using my Dropbox folder to store my Eclipse workspace in (instant back ups) but want to develop on both Linux and Windows. (I think) the workspace file stores the location of the Android SDK which is different on both machines /home/android... and c:\android.

Is there any way of developing on Windows one minute and Linux the next? (the issue is the directory of the Android SDk.

thanks

+4  A: 

Hi,

The best solution is source version control, checkout a comparison table on Wikipedia.

ognian
Aye, this is the best, most hassle-free way to go. I use Windows and Linux simultaneously on different PCs and it works perfectly.
Dave
I use both :-) I have Dropbox for sharing accross multiple computers and instant backup, and Mercurial-repositories for version control. I prefer it that way, because I'm not forced to make a commit just because I switch computers.
pableu
You can have a working branch that you commit before every workstation switch, and merge to trunk when it makes sense. Also, I would prefer rsync over Dropbox
ognian
+1  A: 

I use Dropbox for this two, I switch between Windows, Mac and Linux. This is how I do it:

  1. Put the Windows version in the Dropbox
  2. Create a new Android Project with the same name in Linux somewhere other than Dropbox
  3. Delete the assets, res and src folders and replace them with softlinks to the ones in Dropbox

This way each OS has it's own project files, but anytime you update a resource or code file it will update on all OS's.

CaseyB